Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions sycl/include/sycl/queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <sycl/detail/common.hpp> // for code_location
#include <sycl/detail/defines_elementary.hpp> // for __SYCL2020_DEP...
#include <sycl/detail/export.hpp> // for __SYCL_EXPORT
#include <sycl/detail/id_queries_fit_in_int.hpp> // for checkValueRange
#include <sycl/detail/info_desc_helpers.hpp> // for is_queue_info_...
#include <sycl/detail/kernel_desc.hpp> // for KernelInfo
#include <sycl/detail/optional.hpp>
Expand Down Expand Up @@ -183,6 +184,8 @@ auto submit_kernel_direct(
"must be either sycl::nd_item or be convertible from sycl::nd_item");
using TransformedArgType = sycl::nd_item<Dims>;

detail::checkValueRange<Dims>(Range);

detail::KernelWrapper<detail::WrapAs::parallel_for, NameT, KernelType,
TransformedArgType, PropertiesT>::wrap(KernelFunc);

Expand Down
Loading