File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,12 @@ class KernelData {
6969 return MDeviceKernelInfoPtr->ParamDescGetter ;
7070 }
7171
72+ #ifndef __INTEL_PREVIEW_BREAKING_CHANGES
73+ // TODO: remove this method in the next ABI-breaking window
74+ // it is used by handler code that will be removed in the next
75+ // ABI-breaking window
76+ void setESIMD (bool IsESIMD) { MDeviceKernelInfoPtr->IsESIMD = IsESIMD; }
77+ #endif
7278 bool isESIMD () const { return MDeviceKernelInfoPtr->IsESIMD ; }
7379
7480 bool hasSpecialCaptures () const {
Original file line number Diff line number Diff line change @@ -1099,9 +1099,9 @@ void handler::extractArgsAndReqsFromLambda(
10991099void handler::extractArgsAndReqsFromLambda (
11001100 char *LambdaPtr, const std::vector<detail::kernel_param_desc_t > &ParamDescs,
11011101 bool IsESIMD) {
1102- (void )IsESIMD;
11031102 const bool IsKernelCreatedFromSource = false ;
11041103 size_t IndexShift = 0 ;
1104+ impl->MKernelData .setESIMD (IsESIMD);
11051105
11061106 for (size_t I = 0 ; I < ParamDescs.size (); ++I) {
11071107 void *Ptr = LambdaPtr + ParamDescs[I].offset ;
You can’t perform that action at this time.
0 commit comments