Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fc0acd1

Browse files
committedJun 1, 2024·
Small fixes 2
1 parent 83ab367 commit fc0acd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/GraphBLAS-sharp.Backend/Common/Sort/Bitonic.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ module Bitonic =
1010
let localSize =
1111
Common.Utils.floorToPower2 (
1212
int (clContext.ClDevice.LocalMemSize)
13-
/ (sizeof<uint64> + sizeof<'a>)
13+
/ (sizeof<int> + sizeof<'a>)
1414
)
15+
/ 2
1516

1617
let maxThreadsPerBlock =
1718
min (clContext.ClDevice.MaxWorkGroupSize) (localSize / 2)

0 commit comments

Comments
 (0)
Please sign in to comment.