SWDEV-525653 - Make hipGetDeviceProperties and hipChooseDevice use the new API (#159)
[ROCm/clr commit: b006380ff6]
このコミットが含まれているのは:
1 親
2f3bc7f01c
コミット
d4275741ba
2ファイル変更
+4
-4
検索条件に一致するファイルはありません
@@ -800,6 +800,6 @@ hipError_t hipGetProcAddress(const char* symbol, void** pfn, int hipVersion, uin
|
|||||||
|
|
||||||
} // namespace hip
|
} // namespace hip
|
||||||
|
|
||||||
extern "C" hipError_t hipGetDeviceProperties(hipDeviceProp_tR0000* props, hipDevice_t device) {
|
extern "C" hipError_t hipGetDeviceProperties(hipDeviceProp_tR0600* props, hipDevice_t device) {
|
||||||
return hip::hipGetDevicePropertiesR0000(props, device);
|
return hip::hipGetDevicePropertiesR0600(props, device);
|
||||||
}
|
}
|
||||||
@@ -759,6 +759,6 @@ hipError_t hipSetValidDevices(int* device_arr, int len) {
|
|||||||
}
|
}
|
||||||
} //namespace hip
|
} //namespace hip
|
||||||
|
|
||||||
extern "C" hipError_t hipChooseDevice(int* device, const hipDeviceProp_tR0000* properties) {
|
extern "C" hipError_t hipChooseDevice(int* device, const hipDeviceProp_tR0600* properties) {
|
||||||
return hip::hipChooseDeviceR0000(device, properties);
|
return hip::hipChooseDeviceR0600(device, properties);
|
||||||
}
|
}
|
||||||
新しいイシューから参照
ユーザーをブロックする