Skip to content

Commit

Permalink
Fix bad renaming in prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarson3 committed Jan 3, 2024
1 parent c049c83 commit 782a2bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mechanics_kernels.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ void ComputeVolAvgTensor(const mfem::ParFiniteElementSpace* fes,
using gpu_policy = RAJA::hip_exec<1024>;
#endif
for (int j = 0; j < size; j++) {
RAJA::ReduceSum<RAJA::gpu_reduce, double> gpu_sum(0.0);
RAJA::ReduceSum<RAJA::gpu_reduce, double> vol_sum(0.0);
RAJA::ReduceSum<gpu_reduce, double> gpu_sum(0.0);
RAJA::ReduceSum<gpu_reduce, double> vol_sum(0.0);
RAJA::forall<gpu_policy>(default_range, [ = ] RAJA_DEVICE(int i_npts){
const double* val = &(qf_data[i_npts * size]);
gpu_sum += wts_data[i_npts] * val[j];
Expand Down

0 comments on commit 782a2bc

Please sign in to comment.