@@ -1569,6 +1569,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
1569
1569
: impl (id<AdjustedDim>(), detail::GetZeroDimAccessRange (BufferRef),
1570
1570
BufferRef.get_range ()) {
1571
1571
(void )PropertyList;
1572
+ (void )CodeLoc;
1572
1573
#else
1573
1574
: AccessorBaseHost (
1574
1575
/* Offset=*/ {0 , 0 , 0 },
@@ -1609,6 +1610,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
1609
1610
: impl (id<AdjustedDim>(), detail::GetZeroDimAccessRange (BufferRef),
1610
1611
BufferRef.get_range ()) {
1611
1612
(void )PropertyList;
1613
+ (void )CodeLoc;
1612
1614
#else
1613
1615
: AccessorBaseHost (
1614
1616
/* Offset=*/ {0 , 0 , 0 },
@@ -1645,6 +1647,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
1645
1647
BufferRef.get_range ()) {
1646
1648
(void )CommandGroupHandler;
1647
1649
(void )PropertyList;
1650
+ (void )CodeLoc;
1648
1651
}
1649
1652
#else
1650
1653
: AccessorBaseHost (
@@ -1682,6 +1685,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
1682
1685
BufferRef.get_range ()) {
1683
1686
(void )CommandGroupHandler;
1684
1687
(void )PropertyList;
1688
+ (void )CodeLoc;
1685
1689
}
1686
1690
#else
1687
1691
: AccessorBaseHost (
@@ -1715,6 +1719,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
1715
1719
#ifdef __SYCL_DEVICE_ONLY__
1716
1720
: impl (id<Dimensions>(), BufferRef.get_range (), BufferRef.get_range ()) {
1717
1721
(void )PropertyList;
1722
+ (void )CodeLoc;
1718
1723
}
1719
1724
#else
1720
1725
: AccessorBaseHost (
@@ -1751,6 +1756,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
1751
1756
#ifdef __SYCL_DEVICE_ONLY__
1752
1757
: impl (id<Dimensions>(), BufferRef.get_range (), BufferRef.get_range ()) {
1753
1758
(void )PropertyList;
1759
+ (void )CodeLoc;
1754
1760
}
1755
1761
#else
1756
1762
: AccessorBaseHost (
@@ -1815,6 +1821,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
1815
1821
: impl (id<AdjustedDim>(), BufferRef.get_range (), BufferRef.get_range ()) {
1816
1822
(void )CommandGroupHandler;
1817
1823
(void )PropertyList;
1824
+ (void )CodeLoc;
1818
1825
}
1819
1826
#else
1820
1827
: AccessorBaseHost (
@@ -1850,6 +1857,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
1850
1857
: impl (id<AdjustedDim>(), BufferRef.get_range (), BufferRef.get_range ()) {
1851
1858
(void )CommandGroupHandler;
1852
1859
(void )PropertyList;
1860
+ (void )CodeLoc;
1853
1861
}
1854
1862
#else
1855
1863
: AccessorBaseHost (
@@ -2026,6 +2034,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
2026
2034
#ifdef __SYCL_DEVICE_ONLY__
2027
2035
: impl (AccessOffset, AccessRange, BufferRef.get_range ()) {
2028
2036
(void )PropertyList;
2037
+ (void )CodeLoc;
2029
2038
}
2030
2039
#else
2031
2040
: AccessorBaseHost (detail::convertToArrayOfN<3 , 0 >(AccessOffset),
@@ -2069,6 +2078,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
2069
2078
#ifdef __SYCL_DEVICE_ONLY__
2070
2079
: impl (AccessOffset, AccessRange, BufferRef.get_range ()) {
2071
2080
(void )PropertyList;
2081
+ (void )CodeLoc;
2072
2082
}
2073
2083
#else
2074
2084
: AccessorBaseHost (detail::convertToArrayOfN<3 , 0 >(AccessOffset),
@@ -2141,6 +2151,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
2141
2151
: impl (AccessOffset, AccessRange, BufferRef.get_range ()) {
2142
2152
(void )CommandGroupHandler;
2143
2153
(void )PropertyList;
2154
+ (void )CodeLoc;
2144
2155
}
2145
2156
#else
2146
2157
: AccessorBaseHost (detail::convertToArrayOfN<3 , 0 >(AccessOffset),
@@ -2184,6 +2195,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
2184
2195
: impl (AccessOffset, AccessRange, BufferRef.get_range ()) {
2185
2196
(void )CommandGroupHandler;
2186
2197
(void )PropertyList;
2198
+ (void )CodeLoc;
2187
2199
}
2188
2200
#else
2189
2201
: AccessorBaseHost (detail::convertToArrayOfN<3 , 0 >(AccessOffset),
@@ -2260,6 +2272,7 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
2260
2272
static_assert (
2261
2273
PropertyListT::template areSameCompileTimeProperties<NewPropsT...>(),
2262
2274
" Compile-time-constant properties must be the same" );
2275
+ (void )CodeLoc;
2263
2276
#ifndef __SYCL_DEVICE_ONLY__
2264
2277
detail::constructorNotification (getMemoryObject (), impl.get (), AccessTarget,
2265
2278
AccessMode, CodeLoc);
@@ -2849,7 +2862,9 @@ class __SYCL_SPECIAL_CLASS local_accessor_base :
2849
2862
local_accessor_base (handler &, const detail::code_location CodeLoc =
2850
2863
detail::code_location::current ())
2851
2864
#ifdef __SYCL_DEVICE_ONLY__
2852
- : impl(range<AdjustedDim>{1 }){}
2865
+ : impl(range<AdjustedDim>{1 }) {
2866
+ (void )CodeLoc;
2867
+ }
2853
2868
#else
2854
2869
: LocalAccessorBaseHost(range<3 >{1 , 1 , 1 }, AdjustedDim, sizeof (DataT)) {
2855
2870
detail::constructorNotification (nullptr , LocalAccessorBaseHost::impl.get (),
@@ -2865,6 +2880,7 @@ class __SYCL_SPECIAL_CLASS local_accessor_base :
2865
2880
#ifdef __SYCL_DEVICE_ONLY__
2866
2881
: impl(range<AdjustedDim>{1 }) {
2867
2882
(void )propList;
2883
+ (void )CodeLoc;
2868
2884
}
2869
2885
#else
2870
2886
: LocalAccessorBaseHost(range<3 >{1 , 1 , 1 }, AdjustedDim, sizeof (DataT),
@@ -2880,7 +2896,9 @@ class __SYCL_SPECIAL_CLASS local_accessor_base :
2880
2896
range<Dimensions> AllocationSize, handler &,
2881
2897
const detail::code_location CodeLoc = detail::code_location::current())
2882
2898
#ifdef __SYCL_DEVICE_ONLY__
2883
- : impl(AllocationSize){}
2899
+ : impl(AllocationSize) {
2900
+ (void )CodeLoc;
2901
+ }
2884
2902
#else
2885
2903
: LocalAccessorBaseHost(detail::convertToArrayOfN<3 , 1 >(AllocationSize),
2886
2904
AdjustedDim, sizeof (DataT)) {
@@ -2899,6 +2917,7 @@ class __SYCL_SPECIAL_CLASS local_accessor_base :
2899
2917
#ifdef __SYCL_DEVICE_ONLY__
2900
2918
: impl(AllocationSize) {
2901
2919
(void )propList;
2920
+ (void )CodeLoc;
2902
2921
}
2903
2922
#else
2904
2923
: LocalAccessorBaseHost(detail::convertToArrayOfN<3 , 1 >(AllocationSize),
@@ -3574,6 +3593,7 @@ class __SYCL_EBO host_accessor
3574
3593
AccessorT::MAccData = other.MAccData ;
3575
3594
#else
3576
3595
{
3596
+ (void )other;
3577
3597
#endif // __SYCL_DEVICE_ONLY__
3578
3598
}
3579
3599
@@ -3589,6 +3609,7 @@ class __SYCL_EBO host_accessor
3589
3609
AccessorT::MAccData = other.MAccData ;
3590
3610
#else
3591
3611
{
3612
+ (void )other;
3592
3613
#endif // __SYCL_DEVICE_ONLY__
3593
3614
}
3594
3615
@@ -3685,7 +3706,12 @@ class __SYCL_EBO unsampled_image_accessor :
3685
3706
handler &CommandGroupHandlerRef, const property_list &PropList = {},
3686
3707
const detail::code_location CodeLoc = detail::code_location::current())
3687
3708
#ifdef __SYCL_DEVICE_ONLY__
3688
- {}
3709
+ {
3710
+ (void )ImageRef;
3711
+ (void )CommandGroupHandlerRef;
3712
+ (void )PropList;
3713
+ (void )CodeLoc;
3714
+ }
3689
3715
#else
3690
3716
: host_base_class(detail::convertToArrayOfN<3 , 1 >(ImageRef.get_range()),
3691
3717
AccessMode, detail::getSyclObjImpl(ImageRef).get(),
@@ -3951,7 +3977,12 @@ class __SYCL_EBO sampled_image_accessor :
3951
3977
handler &CommandGroupHandlerRef, const property_list &PropList = {},
3952
3978
const detail::code_location CodeLoc = detail::code_location::current())
3953
3979
#ifdef __SYCL_DEVICE_ONLY__
3954
- {}
3980
+ {
3981
+ (void )ImageRef;
3982
+ (void )CommandGroupHandlerRef;
3983
+ (void )PropList;
3984
+ (void )CodeLoc;
3985
+ }
3955
3986
#else
3956
3987
: host_base_class(detail::convertToArrayOfN<3 , 1 >(ImageRef.get_range()),
3957
3988
detail::getSyclObjImpl (ImageRef).get(), Dimensions,
0 commit comments