Skip to content

Commit

Permalink
Small fix and typos (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangnrd authored Sep 16, 2024
1 parent 04b5481 commit 6c82916
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mps/matrixrandom.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ synchronize_state(kern::MPSMatrixRandomMTGP32, cmdbuf::MTLCommandBuffer) =


@inline function _mpsmat_rand!(randkern::MPSMatrixRandom, dest::MtlArray{T}, ::Type{T2};
queue::MTLCommandQueue = global_queue(device()),
queue::MTLCommandQueue = global_queue(randkern.device),
async::Bool=false) where {T,T2}
byteoffset = dest.offset * sizeof(T)
bytesize = sizeof(dest)
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/compilation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ end

macos = macos_version()
metal = metal_support()
# we support down to macOS 10.13, which support AIR 2.5
# we support down to macOS 13, which supports AIR 2.5
# so always target that version for now
air = v"2.5"
@assert air <= air_support()
Expand Down

0 comments on commit 6c82916

Please sign in to comment.