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

[ROCm/clr commit: b006380ff6]
이 커밋은 다음에 포함됨:
Brzak, Branislav 작성하고 GitHub가 2025-04-08 18:54:05 +02:00를 커밋함
1 부모 2f3bc7f01c
커밋 d4275741ba
2 파일이 변경됨
+4 -4

검색과 일치하는 파일 없음

+2 -2
파일 보기
@@ -800,6 +800,6 @@ hipError_t hipGetProcAddress(const char* symbol, void** pfn, int hipVersion, uin
} // namespace hip
extern "C" hipError_t hipGetDeviceProperties(hipDeviceProp_tR0000* props, hipDevice_t device) {
return hip::hipGetDevicePropertiesR0000(props, device);
extern "C" hipError_t hipGetDeviceProperties(hipDeviceProp_tR0600* props, hipDevice_t device) {
return hip::hipGetDevicePropertiesR0600(props, device);
}
+2 -2
파일 보기
@@ -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);
}