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

이 커밋은 다음에 포함됨:
Brzak, Branislav
2025-04-08 18:54:05 +02:00
커밋한 사람 GitHub
부모 9e7248aa36
커밋 b006380ff6
2개의 변경된 파일과 4개의 추가작업 그리고 4개의 파일을 삭제
+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);
}