arrayfire.cuda moduleΒΆ
Functions specific to CUDA backend.
This module provides interoperability with other CUDA libraries.
-
arrayfire.cuda.
get_native_id
(idx)[source]ΒΆ Get native (unsorted) CUDA device ID
- Parameters
- idxint.
Specifies the (sorted) index of the device.
- Returns
- native_idxinteger denoting the native cuda id.