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 Apr 23, 2024
1 parent 14a8b41 commit 0d5d6e6
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 @@ -899,7 +899,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 0d5d6e6

Please sign in to comment.