From 85cc23c10f86382801351e87b8dfbc47a3b13abe Mon Sep 17 00:00:00 2001 From: Adriano Meligrana <68152031+Tortar@users.noreply.github.com> Date: Sun, 4 Jan 2026 21:20:45 +0100 Subject: [PATCH 1/3] Update CUDAnative to CUDA in documentation --- docs/src/advanced.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/advanced.md b/docs/src/advanced.md index 73687c4..c7fda48 100644 --- a/docs/src/advanced.md +++ b/docs/src/advanced.md @@ -99,10 +99,10 @@ Combined with [function barriers](https://docs.julialang.org/en/latest/manual/pe ## Using StructArrays in CUDA kernels -It is possible to combine StructArrays with [CUDAnative](https://github.com/JuliaGPU/CUDAnative.jl), in order to create CUDA kernels that work on StructArrays directly on the GPU. Make sure you are familiar with the CUDAnative documentation (esp. kernels with plain `CuArray`s) before experimenting with kernels based on `StructArray`s. +It is possible to combine StructArrays with [CUDA](https://github.com/JuliaGPU/CUDAn.jl), in order to create CUDA kernels that work on StructArrays directly on the GPU. Make sure you are familiar with the CUDAnative documentation (esp. kernels with plain `CuArray`s) before experimenting with kernels based on `StructArray`s. ```julia -using CUDAnative, CuArrays, StructArrays +using CUDA, StructArrays d = StructArray(a = rand(100), b = rand(100)) # move to GPU From 9f22e6cab5002dfe11458300cc0fe10ff9cfe099 Mon Sep 17 00:00:00 2001 From: Adriano Meligrana <68152031+Tortar@users.noreply.github.com> Date: Sun, 4 Jan 2026 21:21:12 +0100 Subject: [PATCH 2/3] Update CUDA link in advanced.md documentation --- docs/src/advanced.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/advanced.md b/docs/src/advanced.md index c7fda48..91695e2 100644 --- a/docs/src/advanced.md +++ b/docs/src/advanced.md @@ -99,7 +99,7 @@ Combined with [function barriers](https://docs.julialang.org/en/latest/manual/pe ## Using StructArrays in CUDA kernels -It is possible to combine StructArrays with [CUDA](https://github.com/JuliaGPU/CUDAn.jl), in order to create CUDA kernels that work on StructArrays directly on the GPU. Make sure you are familiar with the CUDAnative documentation (esp. kernels with plain `CuArray`s) before experimenting with kernels based on `StructArray`s. +It is possible to combine StructArrays with [CUDA](https://github.com/JuliaGPU/CUDA.jl), in order to create CUDA kernels that work on StructArrays directly on the GPU. Make sure you are familiar with the CUDAnative documentation (esp. kernels with plain `CuArray`s) before experimenting with kernels based on `StructArray`s. ```julia using CUDA, StructArrays From 4e21aad1dfe35aab897e65de6ce34068c8ef3910 Mon Sep 17 00:00:00 2001 From: Adriano Meligrana <68152031+Tortar@users.noreply.github.com> Date: Sun, 4 Jan 2026 21:21:35 +0100 Subject: [PATCH 3/3] Correct 'CUDAnative' to 'CUDA' in documentation --- docs/src/advanced.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/advanced.md b/docs/src/advanced.md index 91695e2..7edd034 100644 --- a/docs/src/advanced.md +++ b/docs/src/advanced.md @@ -99,7 +99,7 @@ Combined with [function barriers](https://docs.julialang.org/en/latest/manual/pe ## Using StructArrays in CUDA kernels -It is possible to combine StructArrays with [CUDA](https://github.com/JuliaGPU/CUDA.jl), in order to create CUDA kernels that work on StructArrays directly on the GPU. Make sure you are familiar with the CUDAnative documentation (esp. kernels with plain `CuArray`s) before experimenting with kernels based on `StructArray`s. +It is possible to combine StructArrays with [CUDA](https://github.com/JuliaGPU/CUDA.jl), in order to create CUDA kernels that work on StructArrays directly on the GPU. Make sure you are familiar with the CUDA documentation (esp. kernels with plain `CuArray`s) before experimenting with kernels based on `StructArray`s. ```julia using CUDA, StructArrays