File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -763,6 +763,9 @@ class __SYCL_EXPORT handler {
763
763
using NameT =
764
764
typename detail::get_kernel_name_t <KernelName, KernelType>::name;
765
765
766
+ // FIXME Remove this ifndef once rounding of execution range works well with
767
+ // ESIMD compilation flow.
768
+ #ifndef __SYCL_EXPLICIT_SIMD__
766
769
// The work group size preferred by this device.
767
770
// A reasonable choice for rounding up the range is 32.
768
771
constexpr size_t GoodLocalSizeX = 32 ;
@@ -827,7 +830,9 @@ class __SYCL_EXPORT handler {
827
830
std::move (Wrapper));
828
831
MCGType = detail::CG::KERNEL;
829
832
#endif
830
- } else {
833
+ } else
834
+ #endif // __SYCL_EXPLICIT_SIMD__
835
+ {
831
836
#ifdef __SYCL_DEVICE_ONLY__
832
837
(void )NumWorkItems;
833
838
kernel_parallel_for<NameT, TransformedArgType>(KernelFunc);
You can’t perform that action at this time.
0 commit comments