Skip to content

Commit 0b60164

Browse files
committed
Fix old include style causing warnings
We should be including the sycl.hpp header from the sycl/ folder.
1 parent 356abe1 commit 0b60164

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@
3030
*.exe
3131
*.out
3232
*.app
33+
34+
# folders
35+
*build*/

src/matrix_multiply_omp_compare/matrix-multiply.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
* and differences between them.
2525
* See block_host for the OpenMP implementation. */
2626

27-
#include <CL/sycl.hpp>
27+
#include <sycl/sycl.hpp>
28+
2829
#include <chrono>
2930
#include <cmath>
3031
#include <ctime>

src/scan_parallel_inclusive/scan.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
*
1919
**************************************************************************/
2020

21-
#include <CL/sycl.hpp>
21+
#include <sycl/sycl.hpp>
22+
2223
#include <algorithm>
2324
#include <iostream>
2425
#include <numeric>

0 commit comments

Comments
 (0)