mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-26 08:49:02 +00:00
Fix error handling for test_half (#997)
For vLoadHalf test, the error was not properly returned leading to test success whereas it failed.
This commit is contained in:
@@ -506,7 +506,7 @@ int Test_vLoadHalf_private( cl_device_id device, bool aligned )
|
|||||||
(aligned?"aligned":"unaligned"));
|
(aligned?"aligned":"unaligned"));
|
||||||
gFailCount++;
|
gFailCount++;
|
||||||
error = -1;
|
error = -1;
|
||||||
break; // goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user