Hi,

I would like to ensure that host memory pointers are aligned on a
particular boundary to ensure good cache use (say by using the device query
MEM_BASE_ADDR_ALIGN to get best alignment for a device)
Is there a way to specify that? Since numpy is used to define the array,
for e.g. a = numpy.random.rand(50000).astype(numpy.float32) I don't really
have control over how the allocation is done. Is there pre-set alignment?
If yes, what is it?

Thanks!
_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to