diff options
Diffstat (limited to 'src/profiling/test/SendCounterPacketTests.hpp')
-rw-r--r-- | src/profiling/test/SendCounterPacketTests.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/test/SendCounterPacketTests.hpp b/src/profiling/test/SendCounterPacketTests.hpp index c3d47157d0..243731cb2c 100644 --- a/src/profiling/test/SendCounterPacketTests.hpp +++ b/src/profiling/test/SendCounterPacketTests.hpp @@ -147,10 +147,10 @@ public: { std::unique_lock<std::mutex> availableListLock(m_AvailableMutex, std::defer_lock); if (requestedSize > m_MaxBufferSize) - { + { throw armnn::Exception("Maximum buffer size that can be requested is [" + std::to_string(m_MaxBufferSize) + "] bytes"); - } + } availableListLock.lock(); if (m_AvailableList.empty()) { |