I'm sorry to bother the list, but I can't seem to generate
appropriately typed arguments for the memset_d32 function
my current attempt looks like :
array=pycuda.driver.mem_alloc(bytes)
pycuda.driver.memset_d32(numpy.uint32(array),numpy.uint32(0),numpy.uint32(N))
Which generates the following error :
Boost.Python.ArgumentError: Python argument types in
pycuda._driver.memset_d32(numpy.uint32, numpy.uint32, numpy.uint32)
did not match C++ signature:
memset_d32(unsigned int dest, unsigned int data, unsigned int size)
how do I cast to this particular unsigned int type ?
sincerely,
mrule.
_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net