Skip to content

Commit

Permalink
Fixing a missing change
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuan14 committed Jan 2, 2025
1 parent a593c76 commit 8d657d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/comm/SYCLHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ static inline void sycl_kernel_submit(
::sycl::range<dim> range,
::sycl::queue q,
ker_t ker) {
#if defined(__INTEL_LLVM_COMPILER_VERSION) && \
__INTEL_LLVM_COMPILER_VERSION >= 20250000
#if SYCL_EXT_ONEAPI_ENQUEUE_FUNCTIONS == 1
auto cgf = [&](::sycl::handler& cgh) {
::sycl::ext::oneapi::experimental::parallel_for<ker_t>(cgh, range, ker);
};
Expand Down

0 comments on commit 8d657d1

Please sign in to comment.