Dear Eric, Eric Scheffel <eric.schef...@nottingham.edu.cn> writes: > Thanks for this. On a somewhat unrelated issue... I am currently > porting some Pycuda code to Pyopencl. I like the global file scope if > the "__device__ __constant__" memory construct which can be accessed > using the "get_global" method. I have been facing a hard time finding > the exact equivalent of this in pyopencl?
(please make sure the appropriate list stays CC'd) As far as I know, this exists on a per-kernel (but not per-file) level. I.e. you can pass a constant argument that's defined by data from the host. Once SVM is widely implemented, this restriction will no longer exist. Andreas _______________________________________________ PyOpenCL mailing list PyOpenCL@tiker.net https://lists.tiker.net/listinfo/pyopencl