Compiling ipu-codegen v0.1.0 (/srv/home/gc-sdk/ipu-stack/crates/ipu-codegen) warning: unused import: `region_program` --> crates/ipu-codegen/src/estimate/mod.rs:22:23 | 22 | operation_cycles, region_program, | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused import: `memory::*` --> crates/ipu-codegen/src/estimate/mod.rs:39:16 | 39 | pub(crate) use memory::*; | ^^^^^^^^^ warning: unused import: `contiguous_axis_blocks` --> crates/ipu-codegen/src/storage/mod.rs:12:49 | 12 | ByteTraversal, StridedSpan, byte_traversal, contiguous_axis_blocks, contiguous_axis_stride, panel_byte_traversal, | ^^^^^^^^^^^^^^^^^^^^^^ warning: unused imports: `axis_tiling` and `broadcast_operand_tiling` --> crates/ipu-codegen/src/tensor/mod.rs:99:5 | 99 | axis_tiling, broadcast_operand_tiling, project_tiling, same_distribution, | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ warning: methods `objectives` and `total_with_exchange` are never used --> crates/ipu-codegen/src/estimate/memory.rs:57:19 | 46 | impl MemoryPeaks { | ---------------- methods in this implementation ... 57 | pub(crate) fn objectives(self) -> [u64; 5] { | ^^^^^^^^^^ ... 67 | pub(crate) fn total_with_exchange(self) -> u64 { | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: function `tensor_memory` is never used --> crates/ipu-codegen/src/estimate/memory.rs:106:15 | 106 | pub(crate) fn tensor_memory(tensor: &TensorType) -> MemoryUsage { | ^^^^^^^^^^^^^ warning: function `operation_cycles` is never used --> crates/ipu-codegen/src/estimate/mid.rs:26:15 | 26 | pub(crate) fn operation_cycles<'a>( | ^^^^^^^^^^^^^^^^ warning: function `maximum_axis_shard_extent` is never used --> crates/ipu-codegen/src/estimate/tensor.rs:25:15 | 25 | pub(crate) fn maximum_axis_shard_extent(tensor: &TensorType, axis: usize) -> u64 { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WORKER_CALL_CYCLES` is never used --> crates/ipu-codegen/src/kernel/copy.rs:18:18 | 18 | pub(crate) const WORKER_CALL_CYCLES: u64 = ipu_target::ipu21::costs::COSTS.local_copy_call_cycles; | ^^^^^^^^^^^^^^^^^^ warning: field `complete_rows` is never read --> crates/ipu-codegen/src/kernel/binding.rs:326:9 | 323 | pub(crate) struct OutputCapability { | ---------------- field in this struct ... 326 | pub complete_rows: bool, | ^^^^^^^^^^^^^ warning: function `supports_row_major_population` is never used --> crates/ipu-codegen/src/kernel/rearrange.rs:307:15 | 307 | pub(crate) fn supports_row_major_population(order: ElementOrder) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `is_single_use` is never used --> crates/ipu-codegen/src/mid/rewrite.rs:44:15 | 44 | pub(crate) fn is_single_use( | ^^^^^^^^^^^^^ warning: function `producer_through_copies` is never used --> crates/ipu-codegen/src/mid/rewrite.rs:141:15 | 141 | pub(crate) fn producer_through_copies( | ^^^^^^^^^^^^^^^^^^^^^^^ warning: function `fusion_pays` is never used --> crates/ipu-codegen/src/mid/rewrite.rs:171:15 | 171 | pub(crate) fn fusion_pays<'a>( | ^^^^^^^^^^^ warning: method `input_axis` is never used --> crates/ipu-codegen/src/tensor/mod.rs:54:19 | 38 | impl<'a> Broadcast<'a> { | ---------------------- method in this implementation ... 54 | pub(crate) fn input_axis(self, output_axis: usize) -> Option { | ^^^^^^^^^^ warning: method `minimum_extent` is never used --> crates/ipu-codegen/src/tensor/resolved.rs:50:19 | 15 | impl ResolvedAxis { | ----------------- method in this implementation ... 50 | pub(crate) fn minimum_extent(&self) -> u32 { | ^^^^^^^^^^^^^^ warning: function `broadcast_operand_tiling` is never used --> crates/ipu-codegen/src/tensor/resolved.rs:503:15 | 503 | pub(crate) fn broadcast_operand_tiling( | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `axis_tiling` is never used --> crates/ipu-codegen/src/tensor/resolved.rs:514:15 | 514 | pub(crate) fn axis_tiling(tensor: &TensorType, axis: usize) -> Option<&AxisTiling> { | ^^^^^^^^^^^ warning: `ipu-codegen` (lib test) generated 18 warnings (run `cargo fix --lib -p ipu-codegen --tests` to apply 4 suggestions) Finished `release` profile [optimized] target(s) in 30.01s Running unittests src/lib.rs (target/release/deps/ipu_codegen-8a4acda8960e2f33) running 1 test COPY_COMPONENTS old0 op0 total=41976 exchange=4992 generic_local=29160 transform=7824 bytes=35136 calls=86 actual_local_bytes=288 local_intersections=1 COPY_COMPONENTS old0 op1 total=49848 exchange=21336 generic_local=28512 transform=0 bytes=165888 calls=27 actual_local_bytes=7168 local_intersections=1 COPY_COMPONENTS old0 op3 total=9240 exchange=8376 generic_local=864 transform=0 bytes=4608 calls=1 actual_local_bytes=4608 local_intersections=1 COPY_COMPONENTS old0 op4 total=10248 exchange=9384 generic_local=864 transform=0 bytes=4608 calls=1 actual_local_bytes=4608 local_intersections=1 COPY_COMPONENTS old0 op6 total=5410 exchange=1752 generic_local=3658 transform=0 bytes=8528 calls=9 actual_local_bytes=576 local_intersections=1 COPY_COMPONENTS old2 op0 total=49992 exchange=7080 generic_local=32112 transform=10800 bytes=51840 calls=89 actual_local_bytes=320 local_intersections=1 COPY_COMPONENTS old2 op1 total=36504 exchange=15960 generic_local=20544 transform=0 bytes=122880 calls=18 actual_local_bytes=7168 local_intersections=1 COPY_COMPONENTS old2 op3 total=8520 exchange=8088 generic_local=432 transform=0 bytes=1152 calls=1 actual_local_bytes=1152 local_intersections=1 COPY_COMPONENTS old2 op4 total=8520 exchange=8088 generic_local=432 transform=0 bytes=1152 calls=1 actual_local_bytes=1152 local_intersections=1 COPY_COMPONENTS old2 op6 total=2326 exchange=888 generic_local=1438 transform=0 bytes=2288 calls=4 actual_local_bytes=384 local_intersections=1 test planner::gemm::tests::trace_fp16_regression ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 306 filtered out; finished in 5.52s