Skip to content

Commit 578b992

Browse files
Merge pull request #1896 from CliMA/ck/bm_script
Small fix to benchmark script
2 parents ef82fe7 + 66addd8 commit 578b992

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benchmarks/scripts/indexing_and_static_ndranges.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ function custom_kernel_bc!(X, Y, us::AbstractUniversalSizes; printtb=true, use_p
345345
bc,
346346
us,
347347
)
348+
N = get_N(us)
348349
config = CUDA.launch_configuration(kernel.fun)
349350
threads = min(N, config.threads)
350351
blocks = cld(N, threads)

0 commit comments

Comments
 (0)