SWDEV-437832 - Adding device property to check if the device is accelerator.
Change-Id: I8349e99c03422c268bbb60a8c143bd492d9cec09
이 커밋은 다음에 포함됨:
1 부모
0a055f874b
커밋
b366a7c992
3 파일이 변경됨
+17
검색과 일치하는 파일 없음
@@ -463,6 +463,8 @@ hipError_t ihipGetDeviceProperties(hipDeviceProp_tR0600* props, int device) {
|
||||
deviceProps.timelineSemaphoreInteropSupported = 0;
|
||||
deviceProps.unifiedFunctionPointers = 0;
|
||||
|
||||
deviceProps.integrated = info.accelerator_;
|
||||
|
||||
*props = deviceProps;
|
||||
return hipSuccess;
|
||||
}
|
||||
|
||||
새 이슈에서 참조
사용자 차단