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 @@ -68,6 +68,12 @@ class KernelData {
6868 return MKernelParamDescGetter;
6969 }
7070
71+ #ifndef __INTEL_PREVIEW_BREAKING_CHANGES
72+ // TODO: remove this method in the next ABI-breaking window
73+ // it is used by handler code that will be removed in the next
74+ // ABI-breaking window
75+ void setESIMD (bool IsESIMD) { MKernelIsESIMD = IsESIMD; }
76+ #endif
7177 bool isESIMD () const { return MKernelIsESIMD; }
7278
7379 bool hasSpecialCaptures () const { return MKernelHasSpecialCaptures; }
Original file line number Diff line number Diff line change @@ -1087,9 +1087,9 @@ void handler::extractArgsAndReqsFromLambda(
10871087void handler::extractArgsAndReqsFromLambda (
10881088 char *LambdaPtr, const std::vector<detail::kernel_param_desc_t > &ParamDescs,
10891089 bool IsESIMD) {
1090- (void )IsESIMD;
10911090 const bool IsKernelCreatedFromSource = false ;
10921091 size_t IndexShift = 0 ;
1092+ impl->MKernelData .setESIMD (IsESIMD);
10931093
10941094 for (size_t I = 0 ; I < ParamDescs.size (); ++I) {
10951095 void *Ptr = LambdaPtr + ParamDescs[I].offset ;
You can’t perform that action at this time.
0 commit comments