warp.set_device_allocator#

warp.set_device_allocator(device, allocator)[source]#

Set the memory allocator for a specific CUDA device.

Pass None to restore the built-in allocator.

Parameters:
Return type:

None