artyom-beilis / pytorch_dlprim

DLPrimitives/OpenCL out of tree backend for pytorch
http://blog.dlprimitives.org/
MIT License
227 stars 16 forks source link

variable of "or" in pooling.cl #42

Closed smilealvin92 closed 8 months ago

smilealvin92 commented 8 months ago

in some version OpenCL driver or compiler, the word of "or" is a key word of languages. So the compilation of this kernel may fail due to the variable name in pooling.cl. just change it to whatever you like, and the compilation will be smoothily

artyom-beilis commented 8 months ago

Fixed in d420ce6a609db458e81d600e7d3f0b9c1454edfb

I fixed some time ago it but forgot to update the pointer to dlprimitives backend. (i.e. submodule)