SWDEV-531009 - Revert SWDEV-525653 - Make hipGetDeviceProperties and hipChooseDevice use th… (#381)
This reverts commitd4275741ba. [ROCm/clr commit:df06b2b692]
이 커밋은 다음에 포함됨:
1 부모
dd3eaa86ff
커밋
15b839954e
2 파일이 변경됨
+4
-4
검색과 일치하는 파일 없음
@@ -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);
|
||||
}
|
||||
새 이슈에서 참조
사용자 차단