File tree 3 files changed +3
-9
lines changed 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 52
52
#else
53
53
#define DDC_HIP_5_7_ANONYMOUS_NAMESPACE_WORKAROUND (NAME )
54
54
#endif
55
-
56
- #if defined(__HIPCC__)
57
- #define HIPCC_COMPATIBLE_MAYBE_UNUSED
58
- #else
59
- #define HIPCC_COMPATIBLE_MAYBE_UNUSED [[maybe_unused]]
60
- #endif
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ void TestAnnotatedForEachSerialDevice1D(ddc::ChunkSpan<
93
93
ddc::parallel_for_each (
94
94
Kokkos::DefaultExecutionSpace (),
95
95
DDom0D (),
96
- KOKKOS_LAMBDA (HIPCC_COMPATIBLE_MAYBE_UNUSED DElem0D unused_elem ) {
96
+ KOKKOS_LAMBDA (DElem0D) {
97
97
ddc::annotated_for_each (view.domain (), [=](DElemX const ix) { view (ix) = 1 ; });
98
98
});
99
99
}
@@ -127,7 +127,7 @@ void TestAnnotatedForEachSerialDevice2D(ddc::ChunkSpan<
127
127
ddc::parallel_for_each (
128
128
Kokkos::DefaultExecutionSpace (),
129
129
DDom0D (),
130
- KOKKOS_LAMBDA (HIPCC_COMPATIBLE_MAYBE_UNUSED DElem0D unused_elem ) {
130
+ KOKKOS_LAMBDA (DElem0D) {
131
131
ddc::annotated_for_each (view.domain (), [=](DElemXY const ixy) { view (ixy) = 1 ; });
132
132
});
133
133
}
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ int TestAnnotatedTransformReduce(ddc::ChunkSpan<
87
87
ddc::parallel_for_each (
88
88
Kokkos::DefaultExecutionSpace (),
89
89
DDom0D (),
90
- KOKKOS_LAMBDA (HIPCC_COMPATIBLE_MAYBE_UNUSED DElem0D unused_elem ) {
90
+ KOKKOS_LAMBDA (DElem0D) {
91
91
count () = ddc::annotated_transform_reduce (
92
92
chunk.domain (),
93
93
0 ,
You can’t perform that action at this time.
0 commit comments