File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -643,25 +643,6 @@ function _norm(dx::Broadcast.Broadcasted, p::Real)
643643 end
644644end
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
You can’t perform that action at this time.
0 commit comments