The Swift Package Index logo.Swift Package Index

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 arm64

Build 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: warning: capture of 'operation' with non-Sendable type '() throws -> T' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
46 |         queue.async {
47 |             do {
48 |                 let result = try operation()
   |                                  |- warning: capture of 'operation' with non-Sendable type '() throws -> T' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
   |                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
49 |                 box.value = result
50 |             } catch {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/HeterogeneousFusion/EmbeddingCPU.swift:50:13: warning: '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. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
48 |             let src = tableShard + localIdx * embeddingDim
49 |             let dst = output + pos * embeddingDim
50 |             cblas_scopy(ed, src, 1, dst, 1)
   |             `- warning: '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. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
51 |         }
52 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:162:20: warning: value 'offset' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
160 |         var outputBuffers: [String: MTLBuffer] = [:]
161 |         for (i, returnValue) in function.returnValues.enumerated() {
162 |             if let offset = memoryPlan.tensorOffsets[returnValue] {
    |                    `- warning: value 'offset' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
163 |                 // Output is in unified buffer - create a view or copy
164 |                 let outputType = function.outputTypes[i]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:300:17: warning: capture of 'completion' with non-Sendable type '([String : any MTLBuffer]) -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
298 |
299 |             commandBuffer.addCompletedHandler { [weak self] _ in
300 |                 completion(outputBuffers)
    |                 |- warning: capture of 'completion' with non-Sendable type '([String : any MTLBuffer]) -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
301 |                 self?.inflightSemaphore.signal()
302 |                 dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:300:28: warning: capture of 'outputBuffers' with non-Sendable type '[String : any MTLBuffer]' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
298 |
299 |             commandBuffer.addCompletedHandler { [weak self] _ in
300 |                 completion(outputBuffers)
    |                            `- warning: capture of 'outputBuffers' with non-Sendable type '[String : any MTLBuffer]' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
301 |                 self?.inflightSemaphore.signal()
302 |                 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: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
 32 |  */
 33 | API_AVAILABLE(macos(10.11), ios(8.0))
 34 | @protocol MTLBuffer <MTLResource>
    |           `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
 35 |
 36 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:8:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
  6 |
  7 | import Foundation
  8 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
  9 |
 10 | // MARK: - Execution Context
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:300:28: warning: reference to captured var 'outputBuffers' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
298 |
299 |             commandBuffer.addCompletedHandler { [weak self] _ in
300 |                 completion(outputBuffers)
    |                            `- warning: reference to captured var 'outputBuffers' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
301 |                 self?.inflightSemaphore.signal()
302 |                 dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:258:48: warning: 'outputBuffers' mutated after capture by sendable closure
252 |
253 |             // Create output buffers
254 |             var outputBuffers: [String: MTLBuffer] = [:]
    |                 `- note: variable defined here
255 |             for (i, returnValue) in function.returnValues.enumerated() {
256 |                 let outputType = function.outputTypes[i]
257 |                 if let outputBuffer = device.makeBuffer(length: outputType.byteCount, options: .storageModeShared) {
258 |                     outputBuffers[returnValue] = outputBuffer
    |                                                `- warning: 'outputBuffers' mutated after capture by sendable closure
259 |                 }
260 |             }
    :
297 |             }
298 |
299 |             commandBuffer.addCompletedHandler { [weak self] _ in
    |                                               `- note: variable captured by sendable closure
300 |                 completion(outputBuffers)
    |                            `- note: capturing use
301 |                 self?.inflightSemaphore.signal()
302 |                 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: warning: capture of 'base' with non-Sendable type 'UnsafeMutablePointer<(any MTLBuffer)?>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1199 |                 // pointer initialization is safe under concurrency.
1200 |                 DispatchQueue.concurrentPerform(iterations: entries.count) { i in
1201 |                     (base + i).initialize(to: materialize(i, pooled: false))
     |                      `- warning: capture of 'base' with non-Sendable type 'UnsafeMutablePointer<(any MTLBuffer)?>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1202 |                 }
1203 |             } else {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1201:47: warning: capture of 'materialize(_:pooled:)' with non-Sendable type '(Int, Bool) -> (any MTLBuffer)?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1199 |                 // pointer initialization is safe under concurrency.
1200 |                 DispatchQueue.concurrentPerform(iterations: entries.count) { i in
1201 |                     (base + i).initialize(to: materialize(i, pooled: false))
     |                                               |- warning: capture of 'materialize(_:pooled:)' with non-Sendable type '(Int, Bool) -> (any MTLBuffer)?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
     |                                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1202 |                 }
1203 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1171:14: warning: concurrently-executed local function 'materialize(_:pooled:)' must be marked as '@Sendable'
1169 |         // writes it through a disjoint pointer slot — never mutates a shared
1170 |         // Swift array from multiple threads.
1171 |         func materialize(_ i: Int, pooled: Bool) -> MTLBuffer? {
     |              `- warning: concurrently-executed local function 'materialize(_:pooled:)' must be marked as '@Sendable'
1172 |             switch plans[i] {
1173 |             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: warning: immutable value 'type' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 73 |             }
 74 |
 75 |         case .dense(let values, let type):
    |                                     `- warning: immutable value 'type' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 76 |             if values.count <= Self.inlineThreshold {
 77 |                 let fp16Strs = values.map { formatFloat(Double(Float16(Float($0)))) }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Cache/KernelCache.swift:368:32: warning: 'init(bytes:)' is deprecated: Use init(bytes: UnsafeRawBufferPointer) instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 366 |         return data.withUnsafeBytes { (bytes: UnsafeRawBufferPointer) -> MTLLibrary? in
 367 |             guard let baseAddress = bytes.baseAddress else { return nil }
 368 |             let dispatchData = DispatchData(
     |                                `- warning: 'init(bytes:)' is deprecated: Use init(bytes: UnsafeRawBufferPointer) instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 369 |                 bytes: UnsafeBufferPointer(
 370 |                     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: warning: variable 'sorted' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
533 |     private func sortAndFilterMatches(_ matches: [CrossLayerMatch]) -> [CrossLayerMatch] {
534 |         // Sort by size (larger fusions first)
535 |         var sorted = matches.sorted { $0.operationIndices.count > $1.operationIndices.count }
    |             `- warning: variable 'sorted' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
536 |
537 |         // 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: warning: variable 'opsToRemove' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 892 |
 893 |         var newOperations = function.operations
 894 |         var opsToRemove = Set<Int>()
     |             `- warning: variable 'opsToRemove' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 895 |         var changed = false
 896 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/PassManager.swift:1030:13: warning: variable 'opsToRemove' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
1028 |
1029 |         var newOperations = function.operations
1030 |         var opsToRemove = Set<Int>()
     |             `- warning: variable 'opsToRemove' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
1031 |         var changed = false
1032 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/PassManager.swift:1468:17: warning: variable 'matmulIdx' was written to, but never read
1466 |             // Find the matmul operation (first in pattern typically)
1467 |             var matmulOp: HLOOperation?
1468 |             var matmulIdx: Int?
     |                 `- warning: variable 'matmulIdx' was written to, but never read
1469 |             for idx in pattern.operationIndices {
1470 |                 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: warning: initialization of immutable value 'originalMemory' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
191 |
192 |         // Compute original memory usage
193 |         let originalMemory = computePeakMemory(function, decisions: [:])
    |             `- warning: initialization of immutable value 'originalMemory' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
194 |
195 |         // Decide which tensors to rematerialize
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Optimizer/Rematerialization.swift:334:14: warning: immutable value 'opIndex' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
332 |         var costs: [String: RecomputationCost] = [:]
333 |
334 |         for (opIndex, op) in function.operations.enumerated() {
    |              `- warning: immutable value 'opIndex' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
335 |             let memoryCost = op.resultType.byteCount
336 |             let computeCost = estimateComputeCost(op)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Optimizer/Rematerialization.swift:470:13: warning: initialization of immutable value 'averageSegmentSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
468 |         // With checkpointing, only need to store activations between checkpoints
469 |         let numSegments = checkpoints.count + 1
470 |         let averageSegmentSize = function.operations.count / numSegments
    |             `- warning: initialization of immutable value 'averageSegmentSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
471 |
472 |         // 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: warning: initialization of immutable value 'total' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
321 |     public var memoryStats: (used: Int, total: Int, utilization: Double) {
322 |         let allocated = allocator.numAllocatedBlocks
323 |         let total = config.maxBlocks
    |             `- warning: initialization of immutable value 'total' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
324 |         return (
325 |             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: warning: capture of 'completion' with non-Sendable type '(Result<ExecutionResult, any Error>) -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 915 |
 916 |             if let error = buffer.error {
 917 |                 completion(.failure(IntegratedExecutorError.executionFailed(error.localizedDescription)))
     |                 |- warning: capture of 'completion' with non-Sendable type '(Result<ExecutionResult, any Error>) -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 918 |                 return
 919 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:932:36: warning: reference to captured var 'kernelTimings' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 930 |                     outputs: outputs,
 931 |                     executionTimeMs: executionTimeMs,
 932 |                     kernelTimings: kernelTimings
     |                                    `- warning: reference to captured var 'kernelTimings' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 933 |                 )
 934 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1201:22: warning: capture of 'base' with non-Sendable type 'UnsafeMutablePointer<(any MTLBuffer)?>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1199 |                 // pointer initialization is safe under concurrency.
1200 |                 DispatchQueue.concurrentPerform(iterations: entries.count) { i in
1201 |                     (base + i).initialize(to: materialize(i, pooled: false))
     |                      `- warning: capture of 'base' with non-Sendable type 'UnsafeMutablePointer<(any MTLBuffer)?>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1202 |                 }
1203 |             } else {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1201:47: warning: capture of 'materialize(_:pooled:)' with non-Sendable type '(Int, Bool) -> (any MTLBuffer)?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1199 |                 // pointer initialization is safe under concurrency.
1200 |                 DispatchQueue.concurrentPerform(iterations: entries.count) { i in
1201 |                     (base + i).initialize(to: materialize(i, pooled: false))
     |                                               |- warning: capture of 'materialize(_:pooled:)' with non-Sendable type '(Int, Bool) -> (any MTLBuffer)?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
     |                                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1202 |                 }
1203 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1171:14: warning: concurrently-executed local function 'materialize(_:pooled:)' must be marked as '@Sendable'
1169 |         // writes it through a disjoint pointer slot — never mutates a shared
1170 |         // Swift array from multiple threads.
1171 |         func materialize(_ i: Int, pooled: Bool) -> MTLBuffer? {
     |              `- warning: concurrently-executed local function 'materialize(_:pooled:)' must be marked as '@Sendable'
1172 |             switch plans[i] {
1173 |             case .none:
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1503:17: warning: capture of 'completion' with non-Sendable type '(Result<ExecutionResult, any Error>) -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1501 |         commandBuffer.addCompletedHandler { buffer in
1502 |             if let error = buffer.error {
1503 |                 completion(.failure(IntegratedExecutorError.executionFailed(error.localizedDescription)))
     |                 |- warning: capture of 'completion' with non-Sendable type '(Result<ExecutionResult, any Error>) -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1504 |                 return
1505 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/LayerAccumulationBuffer.swift:132:27: warning: result of call to 'withUnsafeBytes' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
130 |             // Copy from Data
131 |             let dst = buffer.contents().advanced(by: offset)
132 |             snapshot.data.withUnsafeBytes { ptr in
    |                           `- warning: result of call to 'withUnsafeBytes' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
133 |                 memcpy(dst, ptr.baseAddress!, min(ptr.count, config.snapshotBytes))
134 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:517:9: warning: 'sgesdd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
515 |         var wkopt = Float(0)
516 |         var lwork = __CLPK_integer(-1)
517 |         sgesdd_(&jobz, &lm, &ln, &a, &lda, &s, &u, &ldu, &vt, &ldvt, &wkopt, &lwork, &iwork, &info)
    |         `- warning: 'sgesdd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
518 |         lwork = __CLPK_integer(wkopt)
519 |         var work = [Float](repeating: 0, count: Int(max(1, lwork)))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:520:9: warning: 'sgesdd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
518 |         lwork = __CLPK_integer(wkopt)
519 |         var work = [Float](repeating: 0, count: Int(max(1, lwork)))
520 |         sgesdd_(&jobz, &lm, &ln, &a, &lda, &s, &u, &ldu, &vt, &ldvt, &work, &lwork, &iwork, &info)
    |         `- warning: 'sgesdd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
521 |
522 |         guard info == 0 else {
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:604:9: warning: 'sgeqrf_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
602 |         var wkopt = Float(0)
603 |         var lwork = __CLPK_integer(-1)
604 |         sgeqrf_(&lm, &ln, &a, &lda, &tau, &wkopt, &lwork, &info)
    |         `- warning: 'sgeqrf_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
605 |         lwork = __CLPK_integer(wkopt)
606 |         var work = [Float](repeating: 0, count: Int(max(1, lwork)))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:607:9: warning: 'sgeqrf_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
605 |         lwork = __CLPK_integer(wkopt)
606 |         var work = [Float](repeating: 0, count: Int(max(1, lwork)))
607 |         sgeqrf_(&lm, &ln, &a, &lda, &tau, &work, &lwork, &info)
    |         `- warning: 'sgeqrf_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
608 |         guard info == 0 else {
609 |             throw ExecutorError.generalError("LAPACK sgeqrf failed with info=\(info)")
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:626:9: warning: 'sorgqr_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
624 |         wkopt = 0
625 |         lwork = __CLPK_integer(-1)
626 |         sorgqr_(&lm, &lqcols, &lk, &a, &lda, &tau, &wkopt, &lwork, &info)
    |         `- warning: 'sorgqr_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
627 |         lwork = __CLPK_integer(wkopt)
628 |         work = [Float](repeating: 0, count: Int(max(1, lwork)))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:629:9: warning: 'sorgqr_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
627 |         lwork = __CLPK_integer(wkopt)
628 |         work = [Float](repeating: 0, count: Int(max(1, lwork)))
629 |         sorgqr_(&lm, &lqcols, &lk, &a, &lda, &tau, &work, &lwork, &info)
    |         `- warning: 'sorgqr_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
630 |         guard info == 0 else {
631 |             throw ExecutorError.generalError("LAPACK sorgqr failed with info=\(info)")
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:713:9: warning: 'ssyevd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
711 |         var lwork = __CLPK_integer(-1)
712 |         var liwork = __CLPK_integer(-1)
713 |         ssyevd_(&jobz, &uplo, &ln, &a, &lda, &w, &wkopt, &lwork, &iwkopt, &liwork, &info)
    |         `- warning: 'ssyevd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
714 |         lwork = __CLPK_integer(wkopt)
715 |         liwork = iwkopt
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:718:9: warning: 'ssyevd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
716 |         var work = [Float](repeating: 0, count: Int(max(1, lwork)))
717 |         var iwork = [__CLPK_integer](repeating: 0, count: Int(max(1, liwork)))
718 |         ssyevd_(&jobz, &uplo, &ln, &a, &lda, &w, &work, &lwork, &iwork, &liwork, &info)
    |         `- warning: 'ssyevd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
719 |
720 |         guard info == 0 else {
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/NeuralEngineTargeting.swift:933:13: warning: initialization of immutable value 'opMap' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 931 |         function: HLOFunction
 932 |     ) -> Int {
 933 |         let opMap = Dictionary(uniqueKeysWithValues: function.operations.map { ($0.result, $0) })
     |             `- warning: initialization of immutable value 'opMap' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 934 |         let partitionOpSet = Set(partition.operationIds)
 935 |         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: warning: variable 'foundSquare' was written to, but never read
1053 |
1054 |         var foundRsqrt = false
1055 |         var foundSquare = false
     |             `- warning: variable 'foundSquare' was written to, but never read
1056 |         var foundReduce = false
1057 |         var foundMeanSubtract = false  // Should NOT be present for RMSNorm
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CustomCallHandlers.swift:694:13: warning: initialization of immutable value 'approximate' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 692 |
 693 |         let x = inputs[0]
 694 |         let approximate = BackendConfigParser.getBool(config, key: "approximate", default: false)
     |             `- warning: initialization of immutable value 'approximate' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 695 |
 696 |         // 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: warning: variable 'startIndices1' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 747 |         // Split x into first half and second half along last dimension
 748 |         // x1 = x[..., :halfDim], x2 = x[..., halfDim:]
 749 |         var startIndices1 = [Int](repeating: 0, count: rank)
     |             `- warning: variable 'startIndices1' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 750 |         var endIndices1 = xShape.map { $0.intValue }
 751 |         endIndices1[rank - 1] = halfDim
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CustomCallHandlers.swift:789:17: warning: variable 'cosStart' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 787 |             // freqs contains both cos and sin interleaved or concatenated
 788 |             // Assume first half is cos, second half is sin
 789 |             var cosStart = [Int](repeating: 0, count: freqsRank)
     |                 `- warning: variable 'cosStart' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 790 |             var cosEnd = freqsShape.map { $0.intValue }
 791 |             cosEnd[freqsRank - 1] = halfDim
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:3333:13: warning: immutable value 'targetInputOrder' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3331 |
3332 |         // Transpose input to target layout
3333 |         let targetInputOrder: [Int]
     |             `- warning: immutable value 'targetInputOrder' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3334 |         switch targetDataLayout {
3335 |         case .NHWC:
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:3364:13: warning: immutable value 'targetKernelOrder' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3362 |
3363 |         // Transpose weights if needed
3364 |         let targetKernelOrder: [Int]
     |             `- warning: immutable value 'targetKernelOrder' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3365 |         switch targetWeightsLayout {
3366 |         case .HWIO:
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:3412:13: warning: immutable value 'mpsOutputOrder' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3410 |         ]
3411 |
3412 |         let mpsOutputOrder: [Int]
     |             `- warning: immutable value 'mpsOutputOrder' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3413 |         switch sourceDataLayout {
3414 |         case .NHWC:
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:4366:17: warning: initialization of immutable value 'mask' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
4364 |         if bitsToRound > 0 {
4365 |             // RNE: absBits = (absBits + ((1<<(bitsToRound-1)) - 1) + keptLSB) & ~mask
4366 |             let mask = u32((UInt32(1) << UInt32(bitsToRound)) - 1)
     |                 `- warning: initialization of immutable value 'mask' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
4367 |             let shifted = graph.bitwiseRightShift(absBits, u32(UInt32(bitsToRound)), name: nil)
4368 |             let keptLSB = graph.bitwiseAND(shifted, u32(1), name: nil)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:4778:97: warning: left side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used
4776 |         // entries above the diagonal (row < j) are zero.
4777 |         var cols: [MPSGraphTensor] = Array(
4778 |             repeating: graph.constant(0.0, shape: [NSNumber(value: n), 1], dataType: a.dataType ?? .float32),
     |                                                                                                 `- warning: left side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used
4779 |             count: n
4780 |         )
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:4809:61: warning: left side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used
4807 |             // rowIdx[i] = i ; keep where rowIdx >= j.
4808 |             let rowIdx = graph.coordinate(alongAxis: 0, withShape: [NSNumber(value: n), 1], name: nil)
4809 |             let rowIdxF = graph.cast(rowIdx, to: a.dataType ?? .float32, name: nil)
     |                                                             `- warning: left side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used
4810 |             let jConst = graph.constant(Double(j), shape: [1, 1], dataType: a.dataType ?? .float32)
4811 |             let keepMask = graph.greaterThanOrEqualTo(rowIdxF, jConst, name: nil)  // bool [N,1]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:4810:88: warning: left side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used
4808 |             let rowIdx = graph.coordinate(alongAxis: 0, withShape: [NSNumber(value: n), 1], name: nil)
4809 |             let rowIdxF = graph.cast(rowIdx, to: a.dataType ?? .float32, name: nil)
4810 |             let jConst = graph.constant(Double(j), shape: [1, 1], dataType: a.dataType ?? .float32)
     |                                                                                        `- warning: left side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used
4811 |             let keepMask = graph.greaterThanOrEqualTo(rowIdxF, jConst, name: nil)  // bool [N,1]
4812 |             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: warning: left side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used
4810 |             let jConst = graph.constant(Double(j), shape: [1, 1], dataType: a.dataType ?? .float32)
4811 |             let keepMask = graph.greaterThanOrEqualTo(rowIdxF, jConst, name: nil)  // bool [N,1]
4812 |             let zero = graph.constant(0.0, shape: [NSNumber(value: n), 1], dataType: a.dataType ?? .float32)
     |                                                                                                 `- warning: left side of nil coalescing operator '??' has non-optional type 'MPSDataType', so the right side is never used
4813 |             let colJ = graph.select(predicate: keepMask, trueTensor: divided, falseTensor: zero, name: nil)
4814 |
[#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: warning: initialization of immutable value 'totalElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 503 |     ) -> (String, String, TuningConfig?) {
 504 |         let outputShape = outputShapes.first ?? []
 505 |         let totalElements = outputShape.reduce(1, *)
     |             `- warning: initialization of immutable value 'totalElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 506 |         let entryPoint = "kernel_\(opKind.rawValue)"
 507 |         let metalType = metalTypeName(for: elementType)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:1428:13: warning: initialization of immutable value 'indexGridSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1426 |             if i != dimNumbers.indexVectorDim { indexGridShape.append(s) }
1427 |         }
1428 |         let indexGridSize = max(indexGridShape.reduce(1, *), 1)
     |             `- warning: initialization of immutable value 'indexGridSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1429 |
1430 |         // 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: warning: initialization of immutable value 'offsetTotalSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1441 |             offsetSizes.append(sliceSizes[d])
1442 |         }
1443 |         let offsetTotalSize = max(offsetSizes.reduce(1, *), 1)
     |             `- warning: initialization of immutable value 'offsetTotalSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1444 |
1445 |         // Number of index components per grid point
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:1446:13: warning: initialization of immutable value 'numIndexComponents' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1444 |
1445 |         // Number of index components per grid point
1446 |         let numIndexComponents = dimNumbers.startIndexMap.count
     |             `- warning: initialization of immutable value 'numIndexComponents' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1447 |
1448 |         // Indices stride for index_vector_dim
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:1578:13: warning: initialization of immutable value 'sliceSizes' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1576 |         let batchSize = operandShape[batchDim]
1577 |         let startIndexMap = dimNumbers.startIndexMap
1578 |         let sliceSizes = dimNumbers.sliceSizes
     |             `- warning: initialization of immutable value 'sliceSizes' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1579 |         let numStartIndices = startIndexMap.count
1580 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:2124:13: warning: initialization of immutable value 'updateElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2122 |         let rank = operandShape.count
2123 |         let totalElements = operandShape.reduce(1, *)
2124 |         let updateElements = updateShape.reduce(1, *)
     |             `- warning: initialization of immutable value 'updateElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2125 |
2126 |         // Calculate strides
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:2751:13: warning: initialization of immutable value 'totalInputElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2749 |     ) -> (String, String, TuningConfig?) {
2750 |         // Compute reduction parameters
2751 |         let totalInputElements = inputShape.reduce(1, *)
     |             `- warning: initialization of immutable value 'totalInputElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2752 |         let reduceDimSorted = reduceDims.sorted()
2753 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:2765:13: warning: initialization of immutable value 'outputCount' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2763 |             if !reduceDimSorted.contains(i) { outputShape.append(s) }
2764 |         }
2765 |         let outputCount = max(outputShape.reduce(1, *), 1)
     |             `- warning: initialization of immutable value 'outputCount' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2766 |
2767 |         // innerSize = product of dims after last reduce dim
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:2769:13: warning: initialization of immutable value 'innerSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2767 |         // innerSize = product of dims after last reduce dim
2768 |         let lastReduceDim = reduceDimSorted.last ?? 0
2769 |         let innerSize = lastReduceDim + 1 < inputShape.count
     |             `- warning: initialization of immutable value 'innerSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2770 |             ? inputShape.suffix(from: lastReduceDim + 1).reduce(1, *)
2771 |             : 1
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:3017:13: warning: initialization of immutable value 'outputCount' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3015 |             outputShape.append(s)
3016 |         }
3017 |         let outputCount = max(outputShape.reduce(1, *), 1)
     |             `- warning: initialization of immutable value 'outputCount' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3018 |
3019 |         // 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: warning: initialization of immutable value 'innerSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3020 |         // strides over the reduce axis correctly for non-trailing reductions.
3021 |         let lastReduceDim = reduceDimSorted.last ?? 0
3022 |         let innerSize = lastReduceDim + 1 < inputShape.count
     |             `- warning: initialization of immutable value 'innerSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3023 |             ? inputShape.suffix(from: lastReduceDim + 1).reduce(1, *)
3024 |             : 1
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:3414:13: warning: initialization of immutable value 'batchSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3412 |
3413 |         let totalOutputElements = outputShape.reduce(1, *)
3414 |         let batchSize = totalOutputElements / (fftType == .rfft ? (N / 2 + 1) : N)
     |             `- warning: initialization of immutable value 'batchSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3415 |         let isInverse = (fftType == .ifft || fftType == .irfft)
3416 |         let sign = isInverse ? "1.0" : "-1.0"
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:4308:13: warning: initialization of immutable value 'sm' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
4306 |     private func generateMatMul2dNAXSource() -> (String, String, TuningConfig?) {
4307 |         let c = CodeGenerator.naxGemmConfig()
4308 |         let sm = c.bm / c.wm
     |             `- warning: initialization of immutable value 'sm' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
4309 |         let sn = c.bn / c.wn
4310 |         let nsg = c.wm * c.wn
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:4309:13: warning: initialization of immutable value 'sn' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
4307 |         let c = CodeGenerator.naxGemmConfig()
4308 |         let sm = c.bm / c.wm
4309 |         let sn = c.bn / c.wn
     |             `- warning: initialization of immutable value 'sn' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
4310 |         let nsg = c.wm * c.wn
4311 |         // 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: warning: initialization of immutable value 'totalBytes' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
277 |
278 |     // Report recommended max working set size as total memory
279 |     let totalBytes = Int64(mtl.recommendedMaxWorkingSetSize)
    |         `- warning: initialization of immutable value 'totalBytes' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
280 |     args.pointee.bytes_in_use = 0 // Not easily tracked per-device in Metal
281 |     return nil
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:144:16: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
142 |
143 |         let data = uniformFloat32(count: count)
144 |         return try client.createBuffer(data, shape: shape)
    |                `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
145 |     }
146 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:170:16: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
168 |
169 |         let data = uniformFloat32(count: count, min: min, max: max)
170 |         return try client.createBuffer(data, shape: shape)
    |                `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
171 |     }
172 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:182:16: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
180 |         let count = shape.reduce(1, *)
181 |         let data = normalFloat32(count: count, mean: mean, stdDev: stdDev)
182 |         return try client.createBuffer(data, shape: shape)
    |                `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
183 |     }
184 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:205:20: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
203 |         switch elementType {
204 |         case .float32:
205 |             return try client.createBuffer(zerosFloat32(count: count), shape: shape)
    |                    `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
206 |         case .float16:
207 |             let data = [Float16](repeating: 0, count: count)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:214:20: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
212 |         default:
213 |             // Fallback to float32
214 |             return try client.createBuffer(zerosFloat32(count: count), shape: shape)
    |                    `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
215 |         }
216 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:227:16: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
225 |             data[i * size + i] = 1.0
226 |         }
227 |         return try client.createBuffer(data, shape: [size, size])
    |                `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
228 |     }
229 | }
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:479:33: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 477 |                 let input = try gen.createUniformFloat32Buffer(client: client, shape: [1, 56, 56, 64])
 478 |                 let conv1_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
 479 |                 let bn1_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                                 `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 480 |                 let bn1_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 481 |                 let bn1_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:482:31: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 480 |                 let bn1_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 481 |                 let bn1_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 482 |                 let bn1_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                               `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 483 |                 let conv2_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
 484 |                 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: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 482 |                 let bn1_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
 483 |                 let conv2_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
 484 |                 let bn2_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                                 `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 485 |                 let bn2_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 486 |                 let bn2_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:487:31: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 485 |                 let bn2_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 486 |                 let bn2_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 487 |                 let bn2_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                               `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 488 |                 return [input, conv1_w, bn1_scale, bn1_offset, bn1_mean, bn1_var, conv2_w, bn2_scale, bn2_offset, bn2_mean, bn2_var]
 489 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:530:33: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 528 |                 let input = try gen.createUniformFloat32Buffer(client: client, shape: [8, 56, 56, 64])
 529 |                 let conv1_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
 530 |                 let bn1_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                                 `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 531 |                 let bn1_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 532 |                 let bn1_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:533:31: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 531 |                 let bn1_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 532 |                 let bn1_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 533 |                 let bn1_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                               `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 534 |                 let conv2_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
 535 |                 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: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 533 |                 let bn1_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
 534 |                 let conv2_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
 535 |                 let bn2_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                                 `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 536 |                 let bn2_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 537 |                 let bn2_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:538:31: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 536 |                 let bn2_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 537 |                 let bn2_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 538 |                 let bn2_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                               `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 539 |                 return [input, conv1_w, bn1_scale, bn1_offset, bn1_mean, bn1_var, conv2_w, bn2_scale, bn2_offset, bn2_mean, bn2_var]
 540 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1020:29: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1018 |                 let gen = TestDataGenerator(seed: 42)
1019 |                 let x = try gen.createUniformFloat32Buffer(client: client, shape: [1, 128, 768])
1020 |                 let ln1_g = try client.createBuffer([Float](repeating: 1.0, count: 768), shape: [768])
     |                             `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1021 |                 let ln1_b = try gen.createZerosBuffer(client: client, shape: [768], elementType: .float32)
1022 |                 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: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1024 |                 let wv = try gen.createNormalFloat32Buffer(client: client, shape: [768, 768], mean: 0, stdDev: 0.02)
1025 |                 let wo = try gen.createNormalFloat32Buffer(client: client, shape: [768, 768], mean: 0, stdDev: 0.02)
1026 |                 let ln2_g = try client.createBuffer([Float](repeating: 1.0, count: 768), shape: [768])
     |                             `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1027 |                 let ln2_b = try gen.createZerosBuffer(client: client, shape: [768], elementType: .float32)
1028 |                 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: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1157 |                     tokenIds.append(Int32(gen.uniformFloat32(count: 1)[0] * 29999))
1158 |                 }
1159 |                 let tokenIdsBuffer = try client.createBuffer(tokenIds, shape: [8, 128])
     |                                      `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1160 |                 return [embeddings, tokenIdsBuffer]
1161 |             },
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1201:28: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1199 |                 let images = try gen.createUniformFloat32Buffer(client: client, shape: [32, 224, 224, 3], min: 0, max: 255)
1200 |                 // ImageNet mean and std
1201 |                 let mean = try client.createBuffer([Float(123.675), Float(116.28), Float(103.53)], shape: [3])
     |                            `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1202 |                 let std = try client.createBuffer([Float(58.395), Float(57.12), Float(57.375)], shape: [3])
1203 |                 return [images, mean, std]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1202:27: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1200 |                 // ImageNet mean and std
1201 |                 let mean = try client.createBuffer([Float(123.675), Float(116.28), Float(103.53)], shape: [3])
1202 |                 let std = try client.createBuffer([Float(58.395), Float(57.12), Float(57.375)], shape: [3])
     |                           `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1203 |                 return [images, mean, std]
1204 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1261:36: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1259 |                     labels.append(Int32(gen.uniformFloat32(count: 1)[0] * 999))
1260 |                 }
1261 |                 let labelsBuffer = try client.createBuffer(labels, shape: [32])
     |                                    `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1262 |                 return [logits, labelsBuffer]
1263 |             }
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:493:25: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 491 |                 let gen = TestDataGenerator(seed: 42)
 492 |                 let a = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 1024])
 493 |                 let b = try client.createBuffer([1.5], shape: [1])
     |                         `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 494 |                 return [a, b]
 495 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:870:25: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 868 |             """,
 869 |             inputGenerator: { client in
 870 |                 return [try client.createBuffer([Int32(0)], shape: [1])]
     |                         `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 871 |             }
 872 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1082:30: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1080 |                 let gen = TestDataGenerator(seed: 42)
1081 |                 let input = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 1024])
1082 |                 let start0 = try client.createBuffer([Int32(128)], shape: [1])
     |                              `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1083 |                 let start1 = try client.createBuffer([Int32(128)], shape: [1])
1084 |                 return [input, start0, start1]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1083:30: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1081 |                 let input = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 1024])
1082 |                 let start0 = try client.createBuffer([Int32(128)], shape: [1])
1083 |                 let start1 = try client.createBuffer([Int32(128)], shape: [1])
     |                              `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1084 |                 return [input, start0, start1]
1085 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1107:30: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1105 |                 let input = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 1024])
1106 |                 let update = try gen.createUniformFloat32Buffer(client: client, shape: [256, 256])
1107 |                 let start0 = try client.createBuffer([Int32(128)], shape: [1])
     |                              `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1108 |                 let start1 = try client.createBuffer([Int32(128)], shape: [1])
1109 |                 return [input, update, start0, start1]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1108:30: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1106 |                 let update = try gen.createUniformFloat32Buffer(client: client, shape: [256, 256])
1107 |                 let start0 = try client.createBuffer([Int32(128)], shape: [1])
1108 |                 let start1 = try client.createBuffer([Int32(128)], shape: [1])
     |                              `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1109 |                 return [input, update, start0, start1]
1110 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1141:37: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1139 |                     indices.append(Int32(gen.uniformFloat32(count: 1)[0] * 9999))
1140 |                 }
1141 |                 let indicesBuffer = try client.createBuffer(indices, shape: [1024])
     |                                     `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1142 |                 return [table, indicesBuffer]
1143 |             },
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1188:37: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1186 |                     indices.append(Int32(gen.uniformFloat32(count: 1)[0] * 9999))
1187 |                 }
1188 |                 let indicesBuffer = try client.createBuffer(indices, shape: [1024, 1])
     |                                     `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1189 |                 let updates = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 256])
1190 |                 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: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
260 |             var buffer = [CChar](repeating: 0, count: size)
261 |             sysctlbyname("machdep.cpu.brand_string", &buffer, &size, nil, 0)
262 |             chipName = String(cString: buffer)
    |                        `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
263 |         }
264 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/BenchmarkResult.swift:272:28: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
270 |                 var buffer = [CChar](repeating: 0, count: size)
271 |                 sysctlbyname("hw.model", &buffer, &size, nil, 0)
272 |                 chipName = String(cString: buffer)
    |                            `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
273 |             }
274 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:341:17: warning: initialization of immutable value 'params' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
339 |         for i in 0..<numCalls {
340 |             let depth = i + 2
341 |             let params = DepthAttentionParams(batchSize: batchSize, depthDim: depth, hiddenDim: hiddenDim, scale: scale)
    |                 `- warning: initialization of immutable value 'params' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
342 |             let numSG = DepthAttentionKernel.optimalSimdgroups(hiddenDim: hiddenDim)
343 |             var gpuParams = GPUDepthAttentionParamsPublic(
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:410:9: warning: initialization of immutable value 'layersPerBlock' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
408 |     let numLayers = 12
409 |     let numBlocks = 8
410 |     let layersPerBlock = numLayers / numBlocks
    |         `- warning: initialization of immutable value 'layersPerBlock' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
411 |     let hiddenDim = 768
412 |     let scale: Float = 1.0 / sqrt(Float(hiddenDim))
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:420:13: warning: initialization of immutable value 'matmulElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
418 |     for batchSize in [1, 4, 8, 16, 32] {
419 |         let totalQ = batchSize * hiddenDim
420 |         let matmulElements = batchSize * hiddenDim * hiddenDim
    |             `- warning: initialization of immutable value 'matmulElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
421 |
422 |         // Allocate weight matrix and hidden state buffers
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:425:13: warning: initialization of immutable value 'weightBuf' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
423 |         var weightData = [Float](repeating: 0, count: hiddenDim * hiddenDim)
424 |         for i in 0..<weightData.count { weightData[i] = Float.random(in: -0.01...0.01) }
425 |         let weightBuf = device.makeBuffer(bytes: weightData, length: hiddenDim * hiddenDim * 4, options: .storageModeShared)!
    |             `- warning: initialization of immutable value 'weightBuf' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
426 |
427 |         var hData = [Float](repeating: 0, count: totalQ)
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:429:13: warning: initialization of immutable value 'hBuf' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
427 |         var hData = [Float](repeating: 0, count: totalQ)
428 |         for i in 0..<totalQ { hData[i] = Float.random(in: -0.5...0.5) }
429 |         let hBuf = device.makeBuffer(bytes: hData, length: totalQ * 4, options: .storageModeShared)!
    |             `- warning: initialization of immutable value 'hBuf' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
430 |         let outBuf = device.makeBuffer(length: totalQ * 4, options: .storageModeShared)!
431 |
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:430:13: warning: initialization of immutable value 'outBuf' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
428 |         for i in 0..<totalQ { hData[i] = Float.random(in: -0.5...0.5) }
429 |         let hBuf = device.makeBuffer(bytes: hData, length: totalQ * 4, options: .storageModeShared)!
430 |         let outBuf = device.makeBuffer(length: totalQ * 4, options: .storageModeShared)!
    |             `- warning: initialization of immutable value 'outBuf' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
431 |
432 |         // --- 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.