Home
last modified time | relevance | path

Searched refs:scalar_table (Results 1 – 1 of 1) sorted by relevance

/external/OpenCL-CTS/test_conformance/basic/
Dtest_sizeof.cpp103 const size_table scalar_table[] = variable
171 for( i = 0; i < sizeof( scalar_table ) / sizeof( scalar_table[0] ); i++ ) in test_sizeof()
174 (0 == strcmp(scalar_table[i].name, "long") || in test_sizeof()
175 0 == strcmp(scalar_table[i].name, "ulong") || in test_sizeof()
176 0 == strcmp(scalar_table[i].name, "unsigned long"))) in test_sizeof()
183 err = get_type_size( context, queue, scalar_table[i].name, &test, device); in test_sizeof()
186 if( test != scalar_table[i].size ) in test_sizeof()
188 …LED: Type %s has size %lld, but expected size %lld!\n", scalar_table[i].name, test, scalar_table[i… in test_sizeof()
191 if( test != scalar_table[i].cl_size ) in test_sizeof()
193 …AILED: Type %s has size %lld, but cl_ size is %lld!\n", scalar_table[i].name, test, scalar_table[i… in test_sizeof()
[all …]