Skip to content

Commit 6d8a3d1

Browse files
authored
Need to change back to CL/sycl.hpp for Tools samples (#1444)
Fix compilation error for oneapi 2023.0 Signed-off-by: Lee, Chon Ming <[email protected]>
1 parent cb14405 commit 6d8a3d1

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

Tools/Advisor/matrix_multiply_advisor/src/matrix.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
// dpc_common.hpp can be found in the dev-utilities include folder.
1111
// e.g., $ONEAPI_ROOT/dev-utilities//include/dpc_common.hpp
12-
#include "dpc_common.hpp"
1312
#include "multiply.hpp"
13+
#include "dpc_common.hpp"
1414

1515
typedef unsigned long long UINT64;
1616
#define xstr(s) x_str(s)

Tools/Advisor/matrix_multiply_advisor/src/multiply.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ constexpr int NUM=1024;
99
constexpr int MATRIXTILESIZE=16;
1010
constexpr int WPT=8;
1111

12-
#include <sycl/sycl.hpp>
12+
#include <CL/sycl.hpp>
1313
// exception handler
1414
/*
1515
The exception_list parameter is an iterable list of std::exception_ptr objects.

Tools/ApplicationDebugger/array-transform/src/array-transform.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#include <sycl/sycl.hpp>
1414
#include <iostream>
1515
// Location of file: <oneapi-root>/dev-utilities/<version>/include
16-
#include "dpc_common.hpp"
1716
#include "selector.hpp"
17+
#include "dpc_common.hpp"
1818

1919
using namespace std;
2020
using namespace sycl;

Tools/ApplicationDebugger/array-transform/src/selector.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// SPDX-License-Identifier: MIT
55
// =============================================================
66

7-
#include <sycl/sycl.hpp>
7+
#include <CL/sycl.hpp>
88
#include <iostream>
99

1010
// Custom device selector to select a device of the specified type.

Tools/ApplicationDebugger/jacobi/src/jacobi-bugged.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// The linear system is solved via Jacobi iteration.
1111
// The algorithm converges, as the matrix A is strictly diagonally dominant.
1212

13-
#include <sycl/sycl.hpp>
13+
#include <CL/sycl.hpp>
1414
#include <iostream>
1515
#include <cmath>
1616
// Location of file: <oneapi-root>/dev-utilities/<version>/include

Tools/ApplicationDebugger/jacobi/src/jacobi-fixed.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// The linear system is solved via Jacobi iteration.
1111
// The algorithm converges, as the matrix A is strictly diagonally dominant.
1212

13-
#include <sycl/sycl.hpp>
13+
#include <CL/sycl.hpp>
1414
#include <iostream>
1515
#include <cmath>
1616
// Location of file: <oneapi-root>/dev-utilities/<version>/include

Tools/VTuneProfiler/matrix_multiply_vtune/src/matrix.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
// dpc_common.hpp can be found in the dev-utilities include folder.
1111
// e.g., $ONEAPI_ROOT/dev-utilities//include/dpc_common.hpp
12-
#include "dpc_common.hpp"
1312
#include "multiply.hpp"
13+
#include "dpc_common.hpp"
1414

1515
typedef unsigned long long UINT64;
1616
#define xstr(s) x_str(s)

Tools/VTuneProfiler/matrix_multiply_vtune/src/multiply.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ constexpr int NUM=1024;
99
constexpr int MATRIXTILESIZE=16;
1010
constexpr int WPT=8;
1111

12-
#include <sycl/sycl.hpp>
12+
#include <CL/sycl.hpp>
1313
// exception handler
1414
/*
1515
The exception_list parameter is an iterable list of std::exception_ptr objects.

0 commit comments

Comments
 (0)