cuda.bindings.nvml.device_get_cpu_affinity_within_scope#

cuda.bindings.nvml.device_get_cpu_affinity_within_scope(
intptr_t device,
unsigned int cpu_set_size,
unsigned int scope,
)#
:param device: The identifier of the target device.
:type device: intptr_t
:param cpu_set_size: The size of the cpuSet array that is safe to access.
:type cpu_set_size: unsigned int
:param scope: Array reference in which to return a bitmask of CPUs, 64 CPUs per unsigned long on 64-bit machines, 32 on 32-bit machines.
:type scope: unsigned int

.. seealso:: `nvmlDeviceGetCpuAffinityWithinScope`