@@ -75,11 +75,11 @@ class __SYCL_EXPORT AccessorImplHost {
75
75
AccessorImplHost (id<3 > Offset, range<3 > AccessRange, range<3 > MemoryRange,
76
76
access::mode AccessMode, detail::SYCLMemObjI *SYCLMemObject,
77
77
int Dims, int ElemSize, int OffsetInBytes = 0 ,
78
- bool IsSubBuffer = false )
78
+ bool IsSubBuffer = false , bool IsESIMDAcc = false )
79
79
: MOffset(Offset), MAccessRange(AccessRange), MMemoryRange(MemoryRange),
80
80
MAccessMode (AccessMode), MSYCLMemObj(SYCLMemObject), MDims(Dims),
81
81
MElemSize(ElemSize), MOffsetInBytes(OffsetInBytes),
82
- MIsSubBuffer(IsSubBuffer) {}
82
+ MIsSubBuffer(IsSubBuffer), MIsESIMDAcc(IsESIMDAcc) {}
83
83
84
84
~AccessorImplHost ();
85
85
@@ -88,7 +88,7 @@ class __SYCL_EXPORT AccessorImplHost {
88
88
MMemoryRange(Other.MMemoryRange), MAccessMode(Other.MAccessMode),
89
89
MSYCLMemObj(Other.MSYCLMemObj), MDims(Other.MDims),
90
90
MElemSize(Other.MElemSize), MOffsetInBytes(Other.MOffsetInBytes),
91
- MIsSubBuffer(Other.MIsSubBuffer) {}
91
+ MIsSubBuffer(Other.MIsSubBuffer), MIsESIMDAcc(Other.MIsESIMDAcc) {}
92
92
93
93
// The resize method provides a way to change the size of the
94
94
// allocated memory and corresponding properties for the accessor.
@@ -120,6 +120,10 @@ class __SYCL_EXPORT AccessorImplHost {
120
120
Command *MBlockedCmd = nullptr ;
121
121
122
122
bool PerWI = false ;
123
+
124
+ // Outdated, leaving to preserve ABI.
125
+ // TODO: Remove during next major release.
126
+ bool MIsESIMDAcc;
123
127
};
124
128
125
129
using AccessorImplPtr = shared_ptr_class<AccessorImplHost>;
0 commit comments