We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e230da commit 155bd5aCopy full SHA for 155bd5a
src/apps/EDGE3D.hpp
@@ -534,6 +534,19 @@ RAJA_INLINE void symmetric_edge_MpSmatrix(
534
}
535
536
537
+
538
+ // write back to matrix
539
+ rajaperf::Int_type offset = 0;
540
+ for (rajaperf::Int_type p = 0; p < M; p++) {
541
542
+ matrix[p][p] = symmetric_matrix[offset];
543
+ for (rajaperf::Int_type m = 1; m < (M-p); m++) {
544
+ auto x = symmetric_matrix[offset + m];
545
+ matrix[p][m] = x;
546
+ matrix[m][p] = x;
547
+ }
548
+ offset += (M-p);
549
550
551
552
#define EDGE3D_DATA_SETUP \
0 commit comments