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