ptx_parser/unparser/instruction/
mbarrier_pending_count.rs1#![allow(unused)]
6
7use crate::lexer::PtxToken;
8use crate::unparser::{PtxUnparser, common::*};
9
10pub mod section_0 {
11 use super::*;
12 use crate::r#type::instruction::mbarrier_pending_count::section_0::*;
13
14 impl PtxUnparser for MbarrierPendingCountB64 {
15 fn unparse_tokens(&self, tokens: &mut ::std::vec::Vec<PtxToken>) {
16 push_opcode(tokens, "mbarrier");
17 push_directive(tokens, "pending_count");
18 push_directive(tokens, "b64");
19 self.count.unparse_tokens(tokens);
20 tokens.push(PtxToken::Comma);
21 self.state.unparse_tokens(tokens);
22 tokens.push(PtxToken::Semicolon);
23 }
24 }
25}