SWDEV-545947 - Add Nvidia mapping for hipSetValidDevices (#29)

[ROCm/hipother commit: 98ef2f64b5]
This commit is contained in:
Dittakavi, Satyanvesh
2025-08-12 16:30:30 +05:30
gecommit door GitHub
bovenliggende e87848cdc7
commit 526b46e9ba
@@ -2097,6 +2097,10 @@ inline static hipError_t hipSetDevice(int device) {
return hipCUDAErrorTohipError(cudaSetDevice(device));
}
inline static hipError_t hipSetValidDevices(int* device_arr, int len) {
return hipCUDAErrorTohipError(cudaSetValidDevices(device_arr, len));
}
inline static hipError_t hipChooseDevice(int* device, const hipDeviceProp_t* prop) {
if (prop == NULL) {