SWDEV-525653 - Make hipGetDeviceProperties and hipChooseDevice use the new API (#159)

[ROCm/clr commit: b006380ff6]
This commit is contained in:
Brzak, Branislav
2025-04-08 18:54:05 +02:00
committed by GitHub
parent 2f3bc7f01c
commit d4275741ba
2 changed files with 4 additions and 4 deletions
@@ -759,6 +759,6 @@ hipError_t hipSetValidDevices(int* device_arr, int len) {
}
} //namespace hip
extern "C" hipError_t hipChooseDevice(int* device, const hipDeviceProp_tR0000* properties) {
return hip::hipChooseDeviceR0000(device, properties);
extern "C" hipError_t hipChooseDevice(int* device, const hipDeviceProp_tR0600* properties) {
return hip::hipChooseDeviceR0600(device, properties);
}