mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-26 08:49:02 +00:00
Review fixes
This commit is contained in:
committed by
Alastair Murray
parent
9e468747aa
commit
113788517c
@@ -377,9 +377,11 @@ bool TestRunner::runBuildTest(cl_device_id device, const char *folder,
|
||||
}
|
||||
|
||||
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) {
|
||||
(*m_successHandler)(test_name, "");
|
||||
std::cout << "Skipped. (Cannot run on device due to missing CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT property.)" << std::endl;
|
||||
return true;
|
||||
else {
|
||||
} else {
|
||||
bcoptions += " -cl-fp32-correctly-rounded-divide-sqrt";
|
||||
cloptions += " -cl-fp32-correctly-rounded-divide-sqrt";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user