Refactor/cube/vectorization #4186
Annotations
18 errors
[clippy] crates/burn-cube/src/codegen/dialect/procedure/read.rs#L146:
crates/burn-cube/src/codegen/dialect/procedure/read.rs#L146
error: useless conversion to the same type: `u8`
--> crates/burn-cube/src/codegen/dialect/procedure/read.rs:146:40
|
146 | let vectorization_factor: u8 = self.tensors[0].item().vectorization.into();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `self.tensors[0].item().vectorization`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`
|
[clippy] crates/burn-cube/src/language/element/bool.rs#L42:
crates/burn-cube/src/language/element/bool.rs#L42
error: useless conversion to the same type: `u8`
--> crates/burn-cube/src/language/element/bool.rs:42:9
|
42 | self.vectorization.into()
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `self.vectorization`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
[clippy] crates/burn-cube/src/language/element/numeric.rs#L41:
crates/burn-cube/src/language/element/numeric.rs#L41
error: useless conversion to the same type: `u8`
--> crates/burn-cube/src/language/element/numeric.rs:41:28
|
41 | vectorization: (vec.len() as u8).into(),
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(vec.len() as u8)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
[clippy] crates/burn-cube/src/language/element/uint.rs#L26:
crates/burn-cube/src/language/element/uint.rs#L26
error: useless conversion to the same type: `u8`
--> crates/burn-cube/src/language/element/uint.rs:26:9
|
26 | self.vectorization.into()
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `self.vectorization`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
tests (blaze/macos-14, 1.75.0, std)
Canceling since a higher priority waiting request for 'test-refs/pull/1781/merge' exists
|
tests (blaze/macos-14, 1.75.0, std)
The operation was canceled.
|
tests (windows-2022, 1.75.0, std)
Canceling since a higher priority waiting request for 'test-refs/pull/1781/merge' exists
|
tests (windows-2022, 1.75.0, std)
The operation was canceled.
|
tests (windows-2022, stable, std)
Canceling since a higher priority waiting request for 'test-refs/pull/1781/merge' exists
|
tests (windows-2022, stable, std)
The operation was canceled.
|
tests (windows-2022, stable, examples)
Canceling since a higher priority waiting request for 'test-refs/pull/1781/merge' exists
|
tests (windows-2022, stable, examples)
The operation was canceled.
|
tests (ubuntu-22.04, 1.75.0, std)
Canceling since a higher priority waiting request for 'test-refs/pull/1781/merge' exists
|
tests (ubuntu-22.04, 1.75.0, std)
The operation was canceled.
|
tests (ubuntu-22.04, stable, std)
Canceling since a higher priority waiting request for 'test-refs/pull/1781/merge' exists
|
tests (ubuntu-22.04, stable, std)
The operation was canceled.
|
tests (blaze/macos-14, stable, std)
Canceling since a higher priority waiting request for 'test-refs/pull/1781/merge' exists
|
tests (blaze/macos-14, stable, std)
The operation was canceled.
|