summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_parser.cc
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-06-04 22:34:33 -0400
committerGitHub <[email protected]>2019-06-04 22:34:33 -0400
commitfea710871ec72ea9515e14c228edd60fbd4e6241 (patch)
tree167c20c06d0712740a10f1a1099255cd6a8c77d1 /src/cuda-sim/ptx_parser.cc
parent6773374a9ceb96dd44613b2c6dbd0dac10ae4027 (diff)
parent8ad9dbc77947b4abd51ebb55ef4bbe80be01caaa (diff)
Merge pull request #9 from echoedit/dev
gpgpu_context
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)":"")));