Skip to content

Commit 6c82916

Browse files
Small fix and typos (#417)
1 parent 04b5481 commit 6c82916

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/mps/matrixrandom.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ synchronize_state(kern::MPSMatrixRandomMTGP32, cmdbuf::MTLCommandBuffer) =
111111

112112

113113
@inline function _mpsmat_rand!(randkern::MPSMatrixRandom, dest::MtlArray{T}, ::Type{T2};
114-
queue::MTLCommandQueue = global_queue(device()),
114+
queue::MTLCommandQueue = global_queue(randkern.device),
115115
async::Bool=false) where {T,T2}
116116
byteoffset = dest.offset * sizeof(T)
117117
bytesize = sizeof(dest)

src/compiler/compilation.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ end
8080

8181
macos = macos_version()
8282
metal = metal_support()
83-
# we support down to macOS 10.13, which support AIR 2.5
83+
# we support down to macOS 13, which supports AIR 2.5
8484
# so always target that version for now
8585
air = v"2.5"
8686
@assert air <= air_support()

0 commit comments

Comments
 (0)