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 83ab367 commit fc0acd1Copy full SHA for fc0acd1
src/GraphBLAS-sharp.Backend/Common/Sort/Bitonic.fs
@@ -10,8 +10,9 @@ module Bitonic =
10
let localSize =
11
Common.Utils.floorToPower2 (
12
int (clContext.ClDevice.LocalMemSize)
13
- / (sizeof<uint64> + sizeof<'a>)
+ / (sizeof<int> + sizeof<'a>)
14
)
15
+ / 2
16
17
let maxThreadsPerBlock =
18
min (clContext.ClDevice.MaxWorkGroupSize) (localSize / 2)
0 commit comments