summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cuda-sim/ptx_parser.h')
-rw-r--r--src/cuda-sim/ptx_parser.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cuda-sim/ptx_parser.h b/src/cuda-sim/ptx_parser.h
index 076fa11..8ffe593 100644
--- a/src/cuda-sim/ptx_parser.h
+++ b/src/cuda-sim/ptx_parser.h
@@ -66,14 +66,17 @@
#define ptx_parser_INCLUDED
#include "../abstract_hardware_model.h"
-
extern const char *g_filename;
+extern int g_error_detected;
+
#ifdef __cplusplus
+class symbol_table* init_parser(const char*);
+const class ptx_instruction *ptx_instruction_lookup( const char *filename, unsigned linenumber );
extern "C" {
#endif
+
const char *decode_token( int type );
void read_parser_environment_variables();
-void init_parser(const char*);
void start_function( int entry_point );
void add_function_name( const char *fname );
void init_directive_state();