Skip to content

Commit b129312

Browse files
author
Sergey Kanaev
committed
[SYCL] Resolve style issues.
Signed-off-by: Sergey Kanaev <[email protected]>
1 parent c8e6270 commit b129312

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

sycl/include/CL/sycl/detail/cg.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#include <CL/sycl/detail/kernel_desc.hpp>
2020
#include <CL/sycl/detail/type_traits.hpp>
2121
#include <CL/sycl/group.hpp>
22-
#include <CL/sycl/interop_handler.hpp>
2322
#include <CL/sycl/id.hpp>
23+
#include <CL/sycl/interop_handler.hpp>
2424
#include <CL/sycl/kernel.hpp>
2525
#include <CL/sycl/nd_item.hpp>
2626
#include <CL/sycl/range.hpp>

sycl/include/CL/sycl/detail/cg_types.hpp

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/detail/kernel_desc.hpp>
43
#include <CL/sycl/detail/host_profiling_info.hpp>
4+
#include <CL/sycl/detail/kernel_desc.hpp>
55
#include <CL/sycl/group.hpp>
66
#include <CL/sycl/id.hpp>
77
#include <CL/sycl/interop_handler.hpp>

sycl/include/CL/sycl/handler.hpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
#pragma once
1010

11-
#include <CL/sycl/accessor.hpp>
1211
#include <CL/sycl/access/access.hpp>
12+
#include <CL/sycl/accessor.hpp>
1313
#include <CL/sycl/atomic.hpp>
1414
#include <CL/sycl/context.hpp>
1515
#include <CL/sycl/detail/cg.hpp>
@@ -713,7 +713,7 @@ class __SYCL_EXPORT handler {
713713
require(accessor<DataT, Dims, AccMode, AccTarget, access::placeholder::true_t>
714714
Acc) {
715715
#ifndef __SYCL_DEVICE_ONLY__
716-
associateWithHandler(/*(detail::AccessorBaseHost *)*/&Acc, AccTarget);
716+
associateWithHandler(&Acc, AccTarget);
717717
#else
718718
(void)Acc;
719719
#endif
@@ -1694,8 +1694,9 @@ class __SYCL_EXPORT handler {
16941694
access::mode AccMode, access::placeholder IsPlaceholder>
16951695
friend class intel::detail::reduction_impl;
16961696

1697-
friend void detail::associateWithHandler(
1698-
handler &, detail::AccessorBaseHost *, access::target);
1697+
friend void detail::associateWithHandler(handler &,
1698+
detail::AccessorBaseHost *,
1699+
access::target);
16991700
};
17001701
} // namespace sycl
17011702
} // __SYCL_INLINE_NAMESPACE(cl)

0 commit comments

Comments
 (0)