diff options
| author | sspenst <[email protected]> | 2016-08-04 13:09:41 -0700 |
|---|---|---|
| committer | sspenst <[email protected]> | 2016-08-04 13:09:41 -0700 |
| commit | feda07a5e0053ef2f2bfa382f5ba9a7a0b6c6bf5 (patch) | |
| tree | 22be33d4b51a6d04dd32aac7ea8b199f213e0f17 /src/abstract_hardware_model.h | |
| parent | e08fc0294fe919a198477b771a414c5102430188 (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.h | 1 |
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; } |
