SWDEV-1 - skip OCLMemoryInfo test for APUs
Change-Id: I5afc244f68115a538eb3d989c3aa119e0f279deb
[ROCm/clr commit: 0558a8cd8a]
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user