From 0558a8cd8af8ae9d93f4e47359578b573bce7c14 Mon Sep 17 00:00:00 2001 From: Todd tiantuo Li Date: Thu, 9 Jan 2025 22:48:59 -0800 Subject: [PATCH] SWDEV-1 - skip OCLMemoryInfo test for APUs Change-Id: I5afc244f68115a538eb3d989c3aa119e0f279deb --- opencl/tests/ocltst/module/runtime/OCLMemoryInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencl/tests/ocltst/module/runtime/OCLMemoryInfo.cpp b/opencl/tests/ocltst/module/runtime/OCLMemoryInfo.cpp index 6bf523fe0d..fafdaf7ead 100644 --- a/opencl/tests/ocltst/module/runtime/OCLMemoryInfo.cpp +++ b/opencl/tests/ocltst/module/runtime/OCLMemoryInfo.cpp @@ -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;