Skip to content

Commit 88bc615

Browse files
committed
Reduce TILE_DIM for compatibility
Metal doesn't always support 1-24 threads, which causes intermittent errors with 32x32 tiles
1 parent c8afb4b commit 88bc615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/performant_matmul.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ using Test
44
using Random
55
include(joinpath(dirname(pathof(KernelAbstractions)), "../examples/utils.jl")) # Load backend
66

7-
const TILE_DIM = 32
7+
const TILE_DIM = 16
88

99
@kernel function coalesced_matmul_kernel!(
1010
output, @Const(input1), @Const(input2), N, R, M,

0 commit comments

Comments
 (0)