Skip to content

Commit 626a101

Browse files
author
aidan.belton
committed
Format with more upto date version
1 parent 3648d5c commit 626a101

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

sycl/include/sycl/accessor.hpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,19 +2096,19 @@ class __SYCL_SPECIAL_CLASS local_accessor_base :
20962096
local_accessor_base(handler &, const detail::code_location CodeLoc =
20972097
detail::code_location::current())
20982098
#ifdef __SYCL_DEVICE_ONLY__
2099-
: impl(range<AdjustedDim>{1}) {
2100-
}
2099+
: impl(range<AdjustedDim>{1}){}
21012100
#else
21022101
: LocalAccessorBaseHost(range<3>{1, 1, 1}, AdjustedDim, sizeof(DataT)) {
21032102
detail::constructorNotification(nullptr, LocalAccessorBaseHost::impl.get(),
21042103
access::target::local, AccessMode, CodeLoc);
21052104
}
21062105
#endif
21072106

2108-
template <int Dims = Dimensions, typename = detail::enable_if_t<Dims == 0>>
2109-
local_accessor_base(
2110-
handler &, const property_list &propList,
2111-
const detail::code_location CodeLoc = detail::code_location::current())
2107+
template <int Dims = Dimensions,
2108+
typename = detail::enable_if_t<Dims == 0>>
2109+
local_accessor_base(handler &, const property_list &propList,
2110+
const detail::code_location CodeLoc =
2111+
detail::code_location::current())
21122112
#ifdef __SYCL_DEVICE_ONLY__
21132113
: impl(range<AdjustedDim>{1}) {
21142114
(void)propList;
@@ -2126,8 +2126,7 @@ class __SYCL_SPECIAL_CLASS local_accessor_base :
21262126
range<Dimensions> AllocationSize, handler &,
21272127
const detail::code_location CodeLoc = detail::code_location::current())
21282128
#ifdef __SYCL_DEVICE_ONLY__
2129-
: impl(AllocationSize) {
2130-
}
2129+
: impl(AllocationSize){}
21312130
#else
21322131
: LocalAccessorBaseHost(detail::convertToArrayOfN<3, 1>(AllocationSize),
21332132
AdjustedDim, sizeof(DataT)) {
@@ -2136,11 +2135,12 @@ class __SYCL_SPECIAL_CLASS local_accessor_base :
21362135
}
21372136
#endif
21382137

2139-
template <int Dims = Dimensions, typename = detail::enable_if_t<(Dims > 0)>>
2140-
local_accessor_base(
2141-
range<Dimensions> AllocationSize, handler &,
2142-
const property_list &propList,
2143-
const detail::code_location CodeLoc = detail::code_location::current())
2138+
template <int Dims = Dimensions,
2139+
typename = detail::enable_if_t<(Dims > 0)>>
2140+
local_accessor_base(range<Dimensions> AllocationSize, handler &,
2141+
const property_list &propList,
2142+
const detail::code_location CodeLoc =
2143+
detail::code_location::current())
21442144
#ifdef __SYCL_DEVICE_ONLY__
21452145
: impl(AllocationSize) {
21462146
(void)propList;

0 commit comments

Comments
 (0)