Skip to content

Commit 246bd77

Browse files
authored
Fix devices example in README
1 parent 35189d9 commit 246bd77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ low-level API wrappers, along with some slightly higher-level Julia wrappers, ar
139139
in the `MTL` submodule exported by Metal.jl:
140140

141141
```julia-repl
142-
julia> dev = MTLDevice(1)
142+
julia> dev = Metal.MTL.devices()[1]
143143
<AGXG13XDevice: 0x14c17f200>
144144
name = Apple M1 Pro
145145

0 commit comments

Comments
 (0)