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 4ae095a commit 71e2d8aCopy full SHA for 71e2d8a
src/heuristics.jl
@@ -1,6 +1,6 @@
1
function thread_blocks_heuristic(len::Integer)
2
threads = min(len, 256)
3
- blocks = ceil(Int, len/threads)
+ blocks = ceil(Int, len / threads)
4
blocks = blocks * threads
5
(blocks,), (threads,)
6
end
0 commit comments