Skip to content

Commit 1d61814

Browse files
authored
Merge pull request #74 from JuliaGPU/sd/documentation
try code block
2 parents 48bf9b7 + c7b3ce5 commit 1d61814

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/abstract_gpu_interface.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ end
3838
3939
Macro form of `linear_index`, which calls return when out of bounds.
4040
So it can be used like this:
41-
```jldoctest
41+
42+
```julia
4243
function kernel(state, A)
4344
idx = @linear_index A state
4445
# from here on it's save to index into A with idx

0 commit comments

Comments
 (0)