diff options
| author | Deval Shah <[email protected]> | 2018-11-09 21:19:34 -0800 |
|---|---|---|
| committer | Deval Shah <[email protected]> | 2018-11-09 21:19:34 -0800 |
| commit | 801438706272f5518f34bc3d6def462c6805a2fb (patch) | |
| tree | 74e003ab7fca4acf74272399ff5e90a470bd79ca /src/cuda-sim/ptx_sim.h | |
| parent | 36496d4ab2ff1088979e0f3137c54592652c37da (diff) | |
changes for checkpoint support
Diffstat (limited to 'src/cuda-sim/ptx_sim.h')
| -rw-r--r-- | src/cuda-sim/ptx_sim.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx_sim.h b/src/cuda-sim/ptx_sim.h index 0a6e8eb..d226fbe 100644 --- a/src/cuda-sim/ptx_sim.h +++ b/src/cuda-sim/ptx_sim.h @@ -306,6 +306,8 @@ public: const ptx_version &get_ptx_version() const; void set_reg( const symbol *reg, const ptx_reg_t &value ); + void print_reg_thread (char * fname); + void resume_reg_thread(char * fname, symbol_table * symtab); ptx_reg_t get_reg( const symbol *reg ); ptx_reg_t get_operand_value( const operand_info &op, operand_info dstInfo, unsigned opType, ptx_thread_info *thread, int derefFlag ); void set_operand_value( const operand_info &dst, const ptx_reg_t &data, unsigned type, ptx_thread_info *thread, const ptx_instruction *pI ); |
