Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
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
4 changes: 0 additions & 4 deletions SYCL/SpecConstants/2020/host_apis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ const static sycl::specialization_id<TestStruct2> SpecConst5{
int main() {
sycl::queue Q;

// No support for host device so far
if (Q.is_host())
return 0;

// The code is needed to just have device images in the executable
if (0) {
Q.submit([](sycl::handler &CGH) { CGH.single_task<Kernel1Name>([] {}); });
Expand Down
1 change: 0 additions & 1 deletion SYCL/SpecConstants/2020/kernel-bundle-api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out \
// RUN: -fsycl-dead-args-optimization
// FIXME: SYCL 2020 specialization constants are not supported on host device
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// FIXME: ACC devices use emulation path, which is not yet supported
Expand Down
4 changes: 0 additions & 4 deletions SYCL/SpecConstants/2020/non_native/Inputs/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ const static sycl::specialization_id<short> SpecConst4{42};
int main() {
sycl::queue Q;

// No support for host device so far
if (Q.is_host())
return 0;

{
sycl::buffer<int, 1> Buf{sycl::range{1}};
Q.submit([&](sycl::handler &CGH) {
Expand Down