cuda.bindings.nvml.gpu_instance_get_compute_instance_possible_placements#
- cuda.bindings.nvml.gpu_instance_get_compute_instance_possible_placements(
- intptr_t gpu_instance,
- unsigned int profile_id,
Get compute instance placements.
- 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 placements allowed for the profile. Can be NULL to discover number of allowed placements for this profile. If non-NULL must be large enough to accommodate the placements supported by the profile.
- Return type:
nvmlComputeInstancePlacement_t
See also
nvmlGpuInstanceGetComputeInstancePossiblePlacements