SWDEV-437832 - Adding device property to check if the device is accelerator.

Change-Id: I8349e99c03422c268bbb60a8c143bd492d9cec09
This commit is contained in:
kjayapra-amd authored and Maneesh Gupta committed 2024-02-05 05:08:11 +00:00
1 parent 0a055f874b
commit b366a7c992
3 files changed
+17

No files matched your search

+2
View File
@@ -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;
}