SWDEV-1 - skip OCLMemoryInfo test for APUs
Change-Id: I5afc244f68115a538eb3d989c3aa119e0f279deb
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;
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user