Temporarily disable the test_kernel_attributes test case (#1297)

* Temporarily disable the test_kernel_attributes test case

Per OpenCL spec on CL_KERNEL_ATTRIBUTES, for kernels not created from OpenCL C
source and the clCreateProgramWithSource API call the string returned from this
query will be empty.
But in test_kernel_attributes test, it read from bc binary and expect to get
kernel attribute, which is not consistent with OpenCL spec.

* Fix clang format issue
This commit is contained in:
Feng Zou
2021-08-12 01:04:21 +08:00
committed by GitHub
parent 4759e5cae0
commit 1aa930957a

View File

@@ -6615,40 +6615,45 @@ struct sub_suite
};
static const sub_suite spir_suites[] = {
{"api", "api", test_api},
{"api_double", "api", test_api_double},
{"atomics", "atomics", test_atomics},
{"basic", "basic", test_basic},
{"basic_double", "basic", test_basic_double},
{"commonfns", "commonfns", test_commonfns},
{"commonfns_double", "commonfns", test_commonfns_double},
{"conversions", "conversions", test_conversions},
{"conversions_double", "conversions", test_conversions_double},
{"geometrics", "geometrics", test_geometrics},
{"geometrics_double", "geometrics", test_geometrics_double},
{"half", "half", test_half},
{"half_double", "half", test_half_double},
{"kernel_image_methods", "kernel_image_methods", test_kernel_image_methods},
{"images_kernel_read_write", "images_kernel_read_write", test_images_kernel_read_write},
{"images_samplerlessRead", "images_samplerlessRead", test_images_samplerless_read},
{"integer_ops", "integer_ops", test_integer_ops},
{"math_brute_force", "math_brute_force", test_math_brute_force},
{"math_brute_force_double", "math_brute_force", test_math_brute_force_double},
{"printf", "printf", test_printf},
{"profiling", "profiling", test_profiling},
{"relationals", "relationals", test_relationals},
{"relationals_double", "relationals", test_relationals_double},
{"select", "select", test_select},
{"select_double", "select", test_select_double},
{"vec_align", "vec_align", test_vec_align},
{"vec_align_double", "vec_align", test_vec_align_double},
{"vec_step", "vec_step", test_vec_step},
{"vec_step_double", "vec_step", test_vec_step_double},
{"compile_and_link", "compile_and_link", test_compile_and_link},
{"sampler_enumeration", "sampler_enumeration", test_sampler_enumeration},
{"enum_values", "enum_values", test_enum_values},
{"kernel_attributes", "kernel_attributes", test_kernel_attributes},
{"binary_type", "binary_type", test_binary_type},
{ "api", "api", test_api },
{ "api_double", "api", test_api_double },
{ "atomics", "atomics", test_atomics },
{ "basic", "basic", test_basic },
{ "basic_double", "basic", test_basic_double },
{ "commonfns", "commonfns", test_commonfns },
{ "commonfns_double", "commonfns", test_commonfns_double },
{ "conversions", "conversions", test_conversions },
{ "conversions_double", "conversions", test_conversions_double },
{ "geometrics", "geometrics", test_geometrics },
{ "geometrics_double", "geometrics", test_geometrics_double },
{ "half", "half", test_half },
{ "half_double", "half", test_half_double },
{ "kernel_image_methods", "kernel_image_methods",
test_kernel_image_methods },
{ "images_kernel_read_write", "images_kernel_read_write",
test_images_kernel_read_write },
{ "images_samplerlessRead", "images_samplerlessRead",
test_images_samplerless_read },
{ "integer_ops", "integer_ops", test_integer_ops },
{ "math_brute_force", "math_brute_force", test_math_brute_force },
{ "math_brute_force_double", "math_brute_force",
test_math_brute_force_double },
{ "printf", "printf", test_printf },
{ "profiling", "profiling", test_profiling },
{ "relationals", "relationals", test_relationals },
{ "relationals_double", "relationals", test_relationals_double },
{ "select", "select", test_select },
{ "select_double", "select", test_select_double },
{ "vec_align", "vec_align", test_vec_align },
{ "vec_align_double", "vec_align", test_vec_align_double },
{ "vec_step", "vec_step", test_vec_step },
{ "vec_step_double", "vec_step", test_vec_step_double },
{ "compile_and_link", "compile_and_link", test_compile_and_link },
{ "sampler_enumeration", "sampler_enumeration", test_sampler_enumeration },
{ "enum_values", "enum_values", test_enum_values },
// {"kernel_attributes", "kernel_attributes",
// test_kernel_attributes}, // disabling temporarily, see GitHub #1284
{ "binary_type", "binary_type", test_binary_type },
};