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

Commit cc2cc9b

Browse files
[SYCL] Change CL/sycl/ to sycl/ (#1078)
Also, CL/sycl.hpp -> sycl/sycl.hpp.
1 parent ff3c507 commit cc2cc9b

File tree

602 files changed

+633
-634
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

602 files changed

+633
-634
lines changed

SYCL/AOT/Inputs/aot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===---------------------------------------------------------------------===//
88

9-
#include <CL/sycl.hpp>
9+
#include <sycl/sycl.hpp>
1010

1111
#include <array>
1212
#include <iostream>

SYCL/Assert/Inputs/kernels_in_file2.hpp

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

33
SYCL_EXTERNAL int calculus(int X);
44

SYCL/Assert/assert_in_kernels.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include <CL/sycl.hpp>
21
#include <cassert>
32
#include <iostream>
3+
#include <sycl/sycl.hpp>
44

55
using namespace cl::sycl;
66
using namespace cl::sycl::access;

SYCL/Assert/assert_in_multiple_tus.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "Inputs/kernels_in_file2.hpp"
2-
#include <CL/sycl.hpp>
32
#include <iostream>
3+
#include <sycl/sycl.hpp>
44

55
#ifdef DEFINE_NDEBUG_INFILE1
66
#define NDEBUG

SYCL/Assert/assert_in_one_kernel.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include <CL/sycl.hpp>
21
#include <cassert>
32
#include <iostream>
3+
#include <sycl/sycl.hpp>
44

55
using namespace cl::sycl;
66
using namespace cl::sycl::access;

SYCL/Assert/assert_in_simultaneous_kernels.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#include <CL/sycl.hpp>
21
#include <cassert>
32
#include <cstdio>
43
#include <iostream>
4+
#include <sycl/sycl.hpp>
55
#include <thread>
66

77
using namespace cl::sycl;

SYCL/Assert/assert_in_simultaneously_multiple_tus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
// CHECK-ACC: The test ended.
2424

2525
#include "Inputs/kernels_in_file2.hpp"
26-
#include <CL/sycl.hpp>
2726
#include <cstdio>
2827
#include <iostream>
28+
#include <sycl/sycl.hpp>
2929
#include <thread>
3030

3131
#ifdef DEFINE_NDEBUG_INFILE1

SYCL/AtomicRef/accessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55

6-
#include <CL/sycl.hpp>
76
#include <algorithm>
87
#include <cassert>
98
#include <iostream>
109
#include <numeric>
10+
#include <sycl/sycl.hpp>
1111
#include <vector>
1212
using namespace sycl;
1313
using namespace sycl::ext::oneapi;

SYCL/AtomicRef/add.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#define TEST_GENERIC_IN_LOCAL 0
55
#endif
66

7-
#include <CL/sycl.hpp>
87
#include <algorithm>
98
#include <cassert>
109
#include <iostream>
1110
#include <numeric>
11+
#include <sycl/sycl.hpp>
1212
#include <type_traits>
1313
#include <vector>
1414

SYCL/AtomicRef/and.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#define TEST_GENERIC_IN_LOCAL 0
55
#endif
66

7-
#include <CL/sycl.hpp>
87
#include <algorithm>
98
#include <cassert>
109
#include <iostream>
1110
#include <numeric>
11+
#include <sycl/sycl.hpp>
1212
#include <vector>
1313

1414
using namespace sycl;

SYCL/AtomicRef/assignment.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#pragma once
22

3-
#include <CL/sycl.hpp>
43
#include <algorithm>
54
#include <cassert>
65
#include <numeric>
6+
#include <sycl/sycl.hpp>
77
#include <vector>
88

99
using namespace sycl;

SYCL/AtomicRef/atomic_memory_order.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

3-
#include <CL/sycl.hpp>
43
#include <algorithm>
4+
#include <sycl/sycl.hpp>
55

66
using namespace sycl;
77

SYCL/AtomicRef/compare_exchange.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#define TEST_GENERIC_IN_LOCAL 0
55
#endif
66

7-
#include <CL/sycl.hpp>
87
#include <algorithm>
98
#include <cassert>
109
#include <iostream>
1110
#include <numeric>
11+
#include <sycl/sycl.hpp>
1212
#include <vector>
1313

1414
using namespace sycl;

SYCL/AtomicRef/exchange.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#define TEST_GENERIC_IN_LOCAL 0
55
#endif
66

7-
#include <CL/sycl.hpp>
87
#include <algorithm>
98
#include <cassert>
109
#include <iostream>
1110
#include <numeric>
11+
#include <sycl/sycl.hpp>
1212
#include <vector>
1313

1414
using namespace sycl;

SYCL/AtomicRef/load.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#define TEST_GENERIC_IN_LOCAL 0
55
#endif
66

7-
#include <CL/sycl.hpp>
87
#include <algorithm>
98
#include <cassert>
109
#include <iostream>
1110
#include <numeric>
11+
#include <sycl/sycl.hpp>
1212
#include <vector>
1313

1414
using namespace sycl;

SYCL/AtomicRef/max.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#define TEST_GENERIC_IN_LOCAL 0
55
#endif
66

7-
#include <CL/sycl.hpp>
87
#include <algorithm>
98
#include <cassert>
109
#include <iostream>
1110
#include <numeric>
11+
#include <sycl/sycl.hpp>
1212
#include <vector>
1313

1414
using namespace sycl;

SYCL/AtomicRef/min.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#define TEST_GENERIC_IN_LOCAL 0
55
#endif
66

7-
#include <CL/sycl.hpp>
87
#include <algorithm>
98
#include <cassert>
109
#include <iostream>
1110
#include <numeric>
11+
#include <sycl/sycl.hpp>
1212
#include <vector>
1313

1414
using namespace sycl;

SYCL/AtomicRef/or.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#define TEST_GENERIC_IN_LOCAL 0
55
#endif
66

7-
#include <CL/sycl.hpp>
87
#include <algorithm>
98
#include <cassert>
109
#include <iostream>
1110
#include <numeric>
11+
#include <sycl/sycl.hpp>
1212
#include <vector>
1313

1414
using namespace sycl;

SYCL/AtomicRef/store.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#define TEST_GENERIC_IN_LOCAL 0
55
#endif
66

7-
#include <CL/sycl.hpp>
87
#include <algorithm>
98
#include <cassert>
109
#include <iostream>
1110
#include <numeric>
11+
#include <sycl/sycl.hpp>
1212
#include <vector>
1313

1414
using namespace sycl;

SYCL/AtomicRef/sub.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#define TEST_GENERIC_IN_LOCAL 0
55
#endif
66

7-
#include <CL/sycl.hpp>
87
#include <algorithm>
98
#include <cassert>
109
#include <iostream>
1110
#include <numeric>
11+
#include <sycl/sycl.hpp>
1212
#include <type_traits>
1313
#include <vector>
1414

SYCL/AtomicRef/xor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#define TEST_GENERIC_IN_LOCAL 0
55
#endif
66

7-
#include <CL/sycl.hpp>
87
#include <algorithm>
98
#include <cassert>
109
#include <iostream>
1110
#include <numeric>
11+
#include <sycl/sycl.hpp>
1212
#include <vector>
1313

1414
using namespace sycl;

SYCL/BFloat16/bfloat16_type.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#include <CL/sycl.hpp>
21
#include <sycl/ext/oneapi/experimental/bfloat16.hpp>
2+
#include <sycl/sycl.hpp>
33

44
#include <cmath>
55

SYCL/Basic/access_to_subset.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
1212
//
1313
//===----------------------------------------------------------------------===//
14-
#include <CL/sycl.hpp>
14+
#include <sycl/sycl.hpp>
1515

1616
using namespace cl::sycl;
1717
using acc_w = accessor<int, 2, access::mode::write, access::target::device>;

SYCL/Basic/accessor/Inputs/device_accessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
#include <CL/sycl.hpp>
98
#include <cassert>
9+
#include <sycl/sycl.hpp>
1010

1111
int main() {
1212
// Non-placeholder accessors.

SYCL/Basic/accessor/Inputs/host_accessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
#include <CL/sycl.hpp>
98
#include <cassert>
9+
#include <sycl/sycl.hpp>
1010

1111
int main() {
1212
{

SYCL/Basic/accessor/Inputs/host_task_accessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
#include <CL/sycl.hpp>
98
#include <cassert>
9+
#include <sycl/sycl.hpp>
1010

1111
int main() {
1212
// Non-placeholder accessors.

SYCL/Basic/alloc_pinned_host_memory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// RUN: %GPU_RUN_PLACEHOLDER %t2.out
88
// RUN: %ACC_RUN_PLACEHOLDER %t2.out
99

10-
#include <CL/sycl.hpp>
10+
#include <sycl/sycl.hpp>
1111

1212
#include <cassert>
1313
#include <string>

SYCL/Basic/aspects.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
//
1818
//===----------------------------------------------------------------------===//
1919

20-
#include <CL/sycl.hpp>
2120
#include <iostream>
21+
#include <sycl/sycl.hpp>
2222

2323
using namespace cl::sycl;
2424

SYCL/Basic/barrier_order.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
55
// RUN: %GPU_RUN_PLACEHOLDER %t.out
66

7-
#include <CL/sycl.hpp>
87
#include <stdlib.h>
8+
#include <sycl/sycl.hpp>
99

1010
int main() {
1111
sycl::device dev{sycl::default_selector{}};

SYCL/Basic/bit_cast/bit_cast.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

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

99
#include <iostream>
1010
#include <math.h>

SYCL/Basic/boolean.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
6-
#include <CL/sycl.hpp>
6+
#include <sycl/sycl.hpp>
77

88
#include <cassert>
99

SYCL/Basic/buffer/buffer_allocator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
// buffers are as defined by the spec and will allocate the right amount of
2020
// memory on the device.
2121

22-
#include <CL/sycl.hpp>
2322
#include <iostream>
23+
#include <sycl/sycl.hpp>
2424

2525
constexpr size_t NumElems = 67;
2626

SYCL/Basic/buffer/buffer_container.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// RUN: %GPU_RUN_PLACEHOLDER %t2.out
77
// RUN: %ACC_RUN_PLACEHOLDER %t2.out
88

9-
#include <CL/sycl.hpp>
9+
#include <sycl/sycl.hpp>
1010

1111
using namespace cl::sycl;
1212

SYCL/Basic/buffer/buffer_create.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// RUN: env ZE_DEBUG=1 %GPU_RUN_PLACEHOLDER %t.out 2> %t1.out; cat %t1.out %GPU_CHECK_PLACEHOLDER
44
// UNSUPPORTED: ze_debug-1,ze_debug4
55

6-
#include <CL/sycl.hpp>
6+
#include <sycl/sycl.hpp>
77

88
using namespace cl::sycl;
99

SYCL/Basic/buffer/buffer_dev_to_dev.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15-
#include <CL/sycl.hpp>
1615
#include <cassert>
1716
#include <memory>
17+
#include <sycl/sycl.hpp>
1818

1919
using namespace cl::sycl;
2020

SYCL/Basic/buffer/buffer_full_copy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
//
1515
//===----------------------------------------------------------------------===//
1616

17-
#include <CL/sycl.hpp>
1817
#include <cassert>
18+
#include <sycl/sycl.hpp>
1919

2020
void check_copy_device_to_host(cl::sycl::queue &Queue) {
2121
constexpr int size = 6, offset = 2;

SYCL/Basic/buffer/buffer_migrate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// root-devices)
99
//
1010

11-
#include <CL/sycl.hpp>
11+
#include <sycl/sycl.hpp>
1212
using namespace cl::sycl;
1313

1414
int main() {

SYCL/Basic/buffer/native_buffer_creation_flags.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
22
// RUN: %CPU_RUN_PLACEHOLDER SYCL_PI_TRACE=-1 %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
33

4-
#include <CL/sycl.hpp>
4+
#include <sycl/sycl.hpp>
55

66
class Foo;
77
using namespace cl::sycl;

0 commit comments

Comments
 (0)