I've already posted this to stackoverflow, but then remembered that this
mailing list exists, so apologies if any of you have read it twice already.
I'm moving a simulation into pyOpenCL and can't get my data access to work.
I'm trying to supply a 1D array of vectors (well, actually several arrays,
but the example I've included just uses one).
Currently, the first few vectors are copied over just fine, but then the
data is simply not what I supplied.
I don't think I've posted here before, so apologies if any of the
formatting/presentation is wrong. Also, I've just stripped out all the
simulation code, so I realise this code is currently not actually doing
anything, I just want to get the buffer passing correct.
Thanks in advance.
I've attached the kernel and the file that I'm calling it with.
Show replies by date