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

Change-Id: I8349e99c03422c268bbb60a8c143bd492d9cec09
This commit is contained in:
kjayapra-amd
2023-12-15 10:40:18 -05:00
committed by Maneesh Gupta
vanhempi 0a055f874b
commit b366a7c992
3 muutettua tiedostoa jossa 17 lisäystä ja 0 poistoa
+2
Näytä tiedosto
@@ -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;
}