cuda.bindings.nvml.gpu_instance_get_compute_instances#
- cuda.bindings.nvml.gpu_instance_get_compute_instances(
- intptr_t gpu_instance,
- unsigned int profile_id,
Get compute instances for given profile ID.
- Parameters:
gpu_instance (intptr_t) – The identifier of the target GPU instance.
profile_id (unsigned int) – The compute instance profile ID. See
nvmlGpuInstanceGetComputeInstanceProfileInfo.
- Returns:
- Returns pre-exiting compute instances, the buffer
must be large enough to accommodate the instances supported by the profile. See
nvmlGpuInstanceGetComputeInstanceProfileInfo.
- Return type:
intptr_t
See also
nvmlGpuInstanceGetComputeInstances