diff options
| author | aamir <[email protected]> | 2018-11-03 17:03:58 -0700 |
|---|---|---|
| committer | aamir <[email protected]> | 2018-11-03 17:03:58 -0700 |
| commit | eae030c9d1d607d1c14e4ade99cb5caea6403efd (patch) | |
| tree | cae49cbe338f9aa84c0badb6f543154b29e6f8b0 /src/gpgpu-sim/delayqueue.h | |
| parent | a77c16f1ef6efc0b58eb14273aa52663eb7845b3 (diff) | |
merged with memory subsytem. Regression is passing but tensorcore kernel is stuck in deadlock
Diffstat (limited to 'src/gpgpu-sim/delayqueue.h')
| -rw-r--r-- | src/gpgpu-sim/delayqueue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgpu-sim/delayqueue.h b/src/gpgpu-sim/delayqueue.h index b25f143..0caa5d4 100644 --- a/src/gpgpu-sim/delayqueue.h +++ b/src/gpgpu-sim/delayqueue.h @@ -161,6 +161,7 @@ public: } bool full() const { return (m_max_len && m_length >= m_max_len); } + bool is_avilable_size(unsigned size) const { return (m_max_len && m_length+size-1 >= m_max_len); } bool empty() const { return m_head == NULL; } unsigned get_n_element() const { return m_n_element; } unsigned get_length() const { return m_length; } |
