diff options
Diffstat (limited to 'cuobjdump_to_ptxplus')
| -rw-r--r-- | cuobjdump_to_ptxplus/cuobjdumpInst.cc | 2 | ||||
| -rw-r--r-- | cuobjdump_to_ptxplus/ptx_parser.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/cuobjdump_to_ptxplus/cuobjdumpInst.cc b/cuobjdump_to_ptxplus/cuobjdumpInst.cc index c74d2d8..392f829 100644 --- a/cuobjdump_to_ptxplus/cuobjdumpInst.cc +++ b/cuobjdump_to_ptxplus/cuobjdumpInst.cc @@ -2083,7 +2083,7 @@ void cuobjdumpInst::printCuobjdumpPtxPlus(std::list<std::string> labelList, std: else { printf("Unknown Instruction: "); - printf(m_base.c_str()); + printf("%s",m_base.c_str()); printf("\n"); output("Unknown Instruction: "); output(m_base); diff --git a/cuobjdump_to_ptxplus/ptx_parser.h b/cuobjdump_to_ptxplus/ptx_parser.h index 729eaec..ee7a942 100644 --- a/cuobjdump_to_ptxplus/ptx_parser.h +++ b/cuobjdump_to_ptxplus/ptx_parser.h @@ -58,6 +58,7 @@ enum _memory_space_t { reg_space, local_space, shared_space, + sstarr_space, param_space_unclassified, param_space_kernel, /* global to all threads in a kernel : read-only */ param_space_local, /* local to a thread : read-writable */ @@ -81,6 +82,7 @@ void add_file( unsigned a, const char *b ) {PTX_PARSE_DPRINTF(" ");} void add_variables() {PTX_PARSE_DPRINTF(" ");} void set_variable_type() {PTX_PARSE_DPRINTF(" ");} void add_option(int a ) {PTX_PARSE_DPRINTF(" ");} +void add_wmma_option(int a ) {PTX_PARSE_DPRINTF(" ");} void add_array_initializer() {PTX_PARSE_DPRINTF(" ");} void add_label( const char *a ) {PTX_PARSE_DPRINTF(" ");} void set_return() {PTX_PARSE_DPRINTF(" ");} @@ -98,6 +100,7 @@ void add_1vector_operand( const char *a ) {PTX_PARSE_DPRINTF(" ");} void add_2vector_operand( const char *a, const char *b ) {PTX_PARSE_DPRINTF(" ");} void add_3vector_operand( const char *a, const char *b, const char *c ) {PTX_PARSE_DPRINTF(" ");} void add_4vector_operand( const char *a, const char *b, const char *c, const char *d ) {PTX_PARSE_DPRINTF(" ");} +void add_8vector_operand( const char *a, const char *b, const char *c, const char *d ,const char *e,const char *f,const char *g,const char *h) {PTX_PARSE_DPRINTF(" ");} void add_builtin_operand( int a, int b ) {PTX_PARSE_DPRINTF(" ");} void add_memory_operand() {PTX_PARSE_DPRINTF(" ");} void change_memory_addr_space( const char *a ) {PTX_PARSE_DPRINTF(" ");} |
