Skip to content

Commit 6fc376f

Browse files
committed
Fix typo. [ci skip]
1 parent 7f68400 commit 6fc376f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/device/execution.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function launch_configuration(backend::AbstractGPUBackend, heuristic,
8787

8888
# FIXME: use grid-stride loop when we can't launch the number of blocks we need
8989

90-
if false && elements_per_thread > 1 && blocks > config.blocks
90+
if false && elements_per_thread > 1 && blocks > heuristic.blocks
9191
# we want to launch more blocks than required, so prefer a grid-stride loop instead
9292
# NOTE: this does not seem to improve performance
9393
nelem = clamp(cld(blocks, heuristic.blocks), 1, elements_per_thread)

0 commit comments

Comments
 (0)