summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorAyub Gubran <[email protected]>2012-07-16 23:49:05 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:47:33 -0700
commita05d1c1a5abb37f129c95c92991f69f3a43158ed (patch)
tree6786c74a1ac98c88b481d1acf5aa313476240cf2 /src/abstract_hardware_model.h
parentdc45f0ec4b16144c248fb86acc905fbb5b627300 (diff)
Fix for bug 9: Now querying the state of the pdom stack in call_imp and callp_imp using a core_t function, thus moving the querying function into the abstract model of the core instead of shader_core_ctx which represents the performance mode. This code simplify the querying and also avoid the unnecessary calling hierarchy that was used.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13375]
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index a2d144f..1fc10b9 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -854,6 +854,7 @@ class core_t {
void updateSIMTStack(unsigned warpId, unsigned warpSize, warp_inst_t * inst);
void initilizeSIMTStack(unsigned warps, unsigned warpsSize);
warp_inst_t getExecuteWarp(unsigned warpId);
+ void get_pdom_stack_top_info( unsigned warpId, unsigned *pc, unsigned *rpc ) const;
protected:
class gpgpu_sim *m_gpu;