SWDEV-531009 - Revert SWDEV-525653 - Make hipGetDeviceProperties and hipChooseDevice use th… (#381)
This reverts commit b006380ff6.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
54503f0d67
Коммит
df06b2b692
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user