Daisuke Nishino <[email protected]> writes: > Hi, all*. > > *I have a problem using pagelocked memory. > I allocated one with pagelocked_xxx or PageLockedMemoryPool, but how can I > pass it into a kernel? > I put a simple code below. > What should "aa" be? > > aa = pycuda.driver.Out(a) works just fine, but I guess it involves a copy.
http://documen.tician.de/pycuda/driver.html#pycuda.driver.host_alloc_flags.DEVICEMAP http://documen.tician.de/pycuda/driver.html#pycuda.driver.HostPointer.get_device_pointer Andreas _______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
