cubek-std 0.3.0-pre.1

CubeK: Standard Library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use cubek_test_utils::CatalogEntry;

pub struct ContiguousProblem {
    pub shape: Vec<usize>,
    pub dims: Vec<(usize, usize)>,
}

pub fn problems() -> Vec<CatalogEntry<ContiguousProblem>> {
    vec![CatalogEntry::new(
        "4d_swap_1_2_2_3",
        "4D (16x16x512x512) swap (1,2)+(2,3)",
        ContiguousProblem {
            shape: vec![16, 16, 512, 512],
            dims: vec![(1, 2), (2, 3)],
        },
    )]
}