@@ -22,7 +22,7 @@ drv = driver()
2222println("Using driver: ", drv)
2323```
2424
25- See also: [ `driver!`](@ref), [ `drivers`](@ref)
25+ See also: `driver!`, `drivers`
2626"""
2727function driver ()
2828 get! (task_local_storage (), :ZeDriver ) do
@@ -47,7 +47,7 @@ drv = drivers()[2] # Select second available driver
4747driver!(drv)
4848```
4949
50- See also: [ `driver`](@ref), [ `drivers`](@ref)
50+ See also: `driver`, `drivers`
5151"""
5252function driver! (drv:: ZeDriver )
5353 task_local_storage (:ZeDriver , drv)
@@ -68,7 +68,7 @@ dev = device()
6868println("Using device: ", dev)
6969```
7070
71- See also: [ `device!`](@ref), [ `devices`](@ref), [ `driver`](@ref)
71+ See also: `device!`, `devices`, `driver`
7272"""
7373function device ()
7474 get! (task_local_storage (), :ZeDevice ) do
@@ -148,7 +148,7 @@ ctx = ZeContext(driver())
148148context!(ctx)
149149```
150150
151- See also: [ `context`](@ref), [ `ZeContext`](@ref)
151+ See also: `context`, `ZeContext`
152152"""
153153function context! (ctx:: ZeContext )
154154 task_local_storage (:ZeContext , ctx)
@@ -178,7 +178,7 @@ dev = device()
178178queue = global_queue(ctx, dev)
179179```
180180
181- See also: [ `context`](@ref), [ `device`](@ref), [ `synchronize`](@ref)
181+ See also: `context`, `device`, `synchronize`
182182"""
183183function global_queue (ctx:: ZeContext , dev:: ZeDevice )
184184 # NOTE: dev purposefully does not default to context() or device() to stress that
@@ -232,7 +232,7 @@ drv = drivers()[1]
232232devs = devices(drv)
233233```
234234
235- See also: [ `device`](@ref), [ `device!`](@ref), [ `drivers`](@ref)
235+ See also: `device`, `device!`, `drivers`
236236"""
237237oneL0. devices () = devices (driver ())
238238
0 commit comments