mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 00:09:02 +00:00
build break fix for bug 15266 "Add test for -cl-fp32-correctly-rounded-divide-sqrt to spir subtest."
This commit is contained in:
committed by
Alastair Murray
parent
490561d249
commit
a3576382e5
@@ -378,7 +378,7 @@ bool TestRunner::runBuildTest(cl_device_id device, const char *folder,
|
|||||||
|
|
||||||
if (strstr(test_name, "div_cr") || strstr(test_name, "sqrt_cr")) {
|
if (strstr(test_name, "div_cr") || strstr(test_name, "sqrt_cr")) {
|
||||||
if ((gFloatCapabilities & CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT) == 0)
|
if ((gFloatCapabilities & CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT) == 0)
|
||||||
return;
|
return true;
|
||||||
else {
|
else {
|
||||||
bcoptions += " -cl-fp32-correctly-rounded-divide-sqrt";
|
bcoptions += " -cl-fp32-correctly-rounded-divide-sqrt";
|
||||||
cloptions += " -cl-fp32-correctly-rounded-divide-sqrt";
|
cloptions += " -cl-fp32-correctly-rounded-divide-sqrt";
|
||||||
|
|||||||
Reference in New Issue
Block a user