diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9470debbf5..9eb54fedb2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -29,9 +29,6 @@ SYCL/DotProduct @rdeodhar # Explicit SIMD SYCL/ESIMD @kbobrovs @DenisBakhvalov -# Function pointers -SYCL/FunctionPointers @AlexeySachkov - # Functor SYCL/Functor @AlexeySachkov diff --git a/SYCL/FunctionPointers/fp-as-kernel-arg.cpp b/SYCL/DeprecatedFeatures/FunctionPointers/fp-as-kernel-arg.cpp similarity index 93% rename from SYCL/FunctionPointers/fp-as-kernel-arg.cpp rename to SYCL/DeprecatedFeatures/FunctionPointers/fp-as-kernel-arg.cpp index 999ea1dfc1..13168032e2 100644 --- a/SYCL/FunctionPointers/fp-as-kernel-arg.cpp +++ b/SYCL/DeprecatedFeatures/FunctionPointers/fp-as-kernel-arg.cpp @@ -1,7 +1,8 @@ +// REQUIRES: TEMPORARILY_DISABLED // UNSUPPORTED: cuda || rocm // CUDA does not support the function pointer as kernel argument extension. -// RUN: %clangxx -Xclang -fsycl-allow-func-ptr -fsycl %s -o %t.out +// RUN: %clangxx -Xclang -fsycl-allow-func-ptr -fsycl -D__SYCL_INTERNAL_API %s -o %t.out // RUN: %HOST_RUN_PLACEHOLDER %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out @@ -9,6 +10,7 @@ // corresponding extension is implemented #include +#include #include #include diff --git a/SYCL/FunctionPointers/pass-fp-through-buffer.cpp b/SYCL/DeprecatedFeatures/FunctionPointers/pass-fp-through-buffer.cpp similarity index 94% rename from SYCL/FunctionPointers/pass-fp-through-buffer.cpp rename to SYCL/DeprecatedFeatures/FunctionPointers/pass-fp-through-buffer.cpp index ccddf6341b..ee26e47089 100644 --- a/SYCL/FunctionPointers/pass-fp-through-buffer.cpp +++ b/SYCL/DeprecatedFeatures/FunctionPointers/pass-fp-through-buffer.cpp @@ -1,7 +1,8 @@ +// REQUIRES: TEMPORARILY_DISABLED // UNSUPPORTED: cuda || rocm // CUDA does not support the function pointer as kernel argument extension. -// RUN: %clangxx -Xclang -fsycl-allow-func-ptr -fsycl %s -o %t.out +// RUN: %clangxx -Xclang -fsycl-allow-func-ptr -fsycl -D__SYCL_INTERNAL_API %s -o %t.out // RUN: %HOST_RUN_PLACEHOLDER %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out @@ -9,6 +10,7 @@ // corresponding extension is implemented #include +#include #include #include