Skip to content

Commit 9d9a277

Browse files
praveenkk123u137620
andauthored
Prav patch cl (#1266)
* updated with the latest 2023 changes * updated cl namespace * update CL namespace Co-authored-by: u137620 <[email protected]>
1 parent 339a983 commit 9d9a277

File tree

12 files changed

+13
-10
lines changed

12 files changed

+13
-10
lines changed

DirectProgramming/DPC++/CombinationalLogic/mandelbrot/src/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
#include <chrono>
88
#include <iomanip>
99
#include <iostream>
10-
10+
#include <CL/sycl.hpp>
1111
// dpc_common.hpp can be found in the dev-utilities include folder.
1212
// e.g., $ONEAPI_ROOT/dev-utilities/<version>/include/dpc_common.hpp
1313
#include "dpc_common.hpp"
1414
#include "mandel.hpp"
1515

16+
1617
using namespace std;
1718
using namespace sycl;
1819

DirectProgramming/DPC++/DenseLinearAlgebra/complex_mult/src/complex_mult.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// SPDX-License-Identifier: MIT
66
// =============================================================
7-
#include <sycl/sycl.hpp>
7+
#include <CL/sycl.hpp>
88
#include <iomanip>
99
#include <vector>
1010
// dpc_common.hpp can be found in the dev-utilities include folder.

DirectProgramming/DPC++/GraphAlgorithms/all-pairs-shortest-paths/src/apsp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// SPDX-License-Identifier: MIT
88
// =============================================================
99

10-
#include <sycl/sycl.hpp>
10+
#include <CL/sycl.hpp>
1111
#include <chrono>
1212
#include <cstdlib>
1313
#include <iostream>

DirectProgramming/DPC++/GraphTraversal/bitonic-sort/src/bitonic-sort.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include <iostream>
3939
#include <string>
4040
#include <optional>
41+
#include <CL/sycl.hpp>
4142

4243
// dpc_common.hpp can be found in the dev-utilities include folder.
4344
// e.g., $ONEAPI_ROOT/dev-utilities/<version>/include/dpc_common.hpp

DirectProgramming/DPC++/GraphTraversal/hidden-markov-models/src/hidden-markov-models.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// Note: The implementation uses logarithms of the probabilities to process small numbers correctly
2525
// and to replace multiplication operations with addition operations.
2626

27-
#include <sycl/sycl.hpp>
27+
#include <CL/sycl.hpp>
2828
#include <iostream>
2929
#include <limits>
3030
#include <math.h>

DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/02_DPCPP_Program_Structure/lab/complex_mult.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// SPDX-License-Identifier: MIT
55
// =============================================================
6-
#include <sycl/sycl.hpp>
6+
#include <CL/sycl.hpp>
77
#include <iomanip>
88
#include <vector>
99
// dpc_common.hpp can be found in the dev-utilities include folder.

DirectProgramming/DPC++/MapReduce/MonteCarloPi/src/monte_carlo_pi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <sycl/sycl.hpp>
1+
#include <CL/sycl.hpp>
22
#include <iostream>
33
#include <math.h>
44
#include <stdlib.h>

DirectProgramming/DPC++/N-BodyMethods/Nbody/src/GSimulation.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#ifndef _GSIMULATION_HPP
88
#define _GSIMULATION_HPP
99

10-
#include <sycl/sycl.hpp>
10+
#include <CL/sycl.hpp>
1111
#include <cstdlib>
1212
#include <fstream>
1313
#include <iomanip>

DirectProgramming/DPC++/ParallelPatterns/PrefixSum/src/PrefixSum.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535
#include <iostream>
3636
#include <string>
37+
#include <CL/sycl.hpp>
3738
// dpc_common.hpp can be found in the dev-utilities include folder.
3839
// e.g., $ONEAPI_ROOT/dev-utilities/<version>/include/dpc_common.hpp
3940
#include "dpc_common.hpp"

DirectProgramming/DPC++/ParallelPatterns/loop-unroll/src/loop-unroll.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// SPDX-License-Identifier: MIT
88
// =============================================================
99

10-
#include <sycl/sycl.hpp>
10+
#include <CL/sycl.hpp>
1111
#include <iomanip>
1212
#include <iostream>
1313
#include <vector>

0 commit comments

Comments
 (0)