OpenACCV-V
OpenACCV-V copied to clipboard
Many routine tests use an invalid reduction operator:
The following tests:
routine_bind.c
routine_bind.cpp
routine_bind_nonprototype_function_nonstring_function.cpp
routine_bind_nonprototype_function_nonstring_lambda.cpp
routine_bind_nonprototype_function_string_function.cpp
routine_bind_nonprototype_function_string_lambda.cpp
routine_bind_nonprototype_lambda_nonstring_function.cpp
routine_bind_nonprototype_lambda_nonstring_lambda.cpp
routine_bind_nonprototype_lambda_string_function.cpp
routine_bind_nonprototype_lambda_string_lambda.cpp
routine_bind_prototype_function_nonstring_function.cpp
routine_bind_prototype_function_nonstring_lambda.cpp
routine_bind_prototype_function_string_function.cpp
routine_bind_prototype_function_string_lambda.cpp
routine_bind_prototype_lambda_nonstring_function.cpp
routine_bind_prototype_lambda_nonstring_lambda.cpp
routine_bind_prototype_lambda_string_function.cpp
routine_bind_prototype_lambda_string_lambda.cpp
All use a - reduction operator. However 2.5.15 (in OpenACC3.3) lists the valid operators in C/C++ which are:
+, *, max, min, &, |, ^, &&, and ||.
Clang currently diagnoses this, so many failures when running the test suite are encountered.
It isn't clear to me @ajarmusch what is intended in these tests, but it would be lovely if we could solve these.