Skip to main content

ptx_parser/type/instruction/
nanosleep.rs

1//! Original PTX specification:
2//!
3//! nanosleep.u32 t;
4
5#![allow(unused)]
6use crate::r#type::common::*;
7
8pub mod section_0 {
9    use crate::Spanned;
10    use crate::parser::Span;
11    use crate::r#type::common::*;
12
13    use serde::Serialize;
14
15    #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
16    pub struct NanosleepU32 {
17        pub u32: (),           // .u32
18        pub t: GeneralOperand, // t
19        pub span: Span,
20    }
21}
22
23// Re-export types with section suffixes to avoid naming conflicts
24// e.g., Type0 for section_0::Type, Type1 for section_1::Type
25pub use section_0::NanosleepU32;