tvm_tirx.backend.cuda.runtime.locality_domain.is_localization_supported#
- tvm_tirx.backend.cuda.runtime.locality_domain.is_localization_supported(device=0)#
Return whether memory can be localized on a CUDA device.
True when the CUDA driver supports locality domains and the device has two or more of them.
- Parameters:
device (tvm_tirx.runtime.Device or int) – A CUDA device, e.g.
tvm_tirx.cuda(0), or its device id.- Return type: