mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix printf vector for RTZ devices (#2459)
The failure is :
7)testing printf("%.1v4hla",(0.25f,0.5f,1.f,1.5f))
verifyOutputBuffer failed with kernel:
__kernel void test14(void)
{
float4 tmp = (float4)(0.25f,0.5f,1.f,1.5f); printf("%.1v4hla\n",tmp);}
expected: 0x1p-2,0x1p-1,0x1p+0,0x1.8p+0
got: 0x1.0p-2,0x1.0p-1,0x1.0p+0,0x1.8p+0
%.1 requires 1 decimal.
This commit is contained in:
@@ -1352,7 +1352,7 @@ std::vector<std::string> correctBufferVectorRTZ = {
|
|||||||
|
|
||||||
"1.23e+03,9.87e+05,4.99e-04",
|
"1.23e+03,9.87e+05,4.99e-04",
|
||||||
|
|
||||||
"0x1p-2,0x1p-1,0x1p+0,0x1.8p+0",
|
"0x1.0p-2,0x1.0p-1,0x1.0p+0,0x1.8p+0",
|
||||||
|
|
||||||
"1,2,3,4,1.5,3.13999,2.5,3.5",
|
"1,2,3,4,1.5,3.13999,2.5,3.5",
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user