diff options
| author | Davit Grigoryan <[email protected]> | 2026-04-28 22:06:08 +0000 |
|---|---|---|
| committer | Davit Grigoryan <[email protected]> | 2026-04-28 22:06:08 +0000 |
| commit | fbb90ef3a76cd6c469782c84668d25c5f3bfdd22 (patch) | |
| tree | 08d320b6da8f5c6c5e276c94ba19a8d5d5bc9216 /src/abstract_hardware_model.cc | |
| parent | 3d4d274eb3a6a23a5924b557d010590e219c5256 (diff) | |
critical fix - add option to have masks for SB entries
Diffstat (limited to 'src/abstract_hardware_model.cc')
| -rw-r--r-- | src/abstract_hardware_model.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.cc b/src/abstract_hardware_model.cc index 72639d4..5d95db6 100644 --- a/src/abstract_hardware_model.cc +++ b/src/abstract_hardware_model.cc @@ -305,6 +305,14 @@ void warp_inst_t::set_split_id_on_sets(unsigned split_id) { } } +void warp_inst_t::set_source_mask_on_sets(const active_mask_t &mask) { + for (unsigned s = 0; s < m_simd_sets.size(); s++) { + if (m_simd_sets[s].valid) { + m_simd_sets[s].source_mask = mask; + } + } +} + void warp_inst_t::merge_simd_sets( const std::vector<simd_set_info> &other_sets) { assert(m_simd_sets.size() == other_sets.size()); |
