Build Information
Successful build of MetalHLO, reference main (44b3a0), with Swift 6.4 for macOS (SPM) on 25 Sep 2026 11:44:21 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pedronahum/MetalHLO.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pedronahum/MetalHLO
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 44b3a04 README: document experimental distributed (data-parallel shard_map) support
Cloned https://github.com/pedronahum/MetalHLO.git
Revision (git rev-parse @):
44b3a04be0095296f9be95ce060e93045b69c367
SUCCESS checkout https://github.com/pedronahum/MetalHLO.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/pedronahum/MetalHLO.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 971]
[Planning deferred tasks]
[Starting]
[33 / 547] benchmark-runner-product
[159 / 547]
[166 / 551] _NumericsShims
[176 / 578]
[188 / 578] RealModule
[191 / 578] ArgumentParserToolInfo
[205 / 578] CPJRTApi
[212 / 648] RealModule
[224 / 661] ComplexModule
[228 / 661]
[235 / 661] ArgumentParserToolInfo
[254 / 664]
[267 / 696]
[270 / 696]
[277 / 696]
[279 / 696]
[283 / 696]
[289 / 696]
[296 / 696]
[298 / 696]
[302 / 696]
[304 / 696]
[317 / 696] ArgumentParser
[319 / 696]
[324 / 696]
[333 / 696] ArgumentParser-product
[335 / 696] encuda-product
[337 / 696] ANERuntime
[339 / 696] ANERuntime
[346 / 696] HeterogeneousFusion
[347 / 696] HeterogeneousFusion
[348 / 696] HeterogeneousFusion
[360 / 696] HeterogeneousFusion
[364 / 696] ANERuntime-product
[370 / 698] MetalHLOCore
[379 / 701] ArgumentParser
[379 / 701] encuda-product
[383 / 707] encuda-product
[390 / 713] CalibrateTest-product
[398 / 729] ANERuntime
[405 / 729]
[409 / 729]
[416 / 729] MetalHLOCore
[416 / 729] encuda-product
[418 / 729] MetalHLOCore
[419 / 729] MetalHLOCore
[420 / 729] MetalHLOCore
[430 / 729] GPT2EndToEnd-product
[430 / 729]
[433 / 730]
[445 / 731] mlx-swift_Cmlx
[446 / 731] mlx-swift_Cmlx
[447 / 740] MetalHLO
[448 / 753] MetalHLO
[452 / 753] MetalHLO
[459 / 753] MetalHLOCore
[460 / 753] MLX
[461 / 753] mlx-swift_Cmlx
[472 / 753] MetalHLO-product
[476 / 753] MetalHLO
[480 / 753] MLXRandom
[483 / 753] MLX
[487 / 753] MetalHLOCore
[489 / 753] CMetalHLO
[493 / 756]
[495 / 756] Cmlx
[497 / 756] Cmlx
[500 / 781] MetalHLOBenchmarks
[501 / 781] MLXRandom
[511 / 781] PJRTMetalHLO
[513 / 781] MetalHLOBenchmarks
[521 / 781] Cmlx
[524 / 781] PJRTMetalHLO
[530 / 781] Cmlx
[531 / 781] Cmlx
[533 / 781] Cmlx
[537 / 781] Cmlx
[540 / 781] Cmlx
[544 / 781] Cmlx
[548 / 781] Cmlx
[553 / 781] Cmlx
[555 / 781] Cmlx
[556 / 781] Cmlx
[558 / 781] Cmlx
[559 / 781] Cmlx
[560 / 781] Cmlx
[561 / 781] Cmlx
[565 / 781] Cmlx
[566 / 781] Cmlx
[569 / 781] Cmlx
[570 / 781] Cmlx
[571 / 781] Cmlx
[573 / 781] Cmlx
[574 / 781] Cmlx
[577 / 781] Cmlx
[578 / 781] Cmlx
[581 / 781] Cmlx
[583 / 781] Cmlx
[585 / 781] Cmlx
[586 / 781] Cmlx
[588 / 781] Cmlx
[589 / 781] Cmlx
[590 / 781] Cmlx
[591 / 781] Cmlx
[594 / 781] Cmlx
[596 / 781] Cmlx
[597 / 781] Cmlx
[598 / 781] Cmlx
[600 / 781] Cmlx
[602 / 781] Cmlx
[603 / 781] Cmlx
[604 / 781] Cmlx
[606 / 781] Cmlx
[608 / 781] Cmlx
[609 / 781] Cmlx
[611 / 781] Cmlx
[612 / 781] Cmlx
[613 / 781] Cmlx
[614 / 781] Cmlx
[615 / 781] Cmlx
[616 / 781] Cmlx
[619 / 781] Cmlx
[620 / 781] Cmlx
[623 / 781] Cmlx
[628 / 781] Cmlx
[632 / 781] Cmlx
[635 / 781] Cmlx
[636 / 781] Cmlx
[637 / 781] Cmlx
[639 / 781] Cmlx
[642 / 781] Cmlx
[644 / 781] Cmlx
[645 / 781] Cmlx
[646 / 781] Cmlx
[647 / 781] Cmlx
[648 / 781] Cmlx
[649 / 781] Cmlx
[652 / 781] Cmlx
[653 / 781] Cmlx
[655 / 781] Cmlx
[657 / 781] Cmlx
[659 / 781] Cmlx
[661 / 781] Cmlx
[662 / 781] Cmlx
[664 / 781] Cmlx
[665 / 781] Cmlx
[669 / 781] Cmlx
[671 / 781] Cmlx
[674 / 781] Cmlx
[675 / 781] Cmlx
[676 / 781] Cmlx
[678 / 781] Cmlx
[679 / 781] Cmlx
[682 / 781] Cmlx
[683 / 781] Cmlx
[684 / 781] Cmlx
[689 / 781] Cmlx
[690 / 781] Cmlx
[691 / 781] Cmlx
[694 / 781] mlx-swift_Cmlx
[695 / 781] PJRTMetalHLO
[696 / 781] PJRTMetalHLO
[698 / 781] PJRTMetalHLO
[699 / 781] PJRTMetalHLO-product
[703 / 781] PJRTMetalHLO
[704 / 781] PJRTMetalHLO
[707 / 781] MetalHLOBenchmarks
[708 / 781] benchmark-runner-product
[711 / 781] MetalHLOBenchmarks
[714 / 781] MetalHLO
[716 / 781] MLXRandom-product
[725 / 781]
[733 / 785] Cmlx
[741 / 816] benchmark-runner-product
[754 / 824]
[762 / 824] MetalHLOBenchmarks-product
[772 / 824] MLXBenchmarks
[781 / 825]
[787 / 825]
[793 / 827] benchmark-runner-product
[800 / 827]
[806 / 827]
[808 / 827]
[813 / 827] CMetalHLO-product
[816 / 827] mlx-comparison-product
[817 / 827]
[819 / 827] Cmlx
[820 / 827] Cmlx
[825 / 827] MLXBenchmarks-product
[825 / 827] mlx-comparison-product
Build complete! (47.83 sec)
Fetching https://github.com/ml-explore/mlx-swift
[1/16941] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift (2.53s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (3.22s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-argument-parser
[1/6640] Fetching swift-numerics
[997/25581] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (1.98s)
Fetched https://github.com/apple/swift-argument-parser (1.98s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (2.62s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.59s)
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.6
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
warning: 'spi-builder-workspace': found 248 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/chlo/chlo_legalize_to_stablehlo.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/chlo/chlo_legalize_to_stablehlo_broadcast.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/abs.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/add.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/after_all.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/all_gather.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/all_reduce.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/all_to_all.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/and.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/api_input_arguments.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/atan2.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/bitcast_convert.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/broadcast_in_dim.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/call.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/case.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/cbrt.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/ceil.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/check.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/clamp.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/collective_broadcast.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/collective_permute.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/compare.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/complex.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/composite.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/concatenate.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/constant.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/convert.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/convolution.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/cosine.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/count_leading_zeros.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/divide.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dot_general.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_broadcast_in_dim.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_conv.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_gather.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_iota.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_pad.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_reshape.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_slice.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_update_slice.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/exponential.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/exponential_minus_one.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/floor.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/gather.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/get_dimension_size.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/if.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/imag.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/infeed.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/iota.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/is_finite.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/log.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/log_plus_one.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/logistic.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/map.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/maximum.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/minimum.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/multiply.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/negate.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/not.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/optimization_barrier.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/or.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/outfeed.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/pad.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/partition_id.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/popcnt.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/power.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/printing.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/probe.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/quantized_ops.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/real.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/reduce.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/reduce_precision.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/reduce_scatter.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/reduce_window.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/remainder.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/replica_id.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/reshape.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/reverse.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/round_nearest_afz.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/round_nearest_even.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/rsqrt.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/scatter.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/select.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/select_and_scatter.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/send_recv.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/shift_left.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/shift_right_arithmetic.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/shift_right_logical.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/sign.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/sine.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/slice.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/sort.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/sqrt.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/subtract.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/tan.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/tanh.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/transpose.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/tuple_and_get_tuple_element.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/while.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/xor.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acos_complex128.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acos_complex64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acos_float32.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acos_float64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acos_limits.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acosh_complex128.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acosh_complex64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acosh_float32.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acosh_float64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asin_complex128.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asin_complex64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asin_float32.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asin_float64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asinh_complex128.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asinh_complex64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asinh_float32.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asinh_float64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atan_complex128.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atan_complex64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atan_float32.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atan_float64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atanh_complex128.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atanh_complex64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atanh_float32.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atanh_float64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/exponential_complex128.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/exponential_complex64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/exponential_float32.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/exponential_float64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_complex128.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_complex64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_float32.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_float64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_plus_one_complex128.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_plus_one_complex64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_plus_one_float32.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_plus_one_float64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/sqrt_complex128.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/sqrt_complex64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/sqrt_float32.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/sqrt_float64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/square_complex128.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/square_complex64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/square_float32.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/square_float64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/ulp_difference_float32.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/ulp_difference_float64.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/canonicalize.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/infer_chlo.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/infer_stablehlo.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_chlo.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_chlo_roundtrip.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_dot_general_algorithms.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_interpreter.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_sparse.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_speculatability.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_stablehlo.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_stablehlo_bounded_dynamism.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_stablehlo_quantized.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_stablehlo_roundtrip.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/print_reduce.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/print_stablehlo.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/print_types_invalid.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/print_while.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/stablehlo_complex_math_expander.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/transform_chlo.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/transform_stablehlo.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_bounds.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_convolution.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_dynamic_conv.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_reduce.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_reduce_window.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_scatter.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_select_and_scatter.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_while.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/config_assume_no_undeclared_side_effects.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/shape_legalize_to_stablehlo.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_aggressive_folder.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_aggressive_simplification.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_canonicalize_dynamism.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_check_shape_assertions.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_compatibility_expander.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_compatibility_expander_locations.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_convert_to_signless.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_legalize_composite_to_call.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_legalize_deprecated_ops.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_legalize_qdq_to_quantized_op.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_legalize_quant_to_int.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_legalize_quantized_op_to_qdq.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_probe_instrumentation.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_refine_parameters.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_refine_shapes.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_target_independent_optimization.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_wrap_in_composite.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/invalid_vhlo_future.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/legalize_stablehlo_to_vhlo_invalid.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_10_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_11_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_12_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_13_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_14_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_15_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_16_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_17_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_18_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_19_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_20_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_9_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_0_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_10_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_11_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_12_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_13_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_1_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_2_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_3_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_4_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_5_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_6_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_7_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_8_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_9_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo_mixed.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_attributes_invalid.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_emit_version_api.1_1_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade.1_11_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade.1_8_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade.1_9_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.0_10_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.0_15_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.0_16_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.0_17_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.0_18_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.0_9_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_11_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_12_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_1_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_2_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_3_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_4_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_5_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_6_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_7_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_8_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_9_0.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_patch.mlir
/Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_invalid.mlir
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/mlx-swift_Cmlx.bundle/Contents/MacOS')
/Users/admin/builder/spi-builder-workspace/Sources/ANERuntime/ANEWatchdog.swift:48:34: [1;33mwarning: [1;39mcapture of 'operation' with non-Sendable type '() throws -> T' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m46 |[0;0m queue.async {
[0;36m47 |[0;0m do {
[0;36m48 |[0;0m let result = try operation()
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'operation' with non-Sendable type '() throws -> T' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m49 |[0;0m box.value = result
[0;36m50 |[0;0m } catch {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/HeterogeneousFusion/EmbeddingCPU.swift:50:13: [1;33mwarning: [1;39m'cblas_scopy' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available. Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m48 |[0;0m let src = tableShard + localIdx * embeddingDim
[0;36m49 |[0;0m let dst = output + pos * embeddingDim
[0;36m50 |[0;0m cblas_scopy(ed, src, 1, dst, 1)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'cblas_scopy' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available. Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m51 |[0;0m }
[0;36m52 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:162:20: [1;33mwarning: [1;39mvalue 'offset' was defined but never used; consider replacing with boolean test[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m160 |[0;0m var outputBuffers: [String: MTLBuffer] = [:]
[0;36m161 |[0;0m for (i, returnValue) in function.returnValues.enumerated() {
[0;36m162 |[0;0m if let offset = memoryPlan.tensorOffsets[returnValue] {
[0;36m|[0;0m `- [1;33mwarning: [1;39mvalue 'offset' was defined but never used; consider replacing with boolean test[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m163 |[0;0m // Output is in unified buffer - create a view or copy
[0;36m164 |[0;0m let outputType = function.outputTypes[i]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:300:17: [1;33mwarning: [1;39mcapture of 'completion' with non-Sendable type '([String : any MTLBuffer]) -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m298 |[0;0m
[0;36m299 |[0;0m commandBuffer.addCompletedHandler { [weak self] _ in
[0;36m300 |[0;0m completion(outputBuffers)
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'completion' with non-Sendable type '([String : any MTLBuffer]) -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m301 |[0;0m self?.inflightSemaphore.signal()
[0;36m302 |[0;0m dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:300:28: [1;33mwarning: [1;39mcapture of 'outputBuffers' with non-Sendable type '[String : any MTLBuffer]' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m298 |[0;0m
[0;36m299 |[0;0m commandBuffer.addCompletedHandler { [weak self] _ in
[0;36m300 |[0;0m completion(outputBuffers)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'outputBuffers' with non-Sendable type '[String : any MTLBuffer]' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m301 |[0;0m self?.inflightSemaphore.signal()
[0;36m302 |[0;0m dispatchGroup.leave()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:34:11: [1;39mnote: [1;39mprotocol 'MTLBuffer' does not conform to the 'Sendable' protocol[0;0m
[0;36m32 |[0;0m */
[0;36m33 |[0;0m API_AVAILABLE(macos(10.11), ios(8.0))
[0;36m34 |[0;0m @protocol MTLBuffer <MTLResource>
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'MTLBuffer' does not conform to the 'Sendable' protocol[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m /*!
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:8:1: [1;33mwarning: [1;39madd '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
[0;36m6 |[0;0m
[0;36m7 |[0;0m import Foundation
[0;36m8 |[0;0m import Metal
[0;36m|[0;0m `- [1;33mwarning: [1;39madd '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
[0;36m9 |[0;0m
[0;36m10 |[0;0m // MARK: - Execution Context
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:300:28: [1;33mwarning: [1;39mreference to captured var 'outputBuffers' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m298 |[0;0m
[0;36m299 |[0;0m commandBuffer.addCompletedHandler { [weak self] _ in
[0;36m300 |[0;0m completion(outputBuffers)
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'outputBuffers' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m301 |[0;0m self?.inflightSemaphore.signal()
[0;36m302 |[0;0m dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:258:48: [1;33mwarning: [1;39m'outputBuffers' mutated after capture by sendable closure[0;0m
[0;36m252 |[0;0m
[0;36m253 |[0;0m // Create output buffers
[0;36m254 |[0;0m var outputBuffers: [String: MTLBuffer] = [:]
[0;36m|[0;0m `- [1;39mnote: [1;39mvariable defined here[0;0m
[0;36m255 |[0;0m for (i, returnValue) in function.returnValues.enumerated() {
[0;36m256 |[0;0m let outputType = function.outputTypes[i]
[0;36m257 |[0;0m if let outputBuffer = device.makeBuffer(length: outputType.byteCount, options: .storageModeShared) {
[0;36m258 |[0;0m outputBuffers[returnValue] = outputBuffer
[0;36m|[0;0m `- [1;33mwarning: [1;39m'outputBuffers' mutated after capture by sendable closure[0;0m
[0;36m259 |[0;0m }
[0;36m260 |[0;0m }
[0;36m:[0;0m
[0;36m297 |[0;0m }
[0;36m298 |[0;0m
[0;36m299 |[0;0m commandBuffer.addCompletedHandler { [weak self] _ in
[0;36m|[0;0m `- [1;39mnote: [1;39mvariable captured by sendable closure[0;0m
[0;36m300 |[0;0m completion(outputBuffers)
[0;36m|[0;0m `- [1;39mnote: [1;39mcapturing use[0;0m
[0;36m301 |[0;0m self?.inflightSemaphore.signal()
[0;36m302 |[0;0m dispatchGroup.leave()
[#AddPreconcurrencyImport]: <https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1201:22: [1;33mwarning: [1;39mcapture of 'base' with non-Sendable type 'UnsafeMutablePointer<(any MTLBuffer)?>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m1199 |[0;0m // pointer initialization is safe under concurrency.
[0;36m1200 |[0;0m DispatchQueue.concurrentPerform(iterations: entries.count) { i in
[0;36m1201 |[0;0m (base + i).initialize(to: materialize(i, pooled: false))
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'base' with non-Sendable type 'UnsafeMutablePointer<(any MTLBuffer)?>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m1202 |[0;0m }
[0;36m1203 |[0;0m } else {
Swift.UnsafeMutablePointer:1:23: [1;39mnote: [1;39mgeneric struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public let _rawValue: Builtin.RawPointer
[0;36m3 |[0;0m public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1201:47: [1;33mwarning: [1;39mcapture of 'materialize(_:pooled:)' with non-Sendable type '(Int, Bool) -> (any MTLBuffer)?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m1199 |[0;0m // pointer initialization is safe under concurrency.
[0;36m1200 |[0;0m DispatchQueue.concurrentPerform(iterations: entries.count) { i in
[0;36m1201 |[0;0m (base + i).initialize(to: materialize(i, pooled: false))
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'materialize(_:pooled:)' with non-Sendable type '(Int, Bool) -> (any MTLBuffer)?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m1202 |[0;0m }
[0;36m1203 |[0;0m } else {
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1171:14: [1;33mwarning: [1;39mconcurrently-executed local function 'materialize(_:pooled:)' must be marked as '@Sendable'[0;0m
[0;36m1169 |[0;0m // writes it through a disjoint pointer slot — never mutates a shared
[0;36m1170 |[0;0m // Swift array from multiple threads.
[0;36m1171 |[0;0m func materialize(_ i: Int, pooled: Bool) -> MTLBuffer? {
[0;36m|[0;0m `- [1;33mwarning: [1;39mconcurrently-executed local function 'materialize(_:pooled:)' must be marked as '@Sendable'[0;0m
[0;36m1172 |[0;0m switch plans[i] {
[0;36m1173 |[0;0m case .none:
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/ANE/MILWeightPacker.swift:75:37: [1;33mwarning: [1;39mimmutable value 'type' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m73 |[0;0m }
[0;36m74 |[0;0m
[0;36m75 |[0;0m case .dense(let values, let type):
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'type' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m76 |[0;0m if values.count <= Self.inlineThreshold {
[0;36m77 |[0;0m let fp16Strs = values.map { formatFloat(Double(Float16(Float($0)))) }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Cache/KernelCache.swift:368:32: [1;33mwarning: [1;39m'init(bytes:)' is deprecated: Use init(bytes: UnsafeRawBufferPointer) instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m366 |[0;0m return data.withUnsafeBytes { (bytes: UnsafeRawBufferPointer) -> MTLLibrary? in
[0;36m367 |[0;0m guard let baseAddress = bytes.baseAddress else { return nil }
[0;36m368 |[0;0m let dispatchData = DispatchData(
[0;36m|[0;0m `- [1;33mwarning: [1;39m'init(bytes:)' is deprecated: Use init(bytes: UnsafeRawBufferPointer) instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m369 |[0;0m bytes: UnsafeBufferPointer(
[0;36m370 |[0;0m start: baseAddress.assumingMemoryBound(to: UInt8.self),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Optimizer/CrossLayerFusion.swift:535:13: [1;33mwarning: [1;39mvariable 'sorted' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m533 |[0;0m private func sortAndFilterMatches(_ matches: [CrossLayerMatch]) -> [CrossLayerMatch] {
[0;36m534 |[0;0m // Sort by size (larger fusions first)
[0;36m535 |[0;0m var sorted = matches.sorted { $0.operationIndices.count > $1.operationIndices.count }
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'sorted' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m536 |[0;0m
[0;36m537 |[0;0m // Filter overlapping matches
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/PassManager.swift:894:13: [1;33mwarning: [1;39mvariable 'opsToRemove' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m892 |[0;0m
[0;36m893 |[0;0m var newOperations = function.operations
[0;36m894 |[0;0m var opsToRemove = Set<Int>()
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'opsToRemove' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m895 |[0;0m var changed = false
[0;36m896 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/PassManager.swift:1030:13: [1;33mwarning: [1;39mvariable 'opsToRemove' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m1028 |[0;0m
[0;36m1029 |[0;0m var newOperations = function.operations
[0;36m1030 |[0;0m var opsToRemove = Set<Int>()
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'opsToRemove' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m1031 |[0;0m var changed = false
[0;36m1032 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/PassManager.swift:1468:17: [1;33mwarning: [1;39mvariable 'matmulIdx' was written to, but never read[0;0m
[0;36m1466 |[0;0m // Find the matmul operation (first in pattern typically)
[0;36m1467 |[0;0m var matmulOp: HLOOperation?
[0;36m1468 |[0;0m var matmulIdx: Int?
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'matmulIdx' was written to, but never read[0;0m
[0;36m1469 |[0;0m for idx in pattern.operationIndices {
[0;36m1470 |[0;0m let op = function.operations[idx]
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Optimizer/Rematerialization.swift:193:13: [1;33mwarning: [1;39minitialization of immutable value 'originalMemory' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m191 |[0;0m
[0;36m192 |[0;0m // Compute original memory usage
[0;36m193 |[0;0m let originalMemory = computePeakMemory(function, decisions: [:])
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'originalMemory' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m194 |[0;0m
[0;36m195 |[0;0m // Decide which tensors to rematerialize
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Optimizer/Rematerialization.swift:334:14: [1;33mwarning: [1;39mimmutable value 'opIndex' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m332 |[0;0m var costs: [String: RecomputationCost] = [:]
[0;36m333 |[0;0m
[0;36m334 |[0;0m for (opIndex, op) in function.operations.enumerated() {
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'opIndex' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m335 |[0;0m let memoryCost = op.resultType.byteCount
[0;36m336 |[0;0m let computeCost = estimateComputeCost(op)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Optimizer/Rematerialization.swift:470:13: [1;33mwarning: [1;39minitialization of immutable value 'averageSegmentSize' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m468 |[0;0m // With checkpointing, only need to store activations between checkpoints
[0;36m469 |[0;0m let numSegments = checkpoints.count + 1
[0;36m470 |[0;0m let averageSegmentSize = function.operations.count / numSegments
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'averageSegmentSize' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m471 |[0;0m
[0;36m472 |[0;0m // Estimate memory per segment
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/LLM/LLMOptimizations.swift:323:13: [1;33mwarning: [1;39minitialization of immutable value 'total' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m321 |[0;0m public var memoryStats: (used: Int, total: Int, utilization: Double) {
[0;36m322 |[0;0m let allocated = allocator.numAllocatedBlocks
[0;36m323 |[0;0m let total = config.maxBlocks
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'total' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m324 |[0;0m return (
[0;36m325 |[0;0m used: allocated * config.bytesPerBlock * 2,
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:917:17: [1;33mwarning: [1;39mcapture of 'completion' with non-Sendable type '(Result<ExecutionResult, any Error>) -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m915 |[0;0m
[0;36m916 |[0;0m if let error = buffer.error {
[0;36m917 |[0;0m completion(.failure(IntegratedExecutorError.executionFailed(error.localizedDescription)))
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'completion' with non-Sendable type '(Result<ExecutionResult, any Error>) -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m918 |[0;0m return
[0;36m919 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:932:36: [1;33mwarning: [1;39mreference to captured var 'kernelTimings' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m930 |[0;0m outputs: outputs,
[0;36m931 |[0;0m executionTimeMs: executionTimeMs,
[0;36m932 |[0;0m kernelTimings: kernelTimings
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'kernelTimings' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m933 |[0;0m )
[0;36m934 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1201:22: [1;33mwarning: [1;39mcapture of 'base' with non-Sendable type 'UnsafeMutablePointer<(any MTLBuffer)?>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m1199 |[0;0m // pointer initialization is safe under concurrency.
[0;36m1200 |[0;0m DispatchQueue.concurrentPerform(iterations: entries.count) { i in
[0;36m1201 |[0;0m (base + i).initialize(to: materialize(i, pooled: false))
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'base' with non-Sendable type 'UnsafeMutablePointer<(any MTLBuffer)?>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m1202 |[0;0m }
[0;36m1203 |[0;0m } else {
Swift.UnsafeMutablePointer:1:23: [1;39mnote: [1;39mgeneric struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public let _rawValue: Builtin.RawPointer
[0;36m3 |[0;0m public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1201:47: [1;33mwarning: [1;39mcapture of 'materialize(_:pooled:)' with non-Sendable type '(Int, Bool) -> (any MTLBuffer)?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m1199 |[0;0m // pointer initialization is safe under concurrency.
[0;36m1200 |[0;0m DispatchQueue.concurrentPerform(iterations: entries.count) { i in
[0;36m1201 |[0;0m (base + i).initialize(to: materialize(i, pooled: false))
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'materialize(_:pooled:)' with non-Sendable type '(Int, Bool) -> (any MTLBuffer)?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m1202 |[0;0m }
[0;36m1203 |[0;0m } else {
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1171:14: [1;33mwarning: [1;39mconcurrently-executed local function 'materialize(_:pooled:)' must be marked as '@Sendable'[0;0m
[0;36m1169 |[0;0m // writes it through a disjoint pointer slot — never mutates a shared
[0;36m1170 |[0;0m // Swift array from multiple threads.
[0;36m1171 |[0;0m func materialize(_ i: Int, pooled: Bool) -> MTLBuffer? {
[0;36m|[0;0m `- [1;33mwarning: [1;39mconcurrently-executed local function 'materialize(_:pooled:)' must be marked as '@Sendable'[0;0m
[0;36m1172 |[0;0m switch plans[i] {
[0;36m1173 |[0;0m case .none:
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1503:17: [1;33mwarning: [1;39mcapture of 'completion' with non-Sendable type '(Result<ExecutionResult, any Error>) -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m1501 |[0;0m commandBuffer.addCompletedHandler { buffer in
[0;36m1502 |[0;0m if let error = buffer.error {
[0;36m1503 |[0;0m completion(.failure(IntegratedExecutorError.executionFailed(error.localizedDescription)))
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'completion' with non-Sendable type '(Result<ExecutionResult, any Error>) -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m1504 |[0;0m return
[0;36m1505 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/LayerAccumulationBuffer.swift:132:27: [1;33mwarning: [1;39mresult of call to 'withUnsafeBytes' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m130 |[0;0m // Copy from Data
[0;36m131 |[0;0m let dst = buffer.contents().advanced(by: offset)
[0;36m132 |[0;0m snapshot.data.withUnsafeBytes [4;39m{ ptr in[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'withUnsafeBytes' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m133 |[0;0m memcpy(dst, ptr.baseAddress!, min(ptr.count, config.snapshotBytes))
[0;36m134 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:517:9: [1;33mwarning: [1;39m'sgesdd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m515 |[0;0m var wkopt = Float(0)
[0;36m516 |[0;0m var lwork = __CLPK_integer(-1)
[0;36m517 |[0;0m sgesdd_(&jobz, &lm, &ln, &a, &lda, &s, &u, &ldu, &vt, &ldvt, &wkopt, &lwork, &iwork, &info)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'sgesdd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m518 |[0;0m lwork = __CLPK_integer(wkopt)
[0;36m519 |[0;0m var work = [Float](repeating: 0, count: Int(max(1, lwork)))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:520:9: [1;33mwarning: [1;39m'sgesdd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m518 |[0;0m lwork = __CLPK_integer(wkopt)
[0;36m519 |[0;0m var work = [Float](repeating: 0, count: Int(max(1, lwork)))
[0;36m520 |[0;0m sgesdd_(&jobz, &lm, &ln, &a, &lda, &s, &u, &ldu, &vt, &ldvt, &work, &lwork, &iwork, &info)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'sgesdd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m521 |[0;0m
[0;36m522 |[0;0m guard info == 0 else {
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:604:9: [1;33mwarning: [1;39m'sgeqrf_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m602 |[0;0m var wkopt = Float(0)
[0;36m603 |[0;0m var lwork = __CLPK_integer(-1)
[0;36m604 |[0;0m sgeqrf_(&lm, &ln, &a, &lda, &tau, &wkopt, &lwork, &info)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'sgeqrf_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m605 |[0;0m lwork = __CLPK_integer(wkopt)
[0;36m606 |[0;0m var work = [Float](repeating: 0, count: Int(max(1, lwork)))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:607:9: [1;33mwarning: [1;39m'sgeqrf_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m605 |[0;0m lwork = __CLPK_integer(wkopt)
[0;36m606 |[0;0m var work = [Float](repeating: 0, count: Int(max(1, lwork)))
[0;36m607 |[0;0m sgeqrf_(&lm, &ln, &a, &lda, &tau, &work, &lwork, &info)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'sgeqrf_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m608 |[0;0m guard info == 0 else {
[0;36m609 |[0;0m throw ExecutorError.generalError("LAPACK sgeqrf failed with info=\(info)")
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:626:9: [1;33mwarning: [1;39m'sorgqr_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m624 |[0;0m wkopt = 0
[0;36m625 |[0;0m lwork = __CLPK_integer(-1)
[0;36m626 |[0;0m sorgqr_(&lm, &lqcols, &lk, &a, &lda, &tau, &wkopt, &lwork, &info)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'sorgqr_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m627 |[0;0m lwork = __CLPK_integer(wkopt)
[0;36m628 |[0;0m work = [Float](repeating: 0, count: Int(max(1, lwork)))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:629:9: [1;33mwarning: [1;39m'sorgqr_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m627 |[0;0m lwork = __CLPK_integer(wkopt)
[0;36m628 |[0;0m work = [Float](repeating: 0, count: Int(max(1, lwork)))
[0;36m629 |[0;0m sorgqr_(&lm, &lqcols, &lk, &a, &lda, &tau, &work, &lwork, &info)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'sorgqr_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m630 |[0;0m guard info == 0 else {
[0;36m631 |[0;0m throw ExecutorError.generalError("LAPACK sorgqr failed with info=\(info)")
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:713:9: [1;33mwarning: [1;39m'ssyevd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m711 |[0;0m var lwork = __CLPK_integer(-1)
[0;36m712 |[0;0m var liwork = __CLPK_integer(-1)
[0;36m713 |[0;0m ssyevd_(&jobz, &uplo, &ln, &a, &lda, &w, &wkopt, &lwork, &iwkopt, &liwork, &info)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'ssyevd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m714 |[0;0m lwork = __CLPK_integer(wkopt)
[0;36m715 |[0;0m liwork = iwkopt
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:718:9: [1;33mwarning: [1;39m'ssyevd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m716 |[0;0m var work = [Float](repeating: 0, count: Int(max(1, lwork)))
[0;36m717 |[0;0m var iwork = [__CLPK_integer](repeating: 0, count: Int(max(1, liwork)))
[0;36m718 |[0;0m ssyevd_(&jobz, &uplo, &ln, &a, &lda, &w, &work, &lwork, &iwork, &liwork, &info)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'ssyevd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated. Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m719 |[0;0m
[0;36m720 |[0;0m guard info == 0 else {
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/NeuralEngineTargeting.swift:933:13: [1;33mwarning: [1;39minitialization of immutable value 'opMap' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m931 |[0;0m function: HLOFunction
[0;36m932 |[0;0m ) -> Int {
[0;36m933 |[0;0m let opMap = Dictionary(uniqueKeysWithValues: function.operations.map { ($0.result, $0) })
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'opMap' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m934 |[0;0m let partitionOpSet = Set(partition.operationIds)
[0;36m935 |[0;0m let partitionOps = function.operations.filter { partitionOpSet.contains($0.result) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Optimizer/FusionPatterns.swift:1055:13: [1;33mwarning: [1;39mvariable 'foundSquare' was written to, but never read[0;0m
[0;36m1053 |[0;0m
[0;36m1054 |[0;0m var foundRsqrt = false
[0;36m1055 |[0;0m var foundSquare = false
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'foundSquare' was written to, but never read[0;0m
[0;36m1056 |[0;0m var foundReduce = false
[0;36m1057 |[0;0m var foundMeanSubtract = false // Should NOT be present for RMSNorm
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CustomCallHandlers.swift:694:13: [1;33mwarning: [1;39minitialization of immutable value 'approximate' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m692 |[0;0m
[0;36m693 |[0;0m let x = inputs[0]
[0;36m694 |[0;0m let approximate = BackendConfigParser.getBool(config, key: "approximate", default: false)
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'approximate' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m695 |[0;0m
[0;36m696 |[0;0m // GELU: 0.5 * x * (1 + tanh(sqrt(2/pi) * (x + 0.044715 * x^3)))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CustomCallHandlers.swift:749:13: [1;33mwarning: [1;39mvariable 'startIndices1' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m747 |[0;0m // Split x into first half and second half along last dimension
[0;36m748 |[0;0m // x1 = x[..., :halfDim], x2 = x[..., halfDim:]
[0;36m749 |[0;0m var startIndices1 = [Int](repeating: 0, count: rank)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'startIndices1' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m750 |[0;0m var endIndices1 = xShape.map { $0.intValue }
[0;36m751 |[0;0m endIndices1[rank - 1] = halfDim
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CustomCallHandlers.swift:789:17: [1;33mwarning: [1;39mvariable 'cosStart' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m787 |[0;0m // freqs contains both cos and sin interleaved or concatenated
[0;36m788 |[0;0m // Assume first half is cos, second half is sin
[0;36m789 |[0;0m var cosStart = [Int](repeating: 0, count: freqsRank)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'cosStart' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m790 |[0;0m var cosEnd = freqsShape.map { $0.intValue }
[0;36m791 |[0;0m cosEnd[freqsRank - 1] = halfDim
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:3333:13: [1;33mwarning: [1;39mimmutable value 'targetInputOrder' was never used; consider removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m3331 |[0;0m
[0;36m3332 |[0;0m // Transpose input to target layout
[0;36m3333 |[0;0m let targetInputOrder: [Int]
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'targetInputOrder' was never used; consider removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m3334 |[0;0m switch targetDataLayout {
[0;36m3335 |[0;0m case .NHWC:
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:3364:13: [1;33mwarning: [1;39mimmutable value 'targetKernelOrder' was never used; consider removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m3362 |[0;0m
[0;36m3363 |[0;0m // Transpose weights if needed
[0;36m3364 |[0;0m let targetKernelOrder: [Int]
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'targetKernelOrder' was never used; consider removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m3365 |[0;0m switch targetWeightsLayout {
[0;36m3366 |[0;0m case .HWIO:
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:3412:13: [1;33mwarning: [1;39mimmutable value 'mpsOutputOrder' was never used; consider removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m3410 |[0;0m ]
[0;36m3411 |[0;0m
[0;36m3412 |[0;0m let mpsOutputOrder: [Int]
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'mpsOutputOrder' was never used; consider removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m3413 |[0;0m switch sourceDataLayout {
[0;36m3414 |[0;0m case .NHWC:
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:4366:17: [1;33mwarning: [1;39minitialization of immutable value 'mask' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m4364 |[0;0m if bitsToRound > 0 {
[0;36m4365 |[0;0m // RNE: absBits = (absBits + ((1<<(bitsToRound-1)) - 1) + keptLSB) & ~mask
[0;36m4366 |[0;0m let mask = u32((UInt32(1) << UInt32(bitsToRound)) - 1)
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'mask' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m4367 |[0;0m let shifted = graph.bitwiseRightShift(absBits, u32(UInt32(bitsToRound)), name: nil)
[0;36m4368 |[0;0m let keptLSB = graph.bitwiseAND(shifted, u32(1), name: nil)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:4778:97: [1;33mwarning: [1;39mleft side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used[0;0m
[0;36m4776 |[0;0m // entries above the diagonal (row < j) are zero.
[0;36m4777 |[0;0m var cols: [MPSGraphTensor] = Array(
[0;36m4778 |[0;0m repeating: graph.constant(0.0, shape: [NSNumber(value: n), 1], dataType: [4;39ma.dataType[0;0m ?? .float32),
[0;36m|[0;0m `- [1;33mwarning: [1;39mleft side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used[0;0m
[0;36m4779 |[0;0m count: n
[0;36m4780 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:4809:61: [1;33mwarning: [1;39mleft side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used[0;0m
[0;36m4807 |[0;0m // rowIdx[i] = i ; keep where rowIdx >= j.
[0;36m4808 |[0;0m let rowIdx = graph.coordinate(alongAxis: 0, withShape: [NSNumber(value: n), 1], name: nil)
[0;36m4809 |[0;0m let rowIdxF = graph.cast(rowIdx, to: [4;39ma.dataType[0;0m ?? .float32, name: nil)
[0;36m|[0;0m `- [1;33mwarning: [1;39mleft side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used[0;0m
[0;36m4810 |[0;0m let jConst = graph.constant(Double(j), shape: [1, 1], dataType: a.dataType ?? .float32)
[0;36m4811 |[0;0m let keepMask = graph.greaterThanOrEqualTo(rowIdxF, jConst, name: nil) // bool [N,1]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:4810:88: [1;33mwarning: [1;39mleft side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used[0;0m
[0;36m4808 |[0;0m let rowIdx = graph.coordinate(alongAxis: 0, withShape: [NSNumber(value: n), 1], name: nil)
[0;36m4809 |[0;0m let rowIdxF = graph.cast(rowIdx, to: a.dataType ?? .float32, name: nil)
[0;36m4810 |[0;0m let jConst = graph.constant(Double(j), shape: [1, 1], dataType: [4;39ma.dataType[0;0m ?? .float32)
[0;36m|[0;0m `- [1;33mwarning: [1;39mleft side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used[0;0m
[0;36m4811 |[0;0m let keepMask = graph.greaterThanOrEqualTo(rowIdxF, jConst, name: nil) // bool [N,1]
[0;36m4812 |[0;0m let zero = graph.constant(0.0, shape: [NSNumber(value: n), 1], dataType: a.dataType ?? .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:4812:97: [1;33mwarning: [1;39mleft side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used[0;0m
[0;36m4810 |[0;0m let jConst = graph.constant(Double(j), shape: [1, 1], dataType: a.dataType ?? .float32)
[0;36m4811 |[0;0m let keepMask = graph.greaterThanOrEqualTo(rowIdxF, jConst, name: nil) // bool [N,1]
[0;36m4812 |[0;0m let zero = graph.constant(0.0, shape: [NSNumber(value: n), 1], dataType: [4;39ma.dataType[0;0m ?? .float32)
[0;36m|[0;0m `- [1;33mwarning: [1;39mleft side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used[0;0m
[0;36m4813 |[0;0m let colJ = graph.select(predicate: keepMask, trueTensor: divided, falseTensor: zero, name: nil)
[0;36m4814 |[0;0m
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:505:13: [1;33mwarning: [1;39minitialization of immutable value 'totalElements' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m503 |[0;0m ) -> (String, String, TuningConfig?) {
[0;36m504 |[0;0m let outputShape = outputShapes.first ?? []
[0;36m505 |[0;0m let totalElements = outputShape.reduce(1, *)
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'totalElements' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m506 |[0;0m let entryPoint = "kernel_\(opKind.rawValue)"
[0;36m507 |[0;0m let metalType = metalTypeName(for: elementType)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:1428:13: [1;33mwarning: [1;39minitialization of immutable value 'indexGridSize' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1426 |[0;0m if i != dimNumbers.indexVectorDim { indexGridShape.append(s) }
[0;36m1427 |[0;0m }
[0;36m1428 |[0;0m let indexGridSize = max(indexGridShape.reduce(1, *), 1)
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'indexGridSize' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1429 |[0;0m
[0;36m1430 |[0;0m // Non-collapsed, non-batched operand dims → these are offset dims in order
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:1443:13: [1;33mwarning: [1;39minitialization of immutable value 'offsetTotalSize' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1441 |[0;0m offsetSizes.append(sliceSizes[d])
[0;36m1442 |[0;0m }
[0;36m1443 |[0;0m let offsetTotalSize = max(offsetSizes.reduce(1, *), 1)
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'offsetTotalSize' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1444 |[0;0m
[0;36m1445 |[0;0m // Number of index components per grid point
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:1446:13: [1;33mwarning: [1;39minitialization of immutable value 'numIndexComponents' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1444 |[0;0m
[0;36m1445 |[0;0m // Number of index components per grid point
[0;36m1446 |[0;0m let numIndexComponents = dimNumbers.startIndexMap.count
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'numIndexComponents' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1447 |[0;0m
[0;36m1448 |[0;0m // Indices stride for index_vector_dim
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:1578:13: [1;33mwarning: [1;39minitialization of immutable value 'sliceSizes' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1576 |[0;0m let batchSize = operandShape[batchDim]
[0;36m1577 |[0;0m let startIndexMap = dimNumbers.startIndexMap
[0;36m1578 |[0;0m let sliceSizes = dimNumbers.sliceSizes
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'sliceSizes' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1579 |[0;0m let numStartIndices = startIndexMap.count
[0;36m1580 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:2124:13: [1;33mwarning: [1;39minitialization of immutable value 'updateElements' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m2122 |[0;0m let rank = operandShape.count
[0;36m2123 |[0;0m let totalElements = operandShape.reduce(1, *)
[0;36m2124 |[0;0m let updateElements = updateShape.reduce(1, *)
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'updateElements' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m2125 |[0;0m
[0;36m2126 |[0;0m // Calculate strides
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:2751:13: [1;33mwarning: [1;39minitialization of immutable value 'totalInputElements' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m2749 |[0;0m ) -> (String, String, TuningConfig?) {
[0;36m2750 |[0;0m // Compute reduction parameters
[0;36m2751 |[0;0m let totalInputElements = inputShape.reduce(1, *)
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'totalInputElements' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m2752 |[0;0m let reduceDimSorted = reduceDims.sorted()
[0;36m2753 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:2765:13: [1;33mwarning: [1;39minitialization of immutable value 'outputCount' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m2763 |[0;0m if !reduceDimSorted.contains(i) { outputShape.append(s) }
[0;36m2764 |[0;0m }
[0;36m2765 |[0;0m let outputCount = max(outputShape.reduce(1, *), 1)
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'outputCount' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m2766 |[0;0m
[0;36m2767 |[0;0m // innerSize = product of dims after last reduce dim
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:2769:13: [1;33mwarning: [1;39minitialization of immutable value 'innerSize' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m2767 |[0;0m // innerSize = product of dims after last reduce dim
[0;36m2768 |[0;0m let lastReduceDim = reduceDimSorted.last ?? 0
[0;36m2769 |[0;0m let innerSize = lastReduceDim + 1 < inputShape.count
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'innerSize' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m2770 |[0;0m ? inputShape.suffix(from: lastReduceDim + 1).reduce(1, *)
[0;36m2771 |[0;0m : 1
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:3017:13: [1;33mwarning: [1;39minitialization of immutable value 'outputCount' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m3015 |[0;0m outputShape.append(s)
[0;36m3016 |[0;0m }
[0;36m3017 |[0;0m let outputCount = max(outputShape.reduce(1, *), 1)
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'outputCount' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m3018 |[0;0m
[0;36m3019 |[0;0m // innerSize = product of dims after the last reduced dim, so the scan
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:3022:13: [1;33mwarning: [1;39minitialization of immutable value 'innerSize' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m3020 |[0;0m // strides over the reduce axis correctly for non-trailing reductions.
[0;36m3021 |[0;0m let lastReduceDim = reduceDimSorted.last ?? 0
[0;36m3022 |[0;0m let innerSize = lastReduceDim + 1 < inputShape.count
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'innerSize' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m3023 |[0;0m ? inputShape.suffix(from: lastReduceDim + 1).reduce(1, *)
[0;36m3024 |[0;0m : 1
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:3414:13: [1;33mwarning: [1;39minitialization of immutable value 'batchSize' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m3412 |[0;0m
[0;36m3413 |[0;0m let totalOutputElements = outputShape.reduce(1, *)
[0;36m3414 |[0;0m let batchSize = totalOutputElements / (fftType == .rfft ? (N / 2 + 1) : N)
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'batchSize' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m3415 |[0;0m let isInverse = (fftType == .ifft || fftType == .irfft)
[0;36m3416 |[0;0m let sign = isInverse ? "1.0" : "-1.0"
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:4308:13: [1;33mwarning: [1;39minitialization of immutable value 'sm' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m4306 |[0;0m private func generateMatMul2dNAXSource() -> (String, String, TuningConfig?) {
[0;36m4307 |[0;0m let c = CodeGenerator.naxGemmConfig()
[0;36m4308 |[0;0m let sm = c.bm / c.wm
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'sm' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m4309 |[0;0m let sn = c.bn / c.wn
[0;36m4310 |[0;0m let nsg = c.wm * c.wn
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:4309:13: [1;33mwarning: [1;39minitialization of immutable value 'sn' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m4307 |[0;0m let c = CodeGenerator.naxGemmConfig()
[0;36m4308 |[0;0m let sm = c.bm / c.wm
[0;36m4309 |[0;0m let sn = c.bn / c.wn
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'sn' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m4310 |[0;0m let nsg = c.wm * c.wn
[0;36m4311 |[0;0m // MLX uses swizzle_log=2 for 's'/Pro devices: reshapes the launch grid
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal:6:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:3:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/attn.h:6:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/../../steel/attn/mma.h:11:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/../../steel/utils/integral_constant.h:108:6: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (start < stop) {
^
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal:6:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:356:16: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (is_bool) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:426:14: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (BD == 128) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:436:14: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (BD == 128) {
^
4 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/PJRTMetalHLO/PJRTDevice.swift:279:9: [1;33mwarning: [1;39minitialization of immutable value 'totalBytes' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m277 |[0;0m
[0;36m278 |[0;0m // Report recommended max working set size as total memory
[0;36m279 |[0;0m let totalBytes = Int64(mtl.recommendedMaxWorkingSetSize)
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'totalBytes' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m280 |[0;0m args.pointee.bytes_in_use = 0 // Not easily tracked per-device in Metal
[0;36m281 |[0;0m return nil
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:144:16: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m142 |[0;0m
[0;36m143 |[0;0m let data = uniformFloat32(count: count)
[0;36m144 |[0;0m return try client.createBuffer(data, shape: shape)
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m145 |[0;0m }
[0;36m146 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:170:16: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m168 |[0;0m
[0;36m169 |[0;0m let data = uniformFloat32(count: count, min: min, max: max)
[0;36m170 |[0;0m return try client.createBuffer(data, shape: shape)
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m171 |[0;0m }
[0;36m172 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:182:16: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m180 |[0;0m let count = shape.reduce(1, *)
[0;36m181 |[0;0m let data = normalFloat32(count: count, mean: mean, stdDev: stdDev)
[0;36m182 |[0;0m return try client.createBuffer(data, shape: shape)
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m183 |[0;0m }
[0;36m184 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:205:20: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m203 |[0;0m switch elementType {
[0;36m204 |[0;0m case .float32:
[0;36m205 |[0;0m return try client.createBuffer(zerosFloat32(count: count), shape: shape)
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m206 |[0;0m case .float16:
[0;36m207 |[0;0m let data = [Float16](repeating: 0, count: count)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:214:20: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m212 |[0;0m default:
[0;36m213 |[0;0m // Fallback to float32
[0;36m214 |[0;0m return try client.createBuffer(zerosFloat32(count: count), shape: shape)
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m215 |[0;0m }
[0;36m216 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:227:16: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m225 |[0;0m data[i * size + i] = 1.0
[0;36m226 |[0;0m }
[0;36m227 |[0;0m return try client.createBuffer(data, shape: [size, size])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m228 |[0;0m }
[0;36m229 |[0;0m }
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:479:33: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m477 |[0;0m let input = try gen.createUniformFloat32Buffer(client: client, shape: [1, 56, 56, 64])
[0;36m478 |[0;0m let conv1_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
[0;36m479 |[0;0m let bn1_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m480 |[0;0m let bn1_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
[0;36m481 |[0;0m let bn1_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:482:31: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m480 |[0;0m let bn1_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
[0;36m481 |[0;0m let bn1_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
[0;36m482 |[0;0m let bn1_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m483 |[0;0m let conv2_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
[0;36m484 |[0;0m let bn2_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:484:33: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m482 |[0;0m let bn1_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
[0;36m483 |[0;0m let conv2_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
[0;36m484 |[0;0m let bn2_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m485 |[0;0m let bn2_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
[0;36m486 |[0;0m let bn2_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:487:31: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m485 |[0;0m let bn2_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
[0;36m486 |[0;0m let bn2_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
[0;36m487 |[0;0m let bn2_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m488 |[0;0m return [input, conv1_w, bn1_scale, bn1_offset, bn1_mean, bn1_var, conv2_w, bn2_scale, bn2_offset, bn2_mean, bn2_var]
[0;36m489 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:530:33: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m528 |[0;0m let input = try gen.createUniformFloat32Buffer(client: client, shape: [8, 56, 56, 64])
[0;36m529 |[0;0m let conv1_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
[0;36m530 |[0;0m let bn1_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m531 |[0;0m let bn1_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
[0;36m532 |[0;0m let bn1_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:533:31: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m531 |[0;0m let bn1_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
[0;36m532 |[0;0m let bn1_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
[0;36m533 |[0;0m let bn1_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m534 |[0;0m let conv2_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
[0;36m535 |[0;0m let bn2_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:535:33: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m533 |[0;0m let bn1_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
[0;36m534 |[0;0m let conv2_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
[0;36m535 |[0;0m let bn2_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m536 |[0;0m let bn2_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
[0;36m537 |[0;0m let bn2_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:538:31: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m536 |[0;0m let bn2_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
[0;36m537 |[0;0m let bn2_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
[0;36m538 |[0;0m let bn2_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m539 |[0;0m return [input, conv1_w, bn1_scale, bn1_offset, bn1_mean, bn1_var, conv2_w, bn2_scale, bn2_offset, bn2_mean, bn2_var]
[0;36m540 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1020:29: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1018 |[0;0m let gen = TestDataGenerator(seed: 42)
[0;36m1019 |[0;0m let x = try gen.createUniformFloat32Buffer(client: client, shape: [1, 128, 768])
[0;36m1020 |[0;0m let ln1_g = try client.createBuffer([Float](repeating: 1.0, count: 768), shape: [768])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1021 |[0;0m let ln1_b = try gen.createZerosBuffer(client: client, shape: [768], elementType: .float32)
[0;36m1022 |[0;0m let wq = try gen.createNormalFloat32Buffer(client: client, shape: [768, 768], mean: 0, stdDev: 0.02)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1026:29: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1024 |[0;0m let wv = try gen.createNormalFloat32Buffer(client: client, shape: [768, 768], mean: 0, stdDev: 0.02)
[0;36m1025 |[0;0m let wo = try gen.createNormalFloat32Buffer(client: client, shape: [768, 768], mean: 0, stdDev: 0.02)
[0;36m1026 |[0;0m let ln2_g = try client.createBuffer([Float](repeating: 1.0, count: 768), shape: [768])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1027 |[0;0m let ln2_b = try gen.createZerosBuffer(client: client, shape: [768], elementType: .float32)
[0;36m1028 |[0;0m let ff_w1 = try gen.createNormalFloat32Buffer(client: client, shape: [768, 3072], mean: 0, stdDev: 0.02)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1159:38: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1157 |[0;0m tokenIds.append(Int32(gen.uniformFloat32(count: 1)[0] * 29999))
[0;36m1158 |[0;0m }
[0;36m1159 |[0;0m let tokenIdsBuffer = try client.createBuffer(tokenIds, shape: [8, 128])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1160 |[0;0m return [embeddings, tokenIdsBuffer]
[0;36m1161 |[0;0m },
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1201:28: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1199 |[0;0m let images = try gen.createUniformFloat32Buffer(client: client, shape: [32, 224, 224, 3], min: 0, max: 255)
[0;36m1200 |[0;0m // ImageNet mean and std
[0;36m1201 |[0;0m let mean = try client.createBuffer([Float(123.675), Float(116.28), Float(103.53)], shape: [3])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1202 |[0;0m let std = try client.createBuffer([Float(58.395), Float(57.12), Float(57.375)], shape: [3])
[0;36m1203 |[0;0m return [images, mean, std]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1202:27: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1200 |[0;0m // ImageNet mean and std
[0;36m1201 |[0;0m let mean = try client.createBuffer([Float(123.675), Float(116.28), Float(103.53)], shape: [3])
[0;36m1202 |[0;0m let std = try client.createBuffer([Float(58.395), Float(57.12), Float(57.375)], shape: [3])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1203 |[0;0m return [images, mean, std]
[0;36m1204 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1261:36: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1259 |[0;0m labels.append(Int32(gen.uniformFloat32(count: 1)[0] * 999))
[0;36m1260 |[0;0m }
[0;36m1261 |[0;0m let labelsBuffer = try client.createBuffer(labels, shape: [32])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1262 |[0;0m return [logits, labelsBuffer]
[0;36m1263 |[0;0m }
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:493:25: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m491 |[0;0m let gen = TestDataGenerator(seed: 42)
[0;36m492 |[0;0m let a = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 1024])
[0;36m493 |[0;0m let b = try client.createBuffer([1.5], shape: [1])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m494 |[0;0m return [a, b]
[0;36m495 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:870:25: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m868 |[0;0m """,
[0;36m869 |[0;0m inputGenerator: { client in
[0;36m870 |[0;0m return [try client.createBuffer([Int32(0)], shape: [1])]
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m871 |[0;0m }
[0;36m872 |[0;0m ))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1082:30: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1080 |[0;0m let gen = TestDataGenerator(seed: 42)
[0;36m1081 |[0;0m let input = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 1024])
[0;36m1082 |[0;0m let start0 = try client.createBuffer([Int32(128)], shape: [1])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1083 |[0;0m let start1 = try client.createBuffer([Int32(128)], shape: [1])
[0;36m1084 |[0;0m return [input, start0, start1]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1083:30: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1081 |[0;0m let input = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 1024])
[0;36m1082 |[0;0m let start0 = try client.createBuffer([Int32(128)], shape: [1])
[0;36m1083 |[0;0m let start1 = try client.createBuffer([Int32(128)], shape: [1])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1084 |[0;0m return [input, start0, start1]
[0;36m1085 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1107:30: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1105 |[0;0m let input = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 1024])
[0;36m1106 |[0;0m let update = try gen.createUniformFloat32Buffer(client: client, shape: [256, 256])
[0;36m1107 |[0;0m let start0 = try client.createBuffer([Int32(128)], shape: [1])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1108 |[0;0m let start1 = try client.createBuffer([Int32(128)], shape: [1])
[0;36m1109 |[0;0m return [input, update, start0, start1]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1108:30: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1106 |[0;0m let update = try gen.createUniformFloat32Buffer(client: client, shape: [256, 256])
[0;36m1107 |[0;0m let start0 = try client.createBuffer([Int32(128)], shape: [1])
[0;36m1108 |[0;0m let start1 = try client.createBuffer([Int32(128)], shape: [1])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1109 |[0;0m return [input, update, start0, start1]
[0;36m1110 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1141:37: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1139 |[0;0m indices.append(Int32(gen.uniformFloat32(count: 1)[0] * 9999))
[0;36m1140 |[0;0m }
[0;36m1141 |[0;0m let indicesBuffer = try client.createBuffer(indices, shape: [1024])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1142 |[0;0m return [table, indicesBuffer]
[0;36m1143 |[0;0m },
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1188:37: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1186 |[0;0m indices.append(Int32(gen.uniformFloat32(count: 1)[0] * 9999))
[0;36m1187 |[0;0m }
[0;36m1188 |[0;0m let indicesBuffer = try client.createBuffer(indices, shape: [1024, 1])
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m1189 |[0;0m let updates = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 256])
[0;36m1190 |[0;0m return [table, indicesBuffer, updates]
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/BenchmarkResult.swift:262:24: [1;33mwarning: [1;39m'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m260 |[0;0m var buffer = [CChar](repeating: 0, count: size)
[0;36m261 |[0;0m sysctlbyname("machdep.cpu.brand_string", &buffer, &size, nil, 0)
[0;36m262 |[0;0m chipName = String(cString: buffer)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m263 |[0;0m }
[0;36m264 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/BenchmarkResult.swift:272:28: [1;33mwarning: [1;39m'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m270 |[0;0m var buffer = [CChar](repeating: 0, count: size)
[0;36m271 |[0;0m sysctlbyname("hw.model", &buffer, &size, nil, 0)
[0;36m272 |[0;0m chipName = String(cString: buffer)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m273 |[0;0m }
[0;36m274 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:341:17: [1;33mwarning: [1;39minitialization of immutable value 'params' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m339 |[0;0m for i in 0..<numCalls {
[0;36m340 |[0;0m let depth = i + 2
[0;36m341 |[0;0m let params = DepthAttentionParams(batchSize: batchSize, depthDim: depth, hiddenDim: hiddenDim, scale: scale)
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'params' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m342 |[0;0m let numSG = DepthAttentionKernel.optimalSimdgroups(hiddenDim: hiddenDim)
[0;36m343 |[0;0m var gpuParams = GPUDepthAttentionParamsPublic(
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:410:9: [1;33mwarning: [1;39minitialization of immutable value 'layersPerBlock' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m408 |[0;0m let numLayers = 12
[0;36m409 |[0;0m let numBlocks = 8
[0;36m410 |[0;0m let layersPerBlock = numLayers / numBlocks
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'layersPerBlock' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m411 |[0;0m let hiddenDim = 768
[0;36m412 |[0;0m let scale: Float = 1.0 / sqrt(Float(hiddenDim))
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:420:13: [1;33mwarning: [1;39minitialization of immutable value 'matmulElements' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m418 |[0;0m for batchSize in [1, 4, 8, 16, 32] {
[0;36m419 |[0;0m let totalQ = batchSize * hiddenDim
[0;36m420 |[0;0m let matmulElements = batchSize * hiddenDim * hiddenDim
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'matmulElements' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m421 |[0;0m
[0;36m422 |[0;0m // Allocate weight matrix and hidden state buffers
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:425:13: [1;33mwarning: [1;39minitialization of immutable value 'weightBuf' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m423 |[0;0m var weightData = [Float](repeating: 0, count: hiddenDim * hiddenDim)
[0;36m424 |[0;0m for i in 0..<weightData.count { weightData[i] = Float.random(in: -0.01...0.01) }
[0;36m425 |[0;0m let weightBuf = device.makeBuffer(bytes: weightData, length: hiddenDim * hiddenDim * 4, options: .storageModeShared)!
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'weightBuf' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m426 |[0;0m
[0;36m427 |[0;0m var hData = [Float](repeating: 0, count: totalQ)
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:429:13: [1;33mwarning: [1;39minitialization of immutable value 'hBuf' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m427 |[0;0m var hData = [Float](repeating: 0, count: totalQ)
[0;36m428 |[0;0m for i in 0..<totalQ { hData[i] = Float.random(in: -0.5...0.5) }
[0;36m429 |[0;0m let hBuf = device.makeBuffer(bytes: hData, length: totalQ * 4, options: .storageModeShared)!
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'hBuf' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m430 |[0;0m let outBuf = device.makeBuffer(length: totalQ * 4, options: .storageModeShared)!
[0;36m431 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:430:13: [1;33mwarning: [1;39minitialization of immutable value 'outBuf' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m428 |[0;0m for i in 0..<totalQ { hData[i] = Float.random(in: -0.5...0.5) }
[0;36m429 |[0;0m let hBuf = device.makeBuffer(bytes: hData, length: totalQ * 4, options: .storageModeShared)!
[0;36m430 |[0;0m let outBuf = device.makeBuffer(length: totalQ * 4, options: .storageModeShared)!
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'outBuf' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m431 |[0;0m
[0;36m432 |[0;0m // --- Standard path: 12 matmuls (simulate layer compute), no depth attention ---
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Build complete.
{
"dependencies" : [
{
"identity" : "mlx-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.21.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift"
}
],
"manifest_display_name" : "MetalHLO",
"name" : "MetalHLO",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "MetalHLO",
"targets" : [
"MetalHLO"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CMetalHLO",
"targets" : [
"CMetalHLO"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "PJRTMetalHLO",
"targets" : [
"PJRTMetalHLO"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "ANERuntime",
"targets" : [
"ANERuntime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MetalHLOBenchmarks",
"targets" : [
"MetalHLOBenchmarks"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXBenchmarks",
"targets" : [
"MLXBenchmarks"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "benchmark-runner",
"targets" : [
"BenchmarkRunner"
],
"type" : {
"executable" : null
}
},
{
"name" : "mlx-comparison",
"targets" : [
"MLXComparison"
],
"type" : {
"executable" : null
}
},
{
"name" : "HeterogeneousFusionBenchmark",
"targets" : [
"HeterogeneousFusionBenchmark"
],
"type" : {
"executable" : null
}
},
{
"name" : "GPT2EndToEnd",
"targets" : [
"GPT2EndToEnd"
],
"type" : {
"executable" : null
}
},
{
"name" : "DepthAttentionBenchmark",
"targets" : [
"DepthAttentionBenchmark"
],
"type" : {
"executable" : null
}
},
{
"name" : "CalibrateTest",
"targets" : [
"CalibrateTest"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "PJRTMetalHLOTests",
"module_type" : "SwiftTarget",
"name" : "PJRTMetalHLOTests",
"path" : "Tests/PJRTMetalHLOTests",
"sources" : [
"PJRTPluginTests.swift"
],
"target_dependencies" : [
"PJRTMetalHLO",
"MetalHLO"
],
"type" : "test"
},
{
"c99name" : "PJRTMetalHLO",
"module_type" : "SwiftTarget",
"name" : "PJRTMetalHLO",
"path" : "Sources/PJRTMetalHLO",
"product_memberships" : [
"PJRTMetalHLO"
],
"sources" : [
"OpaquePointerHelpers.swift",
"PJRTApi.swift",
"PJRTBuffer.swift",
"PJRTClient.swift",
"PJRTDevice.swift",
"PJRTError.swift",
"PJRTEvent.swift",
"PJRTExecutable.swift",
"PJRTMemory.swift",
"PJRTTopology.swift"
],
"target_dependencies" : [
"MetalHLO",
"MetalHLOCore",
"CPJRTApi",
"ANERuntime"
],
"type" : "library"
},
{
"c99name" : "MetalHLOTests",
"module_type" : "SwiftTarget",
"name" : "MetalHLOTests",
"path" : "Tests/MetalHLOTests",
"sources" : [
"ActivationOpsTests.swift",
"CAPITests.swift",
"ClientTests.swift",
"Conformance/ConformanceAnalyzer.swift",
"Conformance/ConformanceTestCLI.swift",
"Conformance/ConformanceTestRunner.swift",
"Conformance/StableHLO/IndexingConformanceTests.swift",
"Conformance/StableHLO/IndexingOperationsDiagnostic.swift",
"Conformance/StableHLO/InterpretTestParser.swift",
"Conformance/StableHLO/InterpretTestRunner.swift",
"Conformance/StableHLO/OfficialConformanceTests.swift",
"Conformance/StableHLO/OfficialTestManager.swift",
"Conformance/StableHLO/OptimizationBugDiagnostic.swift",
"Conformance/StableHLO/OptimizationCorrectnessTests.swift",
"Conformance/StableHLOConformanceTests.swift",
"Conformance/StableHLOTestManager.swift",
"Conformance/StableHLOTestParser.swift",
"ConstantHandlingTests.swift",
"ControlFlowTests.swift",
"IndexingOpsTests.swift",
"IntegrationTests.swift",
"LinalgMPSTests.swift",
"NewOpsTests.swift",
"OperationTests.swift",
"ProducerConsumerFusionBugTest.swift",
"QuickWinsOpsTests.swift",
"RNGTypesTests.swift",
"TrainingOpsTests.swift"
],
"target_dependencies" : [
"MetalHLO",
"CMetalHLO"
],
"type" : "test"
},
{
"c99name" : "MetalHLOCoreTests",
"module_type" : "SwiftTarget",
"name" : "MetalHLOCoreTests",
"path" : "Tests/MetalHLOCoreTests",
"sources" : [
"ANE/MILEmitterTests.swift",
"ANE/MILWeightPackerTests.swift",
"AllReduceTest.swift",
"AnalyzerTests.swift",
"ArgReduceTest.swift",
"Atan2Test.swift",
"AttentionRoutingTest.swift",
"CanonicalizersTests.swift",
"CaseSwitchTest.swift",
"CodegenTests.swift",
"CrossEntropyTest.swift",
"CrossLayerFusionTests.swift",
"CumsumTest.swift",
"CustomCallTests.swift",
"DepthAttentionTests.swift",
"ElementwiseChainTypeTest.swift",
"GatherBatchingTests.swift",
"GatherMLIRFormatTest.swift",
"HLOOptimizerTests.swift",
"HeterogeneousIntegrationTests.swift",
"HostCallbackTest.swift",
"IntegratedExecutorTests.swift",
"KernelCacheTests.swift",
"KernelDispatchRegressionTests.swift",
"LLMOptimizationsTests.swift",
"LapackRoutingTest.swift",
"LexerTests.swift",
"MILFusionTests.swift",
"ManualComputationTest.swift",
"MemoryPlanningTests.swift",
"MetalKernelTests.swift",
"NeuralEngineTargetingTests.swift",
"OptimizationBarrierTest.swift",
"ParserTests.swift",
"PartitionerTests.swift",
"PassManagerTests.swift",
"PatternCodegenTests.swift",
"PermutationUtilsTests.swift",
"ProfileGuidedOptimizationTests.swift",
"QuantizationAwareTests.swift",
"ReducePrecisionTest.swift",
"ReduceTest.swift",
"RematerializationTests.swift",
"ReshapeViewLivenessTest.swift",
"ScatterTest.swift",
"SearchSortedTest.swift",
"SharedIOSurfaceTests.swift",
"SortTest.swift",
"SpecialFunctionsTest.swift",
"ThreefryRngTest.swift",
"TopKTest.swift",
"TuningTests.swift",
"ZeroAllocExecutionTests.swift"
],
"target_dependencies" : [
"MetalHLOCore",
"MetalHLO"
],
"type" : "test"
},
{
"c99name" : "MetalHLOCore",
"module_type" : "SwiftTarget",
"name" : "MetalHLOCore",
"path" : "Sources/MetalHLOCore",
"product_memberships" : [
"MetalHLO",
"CMetalHLO",
"PJRTMetalHLO",
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"ANE/CoreMLOpBuilder.swift",
"ANE/MILEmitter.swift",
"ANE/MILFusionRewriter.swift",
"ANE/MILOpTranslator.swift",
"ANE/MILTextBuilder.swift",
"ANE/MILTypeMapper.swift",
"ANE/MILWeightPacker.swift",
"Cache/KernelCache.swift",
"Codegen/KernelSpecializer.swift",
"Codegen/MetalEmitter.swift",
"Codegen/MetalIR.swift",
"Codegen/PatternCodegen.swift",
"Codegen/ReductionKernelGenerator.swift",
"Codegen/SpecializedAttention.swift",
"Codegen/SpecializedMatMul.swift",
"Codegen/TileCalculator.swift",
"Compiler/Analyzer.swift",
"Compiler/CodeGenerator.swift",
"Compiler/CustomCallHandlers.swift",
"Compiler/EmbeddedAttentionSplitter.swift",
"Compiler/IntegrationTypes.swift",
"Compiler/KernelTypes.swift",
"Compiler/MPSGraphCompiler.swift",
"Compiler/MetalHLOCompiler.swift",
"Compiler/NAXGemmBundle.swift",
"Compiler/OpEmitter.swift",
"Compiler/PassManager.swift",
"Compiler/ReductionSplitTransform.swift",
"Compiler/TF32Transform.swift",
"IR/Attributes.swift",
"IR/HLOFunction.swift",
"IR/HLOModule.swift",
"IR/HLOOpKind.swift",
"IR/HLOOperation.swift",
"IR/TensorType.swift",
"LLM/LLMOptimizations.swift",
"Memory/StaticMemoryPlanner.swift",
"Metal/Kernels/DepthAttentionKernel.swift",
"Metal/Kernels/FlashAttentionKernel.swift",
"Metal/Kernels/GELUKernel.swift",
"Metal/Kernels/KernelRegistry.swift",
"Metal/Kernels/LayerNormKernel.swift",
"Metal/Kernels/MetalKernel.swift",
"Metal/Kernels/SoftmaxKernel.swift",
"Metal/Kernels/UnaryKernels.swift",
"Optimizer/AlgebraicSimplifier.swift",
"Optimizer/BufferAssignment.swift",
"Optimizer/Canonicalizers.swift",
"Optimizer/CostModel.swift",
"Optimizer/CrossLayerFusion.swift",
"Optimizer/FunctionInliner.swift",
"Optimizer/FusionPatterns.swift",
"Optimizer/HLOOptimizer.swift",
"Optimizer/HLOPattern.swift",
"Optimizer/HorizontalFusion.swift",
"Optimizer/LayoutAssignment.swift",
"Optimizer/ProducerConsumerFusion.swift",
"Optimizer/ProfileGuidedOptimization.swift",
"Optimizer/QuantizationAware.swift",
"Optimizer/Rematerialization.swift",
"Optimizer/SiblingFusion.swift",
"Optimizer/WhileLoopUnroller.swift",
"Parser/Lexer.swift",
"Parser/ParseError.swift",
"Parser/Parser.swift",
"Parser/Token.swift",
"Runtime/BufferStorage.swift",
"Runtime/CompilationCache.swift",
"Runtime/IntegratedExecutor.swift",
"Runtime/LargeTensorPool.swift",
"Runtime/LargeTensorStorage.swift",
"Runtime/LayerAccumulationBuffer.swift",
"Runtime/MetalExecutor.swift",
"Runtime/NeuralEngineTargeting.swift",
"Runtime/SharedIOSurfaceBuffer.swift",
"Runtime/StridedTensorView.swift",
"Runtime/SubFunctionExtractor.swift",
"Runtime/TensorTransferManager.swift",
"Runtime/ZeroAllocExecutor.swift",
"Tuning/AutoTuner.swift",
"Tuning/TuningDatabase.swift",
"Utils/PermutationUtils.swift"
],
"target_dependencies" : [
"ANERuntime"
],
"type" : "library"
},
{
"c99name" : "MetalHLOBenchmarks",
"module_type" : "SwiftTarget",
"name" : "MetalHLOBenchmarks",
"path" : "Sources/MetalHLOBenchmarks",
"product_memberships" : [
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"BenchmarkResult.swift",
"BenchmarkRunner.swift",
"CompilerBenchmarks.swift",
"FusionAnalysisBenchmarks.swift",
"GPUMetrics.swift",
"MemoryBenchmarks.swift",
"ModelBenchmarks.swift",
"OperationBenchmarks.swift",
"PowerEfficiencyBenchmarks.swift",
"TestDataGenerator.swift"
],
"target_dependencies" : [
"MetalHLO"
],
"type" : "library"
},
{
"c99name" : "MetalHLO",
"module_type" : "SwiftTarget",
"name" : "MetalHLO",
"path" : "Sources/MetalHLO",
"product_memberships" : [
"MetalHLO",
"CMetalHLO",
"PJRTMetalHLO",
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"Buffer.swift",
"Client.swift",
"CompilationConfig.swift",
"ElementType.swift",
"Errors.swift",
"Executable.swift",
"MetalHLO.swift",
"TensorType.swift"
],
"target_dependencies" : [
"MetalHLOCore"
],
"type" : "library"
},
{
"c99name" : "MLXComparison",
"module_type" : "SwiftTarget",
"name" : "MLXComparison",
"path" : "Sources/MLXComparison",
"product_memberships" : [
"mlx-comparison"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MLXBenchmarks",
"MetalHLOBenchmarks"
],
"type" : "executable"
},
{
"c99name" : "MLXBenchmarks",
"module_type" : "SwiftTarget",
"name" : "MLXBenchmarks",
"path" : "Sources/MLXBenchmarks",
"product_dependencies" : [
"MLX",
"MLXRandom"
],
"product_memberships" : [
"MLXBenchmarks",
"mlx-comparison"
],
"sources" : [
"MLXBenchmarks.swift"
],
"target_dependencies" : [
"MetalHLOBenchmarks"
],
"type" : "library"
},
{
"c99name" : "HeterogeneousFusionBenchmark",
"module_type" : "SwiftTarget",
"name" : "HeterogeneousFusionBenchmark",
"path" : "Sources/HeterogeneousFusionBenchmark",
"product_memberships" : [
"HeterogeneousFusionBenchmark"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HeterogeneousFusion"
],
"type" : "executable"
},
{
"c99name" : "HeterogeneousFusion",
"module_type" : "SwiftTarget",
"name" : "HeterogeneousFusion",
"path" : "Sources/HeterogeneousFusion",
"product_memberships" : [
"HeterogeneousFusionBenchmark",
"GPT2EndToEnd",
"CalibrateTest"
],
"sources" : [
"AttentionExecutor.swift",
"BenchmarkHarness.swift",
"ColumnSplitHelper.swift",
"ComputeUnit.swift",
"ContentionModel.swift",
"ConvolutionCPU.swift",
"ConvolutionGPU.swift",
"ConvolutionMPS.swift",
"ElementwiseCPU.swift",
"ElementwiseGPU.swift",
"EligibilityAnnotationPass.swift",
"EmbeddingCPU.swift",
"EmbeddingGPU.swift",
"FusedExecutor.swift",
"FusedMatmul.swift",
"HardwareCalibration.swift",
"HardwareMonitor.swift",
"HardwareProfile.swift",
"HeteroGraph.swift",
"HeterogeneousError.swift",
"HeterogeneousPartitioningPass.swift",
"LayerNormCPU.swift",
"LayerNormGPU.swift",
"MatmulANE.swift",
"MatmulCPU.swift",
"MatmulGPU.swift",
"OpFusionPass.swift",
"OptimalSplitter.swift",
"PartitionDescriptor.swift",
"ProfileDatabase.swift",
"ProfitabilityGuard.swift",
"SequentialScheduler.swift",
"SoftmaxCPU.swift",
"SoftmaxGPU.swift",
"ThroughputCurve.swift"
],
"type" : "library"
},
{
"c99name" : "GPT2EndToEnd",
"module_type" : "SwiftTarget",
"name" : "GPT2EndToEnd",
"path" : "Sources/GPT2EndToEnd",
"product_memberships" : [
"GPT2EndToEnd"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HeterogeneousFusion"
],
"type" : "executable"
},
{
"c99name" : "DepthAttentionBenchmark",
"module_type" : "SwiftTarget",
"name" : "DepthAttentionBenchmark",
"path" : "Sources/DepthAttentionBenchmark",
"product_memberships" : [
"DepthAttentionBenchmark"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MetalHLOCore",
"MetalHLOBenchmarks"
],
"type" : "executable"
},
{
"c99name" : "CalibrateTest",
"module_type" : "SwiftTarget",
"name" : "CalibrateTest",
"path" : "Sources/CalibrateTest",
"product_memberships" : [
"CalibrateTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HeterogeneousFusion"
],
"type" : "executable"
},
{
"c99name" : "CPJRTApi",
"module_type" : "ClangTarget",
"name" : "CPJRTApi",
"path" : "Sources/CPJRTApi",
"product_memberships" : [
"PJRTMetalHLO"
],
"sources" : [
"shim.c"
],
"type" : "library"
},
{
"c99name" : "CMetalHLO",
"module_type" : "SwiftTarget",
"name" : "CMetalHLO",
"path" : "Sources/CMetalHLO",
"product_memberships" : [
"CMetalHLO"
],
"sources" : [
"CInterface.swift"
],
"target_dependencies" : [
"MetalHLO",
"ANERuntime"
],
"type" : "library"
},
{
"c99name" : "BenchmarkRunner",
"module_type" : "SwiftTarget",
"name" : "BenchmarkRunner",
"path" : "Sources/BenchmarkRunner",
"product_memberships" : [
"benchmark-runner"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MetalHLOBenchmarks"
],
"type" : "executable"
},
{
"c99name" : "ANERuntimeTests",
"module_type" : "SwiftTarget",
"name" : "ANERuntimeTests",
"path" : "Tests/ANERuntimeTests",
"sources" : [
"ANEAvailabilityTests.swift",
"ANEBufferTests.swift",
"ANECompileCounterTests.swift",
"ANEDeviceTests.swift",
"ANEMILIntegrationTests.swift",
"ANEWatchdogTests.swift",
"CoreMLBridgeTests.swift"
],
"target_dependencies" : [
"ANERuntime",
"MetalHLOCore"
],
"type" : "test"
},
{
"c99name" : "ANERuntime",
"module_type" : "SwiftTarget",
"name" : "ANERuntime",
"path" : "Sources/ANERuntime",
"product_memberships" : [
"MetalHLO",
"CMetalHLO",
"PJRTMetalHLO",
"ANERuntime",
"MetalHLOBenchmarks",
"MLXBenchmarks",
"benchmark-runner",
"mlx-comparison",
"DepthAttentionBenchmark"
],
"sources" : [
"ANEAvailability.swift",
"ANEBuffer.swift",
"ANEDevice.swift",
"ANEError.swift",
"ANEProgram.swift",
"ANEWatchdog.swift",
"CompileCounter.swift",
"CoreMLBridge.swift",
"CoreMLModelBuilder.swift",
"CoreMLOp.swift",
"CoreMLProgram.swift",
"MILWeightTemplate.swift",
"Protobuf/CoreMLProto.swift",
"Protobuf/ProtobufWriter.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.