File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -1015,7 +1015,6 @@ class __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
1015
1015
1016
1016
size_t Result = 0 ;
1017
1017
1018
- #pragma unroll
1019
1018
for (int I = 0 ; I < Dims; ++I) {
1020
1019
Result = Result * getMemoryRange ()[I] + Id[I];
1021
1020
// We've already adjusted for the accessor's offset in the __init, so
@@ -1087,7 +1086,6 @@ class __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
1087
1086
range<AdjustedDim> MemRange, id<AdjustedDim> Offset) {
1088
1087
MData = Ptr;
1089
1088
1090
- #pragma unroll
1091
1089
for (int I = 0 ; I < AdjustedDim; ++I) {
1092
1090
#if __cplusplus >= 201703L
1093
1091
if constexpr (!(PropertyListT::template has_property<
@@ -2153,7 +2151,6 @@ class __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
2153
2151
size_t getTotalOffset () const {
2154
2152
size_t TotalOffset = 0 ;
2155
2153
2156
- #pragma unroll
2157
2154
for (int I = 0 ; I < Dimensions; ++I) {
2158
2155
TotalOffset = TotalOffset * impl.MemRange [I];
2159
2156
#if __cplusplus >= 201703L
@@ -2421,7 +2418,6 @@ class __SYCL_SPECIAL_CLASS local_accessor_base :
2421
2418
range<AdjustedDim>, id<AdjustedDim>) {
2422
2419
MData = Ptr;
2423
2420
2424
- #pragma unroll
2425
2421
for (int I = 0 ; I < AdjustedDim; ++I)
2426
2422
getSize ()[I] = AccessRange[I];
2427
2423
}
You can’t perform that action at this time.
0 commit comments