Skip to content

Commit

Permalink
Change warning message slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
rkierulf committed Jun 18, 2024
1 parent aec8848 commit 6cde94b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion KomaMRICore/ext/KomaMetalExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Base.findall(x::MtlVector{Bool}) = convert(MtlVector, findall(KomaMRICore.cpu(x)

function __init__()
push!(KomaMRICore.LOADED_BACKENDS[], MetalBackend())
@warn "Metal does not support all array operations used by KomaMRI (https://github.com/JuliaGPU/Metal.jl/issues/348). GPU performance may be negatively impacted"
@warn "Metal does not support all array operations used by KomaMRI (https://github.com/JuliaGPU/Metal.jl/issues/348). GPU performance may be slower than expected"
end

end
2 changes: 1 addition & 1 deletion KomaMRICore/ext/KomaoneAPIExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Base.findall(x::oneVector{Bool}) = convert(oneVector, findall(KomaMRICore.cpu(x)

function __init__()
push!(KomaMRICore.LOADED_BACKENDS[], oneAPIBackend())
@warn "oneAPI does not support all array operations used by KomaMRI. GPU performance may be negatively impacted"
@warn "oneAPI does not support all array operations used by KomaMRI. GPU performance may be slower than expected"
end

end

0 comments on commit 6cde94b

Please sign in to comment.