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

[SYCL] Remove function pointers extension tests #437

Merged
merged 3 commits into from
Sep 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ SYCL/DotProduct @rdeodhar
# Explicit SIMD
SYCL/ESIMD @kbobrovs @DenisBakhvalov

# Function pointers
SYCL/FunctionPointers @AlexeySachkov

# Functor
SYCL/Functor @AlexeySachkov

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
// 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
// FIXME: This test should use runtime early exit once correct check for
// corresponding extension is implemented

#include <CL/sycl.hpp>
#include <sycl/ext/oneapi/__function_pointers.hpp>

#include <algorithm>
#include <iostream>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
// 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
// FIXME: This test should use runtime early exit once correct check for
// corresponding extension is implemented

#include <CL/sycl.hpp>
#include <sycl/ext/oneapi/__function_pointers.hpp>

#include <algorithm>
#include <iostream>
Expand Down