================ @@ -0,0 +1,52 @@ +// cl_khr_cooperative_matrix registration test. +// +// Test if extension macro is predefined when the extension is enabled +// RUN: %clang_cc1 -triple spirv64-unknown-unknown \ +// RUN: -cl-std=CL2.0 -cl-ext=+cl_khr_cooperative_matrix \ +// RUN: -finclude-default-header -E -dM %s \ +// RUN: | FileCheck %s --check-prefix=EXT + +// EXT: cl_khr_cooperative_matrix ---------------- svenvh wrote:
```suggestion // EXT: #define cl_khr_cooperative_matrix ``` to make this less fragile. https://github.com/llvm/llvm-project/pull/221328 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
