tracel-ai / cubecl

Multi-platform high-performance compute language extension for Rust.
https://burn.dev
Apache License 2.0
653 stars 29 forks source link

Support left-hand tuple syntax #79

Closed wbrickner closed 1 month ago

wbrickner commented 2 months ago

Inside #[cube] functions I am unable to write things like let (x, y) = (0, 1);

not yet implemented: Analysis: unsupported path Pat::Tuple { attrs: [], paren_token: Paren, elems: [Pat::Ident { attrs: [], by_ref: None, mutability: None, ident: Ident { ident: "x", span: #0 bytes(614..615) }, subpat: None }, Comma, Pat::Ident { attrs: [], by_ref: None, mutability: None, ident: Ident { ident: "y", span: #0 bytes(617..618) }, subpat: None }] }