Skip to content

Commit ce1e7b0

Browse files
committed
Merge branch 'master' into ci_update
2 parents 117dad0 + 63543db commit ce1e7b0

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
cxx: 'g++'
9898
backend: 'OPENMP'
9999
cmake_build_type: 'Release'
100-
kokkos_ver: '4.1.00'
100+
kokkos_ver: '4.6.01'
101101
arborx: 'OFF'
102102
heffte: 'OFF'
103103
hypre: 'OFF'
@@ -107,7 +107,7 @@ jobs:
107107
cxx: 'clang++'
108108
backend: 'OPENMP'
109109
cmake_build_type: 'Release'
110-
kokkos_ver: '4.1.00'
110+
kokkos_ver: '4.6.01'
111111
arborx: 'OFF'
112112
heffte: 'OFF'
113113
hypre: 'OFF'
@@ -153,7 +153,7 @@ jobs:
153153
cxx: 'g++'
154154
backend: 'OPENMP'
155155
cmake_build_type: 'Debug'
156-
kokkos_ver: '4.2.00'
156+
kokkos_ver: '4.6.01'
157157
arborx: 'v1.7'
158158
heffte: 'OFF'
159159
hypre: 'OFF'

grid/src/Cabana_Grid_SparseDimPartitioner.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ class SparseDimPartitioner : public BlockPartitioner<NumSpaceDim>
381381
int tz = static_cast<int>(
382382
( view( i, 2 ) - lower_corner[2] ) / dx - 0.5 ) >>
383383
cell_bits_per_tile_dim;
384-
Kokkos::atomic_increment( &workload( ti + 1, tj + 1, tz + 1 ) );
384+
Kokkos::atomic_inc( &workload( ti + 1, tj + 1, tz + 1 ) );
385385
} );
386386
Kokkos::fence();
387387
}
@@ -406,8 +406,7 @@ class SparseDimPartitioner : public BlockPartitioner<NumSpaceDim>
406406
auto key = sparseMap.key_at( i );
407407
int ti, tj, tk;
408408
sparseMap.key2ijk( key, ti, tj, tk );
409-
Kokkos::atomic_increment(
410-
&workload( ti + 1, tj + 1, tk + 1 ) );
409+
Kokkos::atomic_inc( &workload( ti + 1, tj + 1, tk + 1 ) );
411410
}
412411
} );
413412
Kokkos::fence();

0 commit comments

Comments
 (0)