mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Delete read_array_half and write_array_half tests (#2212)
These tests are broken, have been disabled for the longest time, and don't add significant value. Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -322,45 +322,6 @@ const char *stream_read_float_kernel_code[] = {
|
||||
const char *float_kernel_name[] = { "test_stream_read_float", "test_stream_read_float2", "test_stream_read_float4", "test_stream_read_float8", "test_stream_read_float16" };
|
||||
|
||||
|
||||
const char *stream_read_half_kernel_code[] = {
|
||||
"__kernel void test_stream_read_half(__global half *dst)\n"
|
||||
"{\n"
|
||||
" int tid = get_global_id(0);\n"
|
||||
"\n"
|
||||
" dst[tid] = (half)119;\n"
|
||||
"}\n",
|
||||
|
||||
"__kernel void test_stream_read_half2(__global half2 *dst)\n"
|
||||
"{\n"
|
||||
" int tid = get_global_id(0);\n"
|
||||
"\n"
|
||||
" dst[tid] = (half)119;\n"
|
||||
"}\n",
|
||||
|
||||
"__kernel void test_stream_read_half4(__global half4 *dst)\n"
|
||||
"{\n"
|
||||
" int tid = get_global_id(0);\n"
|
||||
"\n"
|
||||
" dst[tid] = (half)119;\n"
|
||||
"}\n",
|
||||
|
||||
"__kernel void test_stream_read_half8(__global half8 *dst)\n"
|
||||
"{\n"
|
||||
" int tid = get_global_id(0);\n"
|
||||
"\n"
|
||||
" dst[tid] = (half)119;\n"
|
||||
"}\n",
|
||||
|
||||
"__kernel void test_stream_read_half16(__global half16 *dst)\n"
|
||||
"{\n"
|
||||
" int tid = get_global_id(0);\n"
|
||||
"\n"
|
||||
" dst[tid] = (half)119;\n"
|
||||
"}\n" };
|
||||
|
||||
const char *half_kernel_name[] = { "test_stream_read_half", "test_stream_read_half2", "test_stream_read_half4", "test_stream_read_half8", "test_stream_read_half16" };
|
||||
|
||||
|
||||
const char *stream_read_char_kernel_code[] = {
|
||||
"__kernel void test_stream_read_char(__global char *dst)\n"
|
||||
"{\n"
|
||||
@@ -555,20 +516,6 @@ static int verify_read_float( void *ptr, int n )
|
||||
}
|
||||
|
||||
|
||||
static int verify_read_half( void *ptr, int n )
|
||||
{
|
||||
int i;
|
||||
float *outptr = (float *)ptr;
|
||||
|
||||
for( i = 0; i < n / 2; i++ ){
|
||||
if( outptr[i] != TEST_PRIME_HALF )
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static int verify_read_char(void *ptr, int n)
|
||||
{
|
||||
int i;
|
||||
@@ -840,16 +787,6 @@ REGISTER_TEST(read_array_float)
|
||||
}
|
||||
|
||||
|
||||
REGISTER_TEST(read_array_half)
|
||||
{
|
||||
int (*foo)(void *,int);
|
||||
foo = verify_read_half;
|
||||
|
||||
return test_stream_read( device, context, queue, num_elements, sizeof( cl_half ), "half", 5,
|
||||
stream_read_half_kernel_code, half_kernel_name, foo );
|
||||
}
|
||||
|
||||
|
||||
REGISTER_TEST(read_array_char)
|
||||
{
|
||||
int (*foo)(void *,int);
|
||||
|
||||
Reference in New Issue
Block a user