mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Use common definition of UUID for Intel GPUs
This patch will eventaully allow matching UUIDs queried from NEO with UUIDs queried from other GPU APIs implementations for Intel GPUs Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
200734892b
commit
ad579be87c
@@ -295,7 +295,9 @@ cl_int ClDevice::getDeviceInfo(cl_device_info paramName,
|
||||
}
|
||||
break;
|
||||
case CL_DEVICE_UUID_KHR:
|
||||
device.generateUuid(uuid);
|
||||
if (device.getUuid(uuid) == false) {
|
||||
device.generateUuid(uuid);
|
||||
}
|
||||
src = uuid.data();
|
||||
retSize = srcSize = CL_UUID_SIZE_KHR;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user