summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_parser.cc
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-05-30 13:44:15 -0400
committerMengchi Zhang <[email protected]>2019-05-30 13:44:15 -0400
commit603e53ee948fecd623837b52c4e94ca2dbf0012b (patch)
treee63aed2aac68737f0dd96f79541a6c869f38c63f /src/cuda-sim/ptx_parser.cc
parent9e3a9ac5ed0a70ec9b048bd3cb4df781687e85f8 (diff)
Move some variables in ptx_parser
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/ptx_parser.cc')
-rw-r--r--src/cuda-sim/ptx_parser.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cuda-sim/ptx_parser.cc b/src/cuda-sim/ptx_parser.cc
index c4cc911..a61dc16 100644
--- a/src/cuda-sim/ptx_parser.cc
+++ b/src/cuda-sim/ptx_parser.cc
@@ -67,7 +67,6 @@ memory_space_t g_ptr_spec = undefined_space;
int g_scalar_type_spec = -1;
int g_vector_spec = -1;
int g_alignment_spec = -1;
-int g_size = -1;
int g_extern_spec = 0;
// variable declaration stuff:
@@ -201,10 +200,6 @@ void ptx_recognizer::start_function( int entry_point )
g_entry_func_param_index=0;
}
-char *g_add_identifier_cached__identifier = NULL;
-int g_add_identifier_cached__array_dim;
-int g_add_identifier_cached__array_ident;
-
void ptx_recognizer::add_function_name( const char *name )
{
PTX_PARSE_DPRINTF("add_function_name %s %s", name, ((g_entry_point==1)?"(entrypoint)":((g_entry_point==2)?"(extern)":"")));