#![allow(unused)]
use crate::lexer::PtxToken;
use crate::unparser::{PtxUnparser, common::*};
pub mod section_0 {
use super::*;
use crate::r#type::instruction::tensormap_cp_fenceproxy::section_0::*;
impl PtxUnparser for TensormapCpFenceproxyCpQualifiersFenceQualifiersSyncAligned {
fn unparse_tokens(&self, tokens: &mut ::std::vec::Vec<PtxToken>) {
push_opcode(tokens, "tensormap");
push_directive(tokens, "cp_fenceproxy");
match &self.cp_qualifiers {
CpQualifiers::GlobalSharedCta => {
push_directive(tokens, "global.shared::cta");
}
}
match &self.fence_qualifiers {
FenceQualifiers::ToProxyFromProxyReleaseScope(_, _, _) => {
push_directive(tokens, "tensormap::generic");
push_directive(tokens, "release");
push_directive(tokens, "cluster");
push_directive(tokens, "cta");
push_directive(tokens, "gpu");
push_directive(tokens, "sys");
}
}
push_directive(tokens, "sync");
push_directive(tokens, "aligned");
self.dst.unparse_tokens(tokens);
tokens.push(PtxToken::Comma);
self.src.unparse_tokens(tokens);
tokens.push(PtxToken::Comma);
self.size.unparse_tokens(tokens);
tokens.push(PtxToken::Semicolon);
}
}
}