Skip to content

Commit 4597c99

Browse files
committed
Tweak docs
1 parent e2e5484 commit 4597c99

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/interface.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ end
2020

2121
```
2222

23-
This will allow your defined type (in this case `JLArray`) to use the GPUArrays interface where available.
23+
This will allow your defined type (in this case `CustomArray`) to use the GPUArrays interface where available.
2424
To be able to actually use the functionality that is defined for `AbstractGPUArray`s, you need to define the backend, like so:
2525

2626
```julia
@@ -29,7 +29,7 @@ struct CustomBackend <: KernelAbstractions.GPU
2929
KernelAbstractions.get_backend(a::CA) where CA <: CustomArray = CustomBackend()
3030
```
3131

32-
There are numerous examples of potential interfaces for GPUArrays, such as with [JLArrays](https://github.com/JuliaGPU/GPUArrays.jl/blob/master/lib/JLArrays/src/JLArrays.jl), [CuArrays](https://github.com/JuliaGPU/CUDA.jl/blob/master/src/gpuarrays.jl), and [ROCArrays](https://github.com/JuliaGPU/AMDGPU.jl/blob/master/src/gpuarrays.jl).
32+
There are numerous examples of potential interfaces for GPUArrays, such as with [CuArrays](https://github.com/JuliaGPU/CUDA.jl/blob/master/src/CUDAKernels.jl), [ROCArrays](https://github.com/JuliaGPU/AMDGPU.jl/blob/master/src/ROCKernels.jl), [MtlArrays](https://github.com/JuliaGPU/Metal.jl/blob/master/src/MetalKernels.jl).
3333

3434
## Caching Allocator
3535

docs/src/testsuite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ If you don't want to run the whole suite, you can also run parts of it:
2121

2222

2323
```julia
24-
T = JLArray
24+
T = Array # As of KernelAbstractions v0.10, Array uses POCLBackend to run KA kernels
2525
GPUArrays.allowscalar(false) # fail tests when slow indexing path into Array type is used.
2626

2727
TestSuite.test_gpuinterface(T) # interface functions like gpu_call, threadidx, etc

0 commit comments

Comments
 (0)