ptx_parser/type/instruction/
getctarank.rs1#![allow(unused)]
16use crate::r#type::common::*;
17
18pub mod section_0 {
19 use crate::Spanned;
20 use crate::parser::Span;
21 use crate::r#type::common::*;
22
23 use serde::Serialize;
24
25 #[derive(Debug, Clone, PartialEq, Serialize)]
26 pub enum Space {
27 SharedCluster, }
29
30 #[derive(Debug, Clone, PartialEq, Serialize)]
31 pub enum Type {
32 U32, U64, }
35
36 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
37 pub struct GetctarankSpaceType {
38 pub space: Option<Space>, pub type_: Type, pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
43 }
44
45 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
46 pub struct GetctarankSharedClusterType {
47 pub shared_cluster: (), pub type_: Type, pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
52 }
53
54 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
55 pub struct GetctarankType {
56 pub type_: Type, pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
60 }
61}
62
63pub use section_0::GetctarankSharedClusterType;
66pub use section_0::GetctarankSpaceType;
67pub use section_0::GetctarankType;
68pub use section_0::Space as Space0;
69pub use section_0::Type as Type0;