Skip to content

Commit

Permalink
Add warning for Metal
Browse files Browse the repository at this point in the history
  • Loading branch information
rkierulf committed Jun 12, 2024
1 parent b278734 commit 64897c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions KomaMRICore/ext/KomaMetalExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Base.findall(x::MtlVector{Bool}) = convert(MtlVector, findall(KomaMRICore.cpu(x)

function __init__()
push!(KomaMRICore.LOADED_BACKENDS[], MetalBackend())
@warn "Due to https://github.com/JuliaGPU/Metal.jl/issues/348, some functions may need to run on the CPU. Performance may be impacted as a result."
end

end

0 comments on commit 64897c8

Please sign in to comment.