Skip to content

Commit 64b9c65

Browse files
committed
Use RAJA macro for unused args
1 parent 7b78f03 commit 64b9c65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/KernelBase.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,14 +547,14 @@ class KernelBase
547547
#endif
548548

549549
#if defined(RAJA_ENABLE_SYCL)
550-
virtual void runSyclVariant(VariantID vid, size_t /* tune_idx */)
550+
virtual void runSyclVariant(VariantID vid, RAJA_UNUSED_ARG(size_t))
551551
{
552552
getCout() << "\n KernelBase: Unimplemented Sycl variant id = " << vid << std::endl;
553553
}
554554
#endif
555555

556556
#if defined(RUN_KOKKOS)
557-
virtual void runKokkosVariant(VariantID vid, size_t /* tune_idx */)
557+
virtual void runKokkosVariant(VariantID vid, RAJA_UNUSED_ARG(size_t))
558558
{
559559
getCout() << "\n KernelBase: Unimplemented Kokkos variant id = " << vid << std::endl;
560560
}

0 commit comments

Comments
 (0)