-
Hi CubeCL/Burn community,
The tests (test_kernel_different_rank_first_biggest and test_kernel_different_rank_last_biggest) use different shapes/strides, e.g.: lhs: [2, 2, 2] or [2, 4] However, ABSOLUTE_POS indexes linearly, and all tensors have 8 elements, so shapes/strides don’t impact the result. Additionally, client.create and client.read_one handle raw buffers, ignoring shapes/strides. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It seems that this test was added specifically for a previous issue with tensor metadata for CUDA. The PR tracel-ai/cubecl#124 (linked to issue tracel-ai/cubecl#122) might provide more context. |
Beta Was this translation helpful? Give feedback.
It seems that this test was added specifically for a previous issue with tensor metadata for CUDA.
The PR tracel-ai/cubecl#124 (linked to issue tracel-ai/cubecl#122) might provide more context.