Skip to content

Commit

Permalink
Fix unused variable warning, FPGA backend (#2020)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriy-sobolev authored Jan 27, 2025
1 parent a3ea7ca commit ec8fa8e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ struct __parallel_for_fpga_submitter<__internal::__optional_kernel_name<_Name...
auto
operator()(_ExecutionPolicy&& __exec, _Fp __brick, _Index __count, _Ranges&&... __rngs) const
{
auto __n = oneapi::dpl::__ranges::__get_first_range_size(__rngs...);
assert(__n > 0);
assert(oneapi::dpl::__ranges::__get_first_range_size(__rngs...) > 0);

_PRINT_INFO_IN_DEBUG_MODE(__exec);
auto __event = __exec.queue().submit([&__rngs..., &__brick, __count](sycl::handler& __cgh) {
Expand Down

0 comments on commit ec8fa8e

Please sign in to comment.