cuda.bindings.nvml.device_get_cpu_affinity#

cuda.bindings.nvml.device_get_cpu_affinity(intptr_t device, unsigned int cpu_set_size)#
:param device: The identifier of the target device.
:type device: intptr_t
:param cpu_set_size: The size of the cpu_set array that is safe to access.
:type cpu_set_size: unsigned int

:returns: Array reference in which to return a bitmask of CPUs, 64 CPUs per unsigned long on 64-bit machines, 32 on 32-bit machines.
:rtype: unsigned long

.. seealso:: `nvmlDeviceGetCpuAffinity`