diff options
| author | Tor Aamodt <[email protected]> | 2020-07-15 14:42:42 -0700 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2020-07-15 14:42:42 -0700 |
| commit | 5e8e84976b63186ce4682e3dbb1bea84542558a9 (patch) | |
| tree | 2610cd196eba67032ff664c3bae192eb0b434d79 /cuobjdump_to_ptxplus/ptx_parser.h | |
| parent | 089446c9898b050f36e854eebff5dbd33332dce8 (diff) | |
| parent | 53e63b9b5684388ad102848275efe524d68aab01 (diff) | |
Merge branch 'dev'
Diffstat (limited to 'cuobjdump_to_ptxplus/ptx_parser.h')
| -rw-r--r-- | cuobjdump_to_ptxplus/ptx_parser.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cuobjdump_to_ptxplus/ptx_parser.h b/cuobjdump_to_ptxplus/ptx_parser.h index 1c96b46..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(" ");} @@ -110,6 +113,11 @@ void add_alignment_spec( int ) {PTX_PARSE_DPRINTF(" ");} void add_pragma( const char *a ) {PTX_PARSE_DPRINTF(" ");} void add_constptr(const char* identifier1, const char* identifier2, int offset) {PTX_PARSE_DPRINTF(" ");} +//Jin: handle instructino group for cdp +void start_inst_group(){PTX_PARSE_DPRINTF(" ");}; +void end_inst_group(){PTX_PARSE_DPRINTF(" ");}; + + /*non-dummy stuff below this point*/ extern cuobjdumpInstList *g_headerList; @@ -368,4 +376,8 @@ void func_header_info_int(const char* s, int i) g_headerList->getListEnd().addOperand(buff); } } + +void maxnt_id(int x, int y, int z) { + +} #endif //_PTX_PARSER_H_ |
