This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
SYCL/DeprecatedFeatures/FunctionPointers Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,6 @@ SYCL/DotProduct @rdeodhar
29
29
# Explicit SIMD
30
30
SYCL /ESIMD @ kbobrovs @ DenisBakhvalov
31
31
32
- # Function pointers
33
- SYCL /FunctionPointers @ AlexeySachkov
34
-
35
32
# Functor
36
33
SYCL /Functor @ AlexeySachkov
37
34
Original file line number Diff line number Diff line change
1
+ // REQUIRES: TEMPORARILY_DISABLED
1
2
// UNSUPPORTED: cuda || rocm
2
3
// CUDA does not support the function pointer as kernel argument extension.
3
4
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
5
6
// RUN: %HOST_RUN_PLACEHOLDER %t.out
6
7
// RUN: %CPU_RUN_PLACEHOLDER %t.out
7
8
// RUN: %GPU_RUN_PLACEHOLDER %t.out
8
9
// FIXME: This test should use runtime early exit once correct check for
9
10
// corresponding extension is implemented
10
11
11
12
#include < CL/sycl.hpp>
13
+ #include < sycl/ext/oneapi/__function_pointers.hpp>
12
14
13
15
#include < algorithm>
14
16
#include < iostream>
Original file line number Diff line number Diff line change
1
+ // REQUIRES: TEMPORARILY_DISABLED
1
2
// UNSUPPORTED: cuda || rocm
2
3
// CUDA does not support the function pointer as kernel argument extension.
3
4
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
5
6
// RUN: %HOST_RUN_PLACEHOLDER %t.out
6
7
// RUN: %CPU_RUN_PLACEHOLDER %t.out
7
8
// RUN: %GPU_RUN_PLACEHOLDER %t.out
8
9
// FIXME: This test should use runtime early exit once correct check for
9
10
// corresponding extension is implemented
10
11
11
12
#include < CL/sycl.hpp>
13
+ #include < sycl/ext/oneapi/__function_pointers.hpp>
12
14
13
15
#include < algorithm>
14
16
#include < iostream>
You can’t perform that action at this time.
0 commit comments