From 5a52fa70980d905f1117250d0508c529293c9049 Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Mon, 29 Nov 2010 09:20:00 -0800 Subject: integrate mask changes [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8170] --- src/abstract_hardware_model.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/abstract_hardware_model.h') diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index 21f9689..3b197ab 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -618,12 +618,9 @@ public: { m_empty=true; } - void issue( unsigned mask, unsigned warp_id, unsigned long long cycle ) + void issue( const active_mask_t &mask, unsigned warp_id, unsigned long long cycle ) { - for (int i=(int)m_config->warp_size-1; i>=0; i--) { - if( mask & (1<