Skip to main content

cuDeviceGetExecAffinitySupport

Function cuDeviceGetExecAffinitySupport 

Source
pub unsafe extern "C" fn cuDeviceGetExecAffinitySupport(
    pi: *mut c_int,
    type_: CUexecAffinityType,
    dev: CUdevice,
) -> CUresult
Expand description

Returns information about the execution affinity support of the device.

Returns in *pi whether execution affinity type type is supported by device dev. The supported types are:

Note that this function may also return error codes from previous, asynchronous launches.

§Parameters

  • pi: 1 if the execution affinity type type is supported by the device, or 0 if not.
  • type_: Execution affinity type to query.
  • dev: Device handle.

§Return value

See also: cuDeviceGetAttribute, cuDeviceGetCount, cuDeviceGetName, cuDeviceGetUuid, cuDeviceGet, cuDeviceTotalMem.