ptx_parser/unparser/instruction/
tcgen05_fence.rs1#![allow(unused)]
7
8use crate::lexer::PtxToken;
9use crate::unparser::{PtxUnparser, common::*};
10
11pub mod section_0 {
12 use super::*;
13 use crate::r#type::instruction::tcgen05_fence::section_0::*;
14
15 impl PtxUnparser for Tcgen05FenceBeforeThreadSync {
16 fn unparse_tokens(&self, tokens: &mut ::std::vec::Vec<PtxToken>) {
17 push_opcode(tokens, "tcgen05");
18 push_directive(tokens, "fence::before_thread_sync");
19 tokens.push(PtxToken::Semicolon);
20 }
21 }
22
23 impl PtxUnparser for Tcgen05FenceAfterThreadSync {
24 fn unparse_tokens(&self, tokens: &mut ::std::vec::Vec<PtxToken>) {
25 push_opcode(tokens, "tcgen05");
26 push_directive(tokens, "fence::after_thread_sync");
27 tokens.push(PtxToken::Semicolon);
28 }
29 }
30
31}
32