summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorgpgpu-sim <[email protected]>2016-09-06 06:43:14 -0700
committerGitHub <[email protected]>2016-09-06 06:43:14 -0700
commit3e9c0b4308ad32f381dc90f7763df46fa9ba721c (patch)
treed77c8320f986a1c64d2018a7e50d09f8e4dd6a40 /src/abstract_hardware_model.h
parentbab2a234abfadc50cb14dadb01c10595ce6ad1ef (diff)
parent0afe825c212560c3b473366d005a50c2568cad1a (diff)
Merge pull request #30 from sspenst/dev
shfl instruction implemented
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 5b69a05..aaa4b00 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -1106,6 +1106,7 @@ class core_t {
warp_inst_t getExecuteWarp(unsigned warpId);
void get_pdom_stack_top_info( unsigned warpId, unsigned *pc, unsigned *rpc ) const;
kernel_info_t * get_kernel_info(){ return m_kernel;}
+ class ptx_thread_info ** get_thread_info() { return m_thread; }
unsigned get_warp_size() const { return m_warp_size; }
void and_reduction(unsigned ctaid, unsigned barid, bool value) { reduction_storage[ctaid][barid] &= value; }
void or_reduction(unsigned ctaid, unsigned barid, bool value) { reduction_storage[ctaid][barid] |= value; }