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

This reverts commit b006380ff6.
Šī revīzija ir iekļauta:
Arandjelovic, Marko authored and GitHub committed 2025-05-29 13:02:45 +05:30
1 vecāks 54503f0d67
revīzija df06b2b692
2 files changed
+4 -4

No files matched your search

+2 -2
Parādīt failu
@@ -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
Parādīt failu
@@ -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);
}