SWDEV-531009 - Revert SWDEV-525653 - Make hipGetDeviceProperties and hipChooseDevice use th… (#381)

This reverts commit b006380ff6.
Этот коммит содержится в:
Arandjelovic, Marko
2025-05-29 09:32:45 +02:00
коммит произвёл GitHub
родитель 54503f0d67
Коммит df06b2b692
2 изменённых файлов: 4 добавлений и 4 удалений
+2 -2
Просмотреть файл
@@ -803,6 +803,6 @@ hipError_t hipGetProcAddress(const char* symbol, void** pfn, int hipVersion, uin
} // namespace hip
extern "C" hipError_t hipGetDeviceProperties(hipDeviceProp_tR0600* props, hipDevice_t device) {
return hip::hipGetDevicePropertiesR0600(props, device);
extern "C" hipError_t hipGetDeviceProperties(hipDeviceProp_tR0000* props, hipDevice_t device) {
return hip::hipGetDevicePropertiesR0000(props, device);
}
+2 -2
Просмотреть файл
@@ -785,6 +785,6 @@ hipError_t hipSetValidDevices(int* device_arr, int len) {
}
} //namespace hip
extern "C" hipError_t hipChooseDevice(int* device, const hipDeviceProp_tR0600* properties) {
return hip::hipChooseDeviceR0600(device, properties);
extern "C" hipError_t hipChooseDevice(int* device, const hipDeviceProp_tR0000* properties) {
return hip::hipChooseDeviceR0000(device, properties);
}