Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit c5fe5c5

Browse files
authored
[SYCL] Remove function pointers extension tests (#437)
1 parent 4aee113 commit c5fe5c5

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ SYCL/DotProduct @rdeodhar
2929
# Explicit SIMD
3030
SYCL/ESIMD @kbobrovs @DenisBakhvalov
3131

32-
# Function pointers
33-
SYCL/FunctionPointers @AlexeySachkov
34-
3532
# Functor
3633
SYCL/Functor @AlexeySachkov
3734

SYCL/FunctionPointers/fp-as-kernel-arg.cpp renamed to SYCL/DeprecatedFeatures/FunctionPointers/fp-as-kernel-arg.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1+
// REQUIRES: TEMPORARILY_DISABLED
12
// UNSUPPORTED: cuda || rocm
23
// CUDA does not support the function pointer as kernel argument extension.
34

4-
// RUN: %clangxx -Xclang -fsycl-allow-func-ptr -fsycl %s -o %t.out
5+
// RUN: %clangxx -Xclang -fsycl-allow-func-ptr -fsycl -D__SYCL_INTERNAL_API %s -o %t.out
56
// RUN: %HOST_RUN_PLACEHOLDER %t.out
67
// RUN: %CPU_RUN_PLACEHOLDER %t.out
78
// RUN: %GPU_RUN_PLACEHOLDER %t.out
89
// FIXME: This test should use runtime early exit once correct check for
910
// corresponding extension is implemented
1011

1112
#include <CL/sycl.hpp>
13+
#include <sycl/ext/oneapi/__function_pointers.hpp>
1214

1315
#include <algorithm>
1416
#include <iostream>

SYCL/FunctionPointers/pass-fp-through-buffer.cpp renamed to SYCL/DeprecatedFeatures/FunctionPointers/pass-fp-through-buffer.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1+
// REQUIRES: TEMPORARILY_DISABLED
12
// UNSUPPORTED: cuda || rocm
23
// CUDA does not support the function pointer as kernel argument extension.
34

4-
// RUN: %clangxx -Xclang -fsycl-allow-func-ptr -fsycl %s -o %t.out
5+
// RUN: %clangxx -Xclang -fsycl-allow-func-ptr -fsycl -D__SYCL_INTERNAL_API %s -o %t.out
56
// RUN: %HOST_RUN_PLACEHOLDER %t.out
67
// RUN: %CPU_RUN_PLACEHOLDER %t.out
78
// RUN: %GPU_RUN_PLACEHOLDER %t.out
89
// FIXME: This test should use runtime early exit once correct check for
910
// corresponding extension is implemented
1011

1112
#include <CL/sycl.hpp>
13+
#include <sycl/ext/oneapi/__function_pointers.hpp>
1214

1315
#include <algorithm>
1416
#include <iostream>

0 commit comments

Comments
 (0)