ITADN
liuliu/ccv/Issues

Swift package

#274Pull Requestweiyanlin117 创建于 2025-12-13
W
weiyanlin117commented
removed module.modulemap to fix bazel build, created lib/swift_package_headers lib/3rdparty/sfmt/swift_package_headers lib/nnc/swift_package_headers test/swift_package_headers those directories with symlink as the public header path for swift package manager, those swift_package_headers directory for swift package are NOT used as include or headers in the Bazel, thus Bazel build are not impacted. swift build -c release --product mpsblas.tests swift build -c release --product mpsdnn.tests (base) weiyan@weiyans-Mac-Studio ccv % .build/arm64-apple-macosx/release/mpsdnn.tests [1/80] [PASS] mps forward convolution [2/80] [PASS] mps forward convolution in nchw format ... [78/80] [PASS] compare tanh with mps in half precision [79/80] [PASS] compare tanh gradient with mps [80/80] [PASS] compare tanh gradient with mps in half precision all test case(s) passed, congratulations! (base) weiyan@weiyans-Mac-Studio ccv % .build/arm64-apple-macosx/release/mpsblas.tests [1/61] [PASS] gemm no transpose [2/61] [PASS] gemm transpose a [3/61] [PASS] gemm transpose b ... [59/61] [PASS] backward gemm with no transpose batch 2, batched b, no bias [60/61] [PASS] backward gemm with transpose b batch 2, batched b, no bias [61/61] [PASS] backward gemm with transpose a and b batch 2, batch b, no bias all test case(s) passed, congratulations!
合并状态:未合并 关闭于 2025-12-16 3 条评论