1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use crate::frontend::CubeContext;
use crate::ir::Synchronization;

pub fn sync_units() {}

pub mod sync_units {
    use super::*;

    pub fn __expand(context: &mut CubeContext) {
        context.register(Synchronization::SyncUnits)
    }
}

pub fn sync_storage() {}

pub mod sync_storage {
    use super::*;

    pub fn __expand(context: &mut CubeContext) {
        context.register(Synchronization::SyncStorage)
    }
}