Skip to content

Commit d73a0ee

Browse files
committed
rm Metal comment
1 parent 3202453 commit d73a0ee

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/rules.jl

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -643,25 +643,6 @@ function _norm(dx::Broadcast.Broadcasted, p::Real)
643643
end
644644
end
645645

646-
#=
647-
648-
julia> using Metal
649-
650-
julia> using Base.Broadcast: broadcasted, instantiate
651-
652-
julia> bc = instantiate(broadcasted(+, MtlArray(rand(Float32, 3)), 1));
653-
654-
julia> norm(bc)
655-
┌ Warning: Performing scalar indexing
656-
657-
└ @ Metal ~/.julia/packages/Metal/TtPHW/src/compiler/compilation.jl:77
658-
ERROR: NSError: Undefined symbols:
659-
llvm.maximum.f32, referenced from: _Z24partial_mapreduce_device8identity3max7Float323ValILi1024EES2_I22CartesianIndices__3___ES2_I22CartesianIndices__1___ES2_ILi1EES2_ILi1EES2_ILitrueEE14MtlDeviceArrayIS1_Li2ELi1EE11BroadcastedI13MtlArrayStyleILi1EE5TupleI5OneToI5Int64EE4normS6_IS4_IS5_ILi1EES6_IS7_IS8_EE1_S6_IS3_IS1_Li1ELi1EES8_EEEE
660-
661-
julia> Metal.allowscalar(false)
662-
663-
=#
664-
665646
"""
666647
OptimiserChain(opts...)
667648

0 commit comments

Comments
 (0)