my Pyopencl code works perfect when ran on CPU by looping on thread_id. but when ran on gpu on aws p2.xlarge ubuntu, an array who is specifically initialized with 0's returns -1 instead of 0's. this arrays is of type ctypes.c_int. is there some other datatype for c int that I should be using. thanks Aseem
_______________________________________________ PyOpenCL mailing list PyOpenCL@tiker.net https://lists.tiker.net/listinfo/pyopencl