summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorsspenst <[email protected]>2016-08-04 13:09:41 -0700
committersspenst <[email protected]>2016-08-04 13:09:41 -0700
commitfeda07a5e0053ef2f2bfa382f5ba9a7a0b6c6bf5 (patch)
tree22be33d4b51a6d04dd32aac7ea8b199f213e0f17 /src/abstract_hardware_model.h
parente08fc0294fe919a198477b771a414c5102430188 (diff)
A thread executing BSMAD is now able to access information from all threads in its warp
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 6ed9b8e..13dfce3 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -1053,6 +1053,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; }