cuda.bindings.nvml.device_get_gpu_instance_possible_placements_v2#
- cuda.bindings.nvml.device_get_gpu_instance_possible_placements_v2(
- intptr_t device,
- unsigned int profile_id,
Get GPU instance placements.
- Parameters:
device (intptr_t) – The identifier of the target device.
profile_id (unsigned int) – The GPU instance profile ID. See
nvmlDeviceGetGpuInstanceProfileInfo.
- 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:
nvmlGpuInstancePlacement_t
See also
nvmlDeviceGetGpuInstancePossiblePlacements_v2