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

@@ -6628,12 +6628,16 @@ static const sub_suite spir_suites[] = {
{ "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",
test_images_kernel_read_write },
{ "images_samplerlessRead", "images_samplerlessRead",
test_images_samplerless_read },
{ "integer_ops", "integer_ops", test_integer_ops }, { "integer_ops", "integer_ops", test_integer_ops },
{ "math_brute_force", "math_brute_force", test_math_brute_force }, { "math_brute_force", "math_brute_force", test_math_brute_force },
{"math_brute_force_double", "math_brute_force", test_math_brute_force_double}, { "math_brute_force_double", "math_brute_force",
test_math_brute_force_double },
{ "printf", "printf", test_printf }, { "printf", "printf", test_printf },
{ "profiling", "profiling", test_profiling }, { "profiling", "profiling", test_profiling },
{ "relationals", "relationals", test_relationals }, { "relationals", "relationals", test_relationals },
@@ -6647,7 +6651,8 @@ static const sub_suite spir_suites[] = {
{ "compile_and_link", "compile_and_link", test_compile_and_link }, { "compile_and_link", "compile_and_link", test_compile_and_link },
{ "sampler_enumeration", "sampler_enumeration", test_sampler_enumeration }, { "sampler_enumeration", "sampler_enumeration", test_sampler_enumeration },
{ "enum_values", "enum_values", test_enum_values }, { "enum_values", "enum_values", test_enum_values },
{"kernel_attributes", "kernel_attributes", test_kernel_attributes}, // {"kernel_attributes", "kernel_attributes",
// test_kernel_attributes}, // disabling temporarily, see GitHub #1284
{ "binary_type", "binary_type", test_binary_type }, { "binary_type", "binary_type", test_binary_type },
}; };