mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 08:19:02 +00:00
Remove redundant prints from half (#424)
The test harness already prints if the test passed, no need to duplicate this information. Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
This commit is contained in:
committed by
Kévin Petit
parent
03650057bb
commit
42cc707131
@@ -33,10 +33,6 @@ int test_roundTrip( cl_device_id device, cl_context context, cl_command_queue qu
|
|||||||
memset( min_time, -1, sizeof( min_time ) );
|
memset( min_time, -1, sizeof( min_time ) );
|
||||||
memset( min_double_time, -1, sizeof( min_double_time ) );
|
memset( min_double_time, -1, sizeof( min_double_time ) );
|
||||||
|
|
||||||
vlog( "Testing roundTrip\n" );
|
|
||||||
fflush( stdout );
|
|
||||||
|
|
||||||
|
|
||||||
for( vectorSize = kMinVectorSize; vectorSize < kLastVectorSizeToTest; vectorSize++)
|
for( vectorSize = kMinVectorSize; vectorSize < kLastVectorSizeToTest; vectorSize++)
|
||||||
{
|
{
|
||||||
const char *source[] = {
|
const char *source[] = {
|
||||||
@@ -300,7 +296,7 @@ int test_roundTrip( cl_device_id device, cl_context context, cl_command_queue qu
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vlog( "\tPassed\n" );
|
vlog( "\n" );
|
||||||
|
|
||||||
loopCount = 100;
|
loopCount = 100;
|
||||||
if( gReportTimes )
|
if( gReportTimes )
|
||||||
|
|||||||
@@ -73,8 +73,6 @@ int Test_vLoadHalf_private( cl_device_id device, bool aligned )
|
|||||||
|
|
||||||
memset( min_time, -1, sizeof( min_time ) );
|
memset( min_time, -1, sizeof( min_time ) );
|
||||||
|
|
||||||
vlog( "Testing vload%s_half\n", aligned ? "a" : "" );
|
|
||||||
fflush( stdout );
|
|
||||||
const char *vector_size_names[] = {"1", "2", "4", "8", "16", "3"};
|
const char *vector_size_names[] = {"1", "2", "4", "8", "16", "3"};
|
||||||
|
|
||||||
int minVectorSize = kMinVectorSize;
|
int minVectorSize = kMinVectorSize;
|
||||||
@@ -590,7 +588,7 @@ int Test_vLoadHalf_private( cl_device_id device, bool aligned )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vlog( "\tPassed\n" );
|
vlog( "\n" );
|
||||||
|
|
||||||
if( gReportTimes )
|
if( gReportTimes )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -695,9 +695,6 @@ int Test_vStoreHalf_private( cl_device_id device, f2h referenceFunc, d2h doubleR
|
|||||||
uint64_t min_double_time[kVectorSizeCount+kStrangeVectorSizeCount] = {0};
|
uint64_t min_double_time[kVectorSizeCount+kStrangeVectorSizeCount] = {0};
|
||||||
memset( min_double_time, -1, sizeof( min_double_time ) );
|
memset( min_double_time, -1, sizeof( min_double_time ) );
|
||||||
|
|
||||||
vlog( "Testing vstore_half%s\n", roundName );
|
|
||||||
fflush( stdout );
|
|
||||||
|
|
||||||
bool aligned= false;
|
bool aligned= false;
|
||||||
|
|
||||||
for( vectorSize = kMinVectorSize; vectorSize < kLastVectorSizeToTest; vectorSize++)
|
for( vectorSize = kMinVectorSize; vectorSize < kLastVectorSizeToTest; vectorSize++)
|
||||||
@@ -1288,22 +1285,6 @@ int Test_vStoreHalf_private( cl_device_id device, f2h referenceFunc, d2h doubleR
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( 0 == gFailCount )
|
|
||||||
{
|
|
||||||
if( gWimpyMode )
|
|
||||||
{
|
|
||||||
vlog( "\tfloat: Wimp Passed\n" );
|
|
||||||
if( gTestDouble )
|
|
||||||
vlog( "\tdouble: Wimp Passed\n" );
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
vlog( "\tfloat Passed\n" );
|
|
||||||
if( gTestDouble )
|
|
||||||
vlog( "\tdouble Passed\n" );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if( gReportTimes )
|
if( gReportTimes )
|
||||||
{
|
{
|
||||||
for( vectorSize = kMinVectorSize; vectorSize < kLastVectorSizeToTest; vectorSize++)
|
for( vectorSize = kMinVectorSize; vectorSize < kLastVectorSizeToTest; vectorSize++)
|
||||||
@@ -1358,9 +1339,6 @@ int Test_vStoreaHalf_private( cl_device_id device, f2h referenceFunc, d2h double
|
|||||||
|
|
||||||
bool aligned = true;
|
bool aligned = true;
|
||||||
|
|
||||||
vlog( "Testing vstorea_half%s\n", roundName );
|
|
||||||
fflush( stdout );
|
|
||||||
|
|
||||||
int minVectorSize = kMinVectorSize;
|
int minVectorSize = kMinVectorSize;
|
||||||
// There is no aligned scalar vstorea_half
|
// There is no aligned scalar vstorea_half
|
||||||
if( 0 == minVectorSize )
|
if( 0 == minVectorSize )
|
||||||
@@ -1893,20 +1871,6 @@ int Test_vStoreaHalf_private( cl_device_id device, f2h referenceFunc, d2h double
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( gWimpyMode )
|
|
||||||
{
|
|
||||||
vlog( "\tfloat: Wimp Passed\n" );
|
|
||||||
|
|
||||||
if( gTestDouble )
|
|
||||||
vlog( "\tdouble: Wimp Passed\n" );
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
vlog( "\tfloat Passed\n" );
|
|
||||||
if( gTestDouble )
|
|
||||||
vlog( "\tdouble Passed\n" );
|
|
||||||
}
|
|
||||||
|
|
||||||
if( gReportTimes )
|
if( gReportTimes )
|
||||||
{
|
{
|
||||||
for( vectorSize = minVectorSize; vectorSize < kLastVectorSizeToTest; vectorSize++)
|
for( vectorSize = minVectorSize; vectorSize < kLastVectorSizeToTest; vectorSize++)
|
||||||
|
|||||||
Reference in New Issue
Block a user