Skip to content

Migrate/jit/matmul tiling 2d #3569

Migrate/jit/matmul tiling 2d

Migrate/jit/matmul tiling 2d #3569

GitHub Actions / clippy failed Mar 21, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

crates/burn-jit/src/kernel/matmul/base.rs|101 col 1| error: this impl can be derived
--> crates/burn-jit/src/kernel/matmul/base.rs:101:1
|
101 | / impl Default for MatmulStrategy {
102 | | fn default() -> Self {
103 | | MatmulStrategy::Autotune
104 | | }
105 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: -D clippy::derivable-impls implied by -D warnings
= help: to override -D warnings add #[allow(clippy::derivable_impls)]
= help: remove the manual implementation...
help: ...and instead derive it...
|
83 + #[derive(Default)]
84 | pub enum MatmulStrategy {
|
help: ...and mark the default variant
|
97 ~ #[default]
98 ~ Autotune,
|

Filtered Findings (0)

Annotations

Check failure on line 101 in crates/burn-jit/src/kernel/matmul/base.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] crates/burn-jit/src/kernel/matmul/base.rs#L101

error: this `impl` can be derived
   --> crates/burn-jit/src/kernel/matmul/base.rs:101:1
    |
101 | / impl Default for MatmulStrategy {
102 | |     fn default() -> Self {
103 | |         MatmulStrategy::Autotune
104 | |     }
105 | | }
    | |_^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
    = note: `-D clippy::derivable-impls` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::derivable_impls)]`
    = help: remove the manual implementation...
help: ...and instead derive it...
    |
83  + #[derive(Default)]
84  | pub enum MatmulStrategy {
    |
help: ...and mark the default variant
    |
97  ~     #[default]
98  ~     Autotune,
    |
Raw output
crates/burn-jit/src/kernel/matmul/base.rs:101:1:e:error: this `impl` can be derived
   --> crates/burn-jit/src/kernel/matmul/base.rs:101:1
    |
101 | / impl Default for MatmulStrategy {
102 | |     fn default() -> Self {
103 | |         MatmulStrategy::Autotune
104 | |     }
105 | | }
    | |_^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
    = note: `-D clippy::derivable-impls` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::derivable_impls)]`
    = help: remove the manual implementation...
help: ...and instead derive it...
    |
83  + #[derive(Default)]
84  | pub enum MatmulStrategy {
    |
help: ...and mark the default variant
    |
97  ~     #[default]
98  ~     Autotune,
    |


__END__