Skip to content

Commit 21cbf97

Browse files
committed
Small tweak to block size
1 parent db1e354 commit 21cbf97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ogs/ogsOperator.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class ogsOperator_t {
120120

121121
//NC: Hard code these for now. Should be sufficient for GPU devices, but needs attention for CPU
122122
static constexpr int blockSize = 256;
123-
static constexpr int gatherNodesPerBlock = 1024; //should be a multiple of blockSize for good unrolling
123+
static constexpr int gatherNodesPerBlock = 512; //should be a multiple of blockSize for good unrolling
124124

125125
//4 types - Float, Double, Int32, Int64
126126
//4 ops - Add, Mul, Max, Min

0 commit comments

Comments
 (0)