Skip to content

Commit c7b3ce5

Browse files
committed
try code block
1 parent 923284c commit c7b3ce5

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)