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

Commit 7e07c5a

Browse files
authored
[SYCL] Switch to legacy header path (#344)
Not all compiler versions have sycl/sycl.hpp path. Switching to CL/sycl.hpp allows to run tests on all existing compiler versions.
1 parent 3ecc505 commit 7e07c5a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

SYCL/SpecConstants/2020/handler-api.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717

1818
#include <cstdlib>
1919
#include <iostream>
20-
#include <sycl/sycl.hpp>
20+
// TODO: Switch to sycl/sycl.hpp once compiler supports it
21+
#include <CL/sycl.hpp>
2122

2223
#include "common.hpp"
2324

SYCL/SpecConstants/2020/kernel-bundle-api.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717

1818
#include <cstdlib>
1919
#include <iostream>
20-
#include <sycl/sycl.hpp>
20+
// TODO: Switch to sycl/sycl.hpp once compiler supports it
21+
#include <CL/sycl.hpp>
2122

2223
#include "common.hpp"
2324

0 commit comments

Comments
 (0)