From 25164f0005373553233a4a9c8f718465cdeeb9f2 Mon Sep 17 00:00:00 2001 From: Simeon Ehrig Date: Mon, 24 Nov 2025 11:05:32 +0100 Subject: [PATCH] fix syntax error in AMDGPU.jl kernel example --- content/9-language-support.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/9-language-support.rst b/content/9-language-support.rst index aa5728d..9097312 100644 --- a/content/9-language-support.rst +++ b/content/9-language-support.rst @@ -357,7 +357,7 @@ Here's an example of vector addition kernels for NVIDIA, AMD, Intel and Apple GP numblocks = cld(length(A), nthreads) # run using 256 threads - @roc threads=nthreads blocks=numblocks vadd!(C, A, B) + @roc groupsize=nthreads gridsize=numblocks vadd!(C, A, B) @assert all(Array(C) .== 5.0)