aboutsummaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorspeverel <[email protected]>2017-09-24 21:12:40 -0700
committerspeverel <[email protected]>2017-09-24 21:12:40 -0700
commit0751c1489add70d7494521c7f9d65f462e4391c6 (patch)
tree7b501ebf9d1c05c010b40d1d8eda8e5ecf89599c /src/abstract_hardware_model.h
parente8ee788f33f234968a61befff2347dc942e69e39 (diff)
Changed how warp level instructions are handled to avoid an assert that is guaranteed to fail in functional simulation only mode. Hopefully this shouldn't introduce any new issues.
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index 607eda7..cdd9cf3 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -980,6 +980,10 @@ public:
assert( !m_empty );
return m_warp_id;
}
+ unsigned warp_id_func() const // to be used in functional simulations only
+ {
+ return m_warp_id;
+ }
unsigned dynamic_warp_id() const
{
assert( !m_empty );