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:
julienhascoet
2020-10-02 12:22:35 +02:00
committed by GitHub
parent 81cea4775e
commit 615ab64db5

View File

@@ -506,7 +506,7 @@ int Test_vLoadHalf_private( cl_device_id device, bool aligned )
(aligned?"aligned":"unaligned"));
gFailCount++;
error = -1;
break; // goto exit;
goto exit;
}
}
}