Hi, I’m currently reading TVM’s code and implementing easy TODOs to learn how TVM works.
I found this TODO which implemented would let TVM to have the correct warp size in OpenCL. After writing some code and debugging. I found that the GetAttr
function is never called. Even when an OpenCL target is created and a computation is successfully executed. (I stick a exit(0) at the very beginning of GetAttr
and the program does not exit half way trough.)
Further more, seems that kWarpSize
is not used in any function call. All appetences of it I can find are either in deceleration or in a case statement.
Here is the code that I use to test stuff: https://gist.github.com/marty1885/264097cc86646778265b48b6c0d87083
IsGetAttr
deprecated? Or am I doing something horribly wrong?