diff options
| author | Tor Aamodt <[email protected]> | 2010-08-08 04:16:35 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-08-08 04:16:35 -0800 |
| commit | 06435e77c580bf7737333929ed26d3863949bd15 (patch) | |
| tree | 2aa5881d8b3cffc6e3587007da0e9556c78665b3 /src/cuda-sim/ptx_sim.h | |
| parent | 4d441a9746616b2e45397097e6a7600a67aa973c (diff) | |
add listing function for ptx debugging
print out compilation errors encountered during OpenCL to PTX conversion (still a bit cryptic)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7162]
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 8de4127..c2bb533 100644 --- a/src/cuda-sim/ptx_sim.h +++ b/src/cuda-sim/ptx_sim.h @@ -400,6 +400,8 @@ public: bool callstack_pop(); void dump_callstack() const; std::string get_location() const; + const ptx_instruction *get_inst() const; + const ptx_instruction *get_inst( addr_t pc ) const; bool rpc_updated() const { return m_RPC_updated; } bool last_was_call() const { return m_last_was_call; } unsigned get_rpc() const { return m_RPC; } |
