SWDEV-1 - skip OCLMemoryInfo test for APUs

Change-Id: I5afc244f68115a538eb3d989c3aa119e0f279deb


[ROCm/clr commit: 0558a8cd8a]
This commit is contained in:
Todd tiantuo Li committed 2025-02-28 13:10:40 -05:00
1 parent d0a7ae02cf
commit 4e4c2038eb
1 file changed
+1 -1
@@ -68,7 +68,7 @@ void OCLMemoryInfo::open(unsigned int test, char* units, double& conversion,
cl_bool is_apu = false;
error_ = clGetDeviceInfo(devices_[deviceId], CL_DEVICE_HOST_UNIFIED_MEMORY,
sizeof(cl_bool), &is_apu, nullptr);
if (is_apu && (test == 1)) {
if (is_apu) {
printf("Test not supported for apus, skipping...\n");
failed_ = true;
return;