Skip to content

Commit

Permalink
Add maybe_unused attribute
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Sobolev <[email protected]>
  • Loading branch information
dmitriy-sobolev committed Nov 22, 2024
1 parent df1e05d commit cbab226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ struct __kernel_name_with_idx

template <int idx, typename KernelParams>
constexpr auto
get_new_kernel_params(KernelParams params)
get_new_kernel_params([[maybe_unused]] KernelParams params)
{
auto new_params = oneapi::dpl::experimental::kt::kernel_param<
KernelParams::data_per_workitem, KernelParams::workgroup_size,
Expand Down

0 comments on commit cbab226

Please sign in to comment.