There was a problem hiding this comment.
Thanks for debugging this and submitting the changes. Could you please rename the variable to kDim instead of _af_dim. I want to avoid making a variable name starting with an underscore which is usually reserved for system headers and compilers. Otherwise this looks good although this is will most likely break in the future because this is a bug that is only a problem in one platform. I think it would be better to to have some sort of assert in the header which will cause this to fail in any platform. I guess we can handle that in another PR.
Sorry, something went wrong.
|
I have renamed to kDim which looks like working on Mesa AMD Clover |
Sorry, something went wrong.
| options << " -D To=" << dtype_traits<To>::getName() | ||
| << " -D Ti=" << dtype_traits<Ti>::getName() | ||
| << " -D dim=" << dim; | ||
| << " -D kDim=" << dim; |
There was a problem hiding this comment.
join.cl OpenCL kernel doesn't use this one at all. I wonder why it's being passed to this at all.
Sorry, something went wrong.
This is related to #2800