Daisuke Nishino <[email protected]> writes:

> Andreas,
> Thank you for your reply.
>
> When I add mem_flags=pycuda.driver.host_alloc_flags.DEVICEMAP in
> pagelocked_empty(),
> it results in error:
> pycuda._driver.LogicError: cuMemHostAlloc failed: invalid value
>
> Does this mean my card doesn't support this functionality?
> I'm not sure if it is relevant, but CAN_MAP_HOST_MEMORY entry in
> pycuda.driver.Context.get_driver().get_attributes() is 1.

http://documen.tician.de/pycuda/driver.html#pycuda.driver.ctx_flags.MAP_HOST

Andreas


_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to