Change-Id: Iba372f7311a68877a42e52595430db212c5c9fec
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
include/armnn/Version.hpp
include/armnn/profiling/IProfilingGuidGenerator.hpp
include/armnn/profiling/ISendTimelinePacket.hpp
+ include/armnn/utility/Assert.hpp
include/armnn/utility/IgnoreUnused.hpp
profiling/common/include/SocketConnectionException.hpp
src/armnn/layers/LayerCloneBase.hpp
--- /dev/null
+//
+// Copyright © 2020 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include <cassert>
+
+namespace armnn
+{
+
+#ifndef NDEBUG
+# define ARMNN_ASSERT(COND) assert(COND)
+# define ARMNN_ASSERT_MSG(COND, MSG) assert(COND && MSG)
+#else
+# define ARMNN_ASSERT(COND)
+# define ARMNN_ASSERT_MSG(COND, MSG)
+#endif
+
+} //namespace armnn
\ No newline at end of file