20.02
Assert.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2020 Arm Ltd. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include <cassert>
9
10
namespace
armnn
11
{
12
13
#ifndef NDEBUG
14
# define ARMNN_ASSERT(COND) assert(COND)
15
# define ARMNN_ASSERT_MSG(COND, MSG) assert(COND && MSG)
16
#else
17
# define ARMNN_ASSERT(COND)
18
# define ARMNN_ASSERT_MSG(COND, MSG)
19
#endif
20
21
}
//namespace armnn
armnn
Copyright (c) 2020 ARM Limited.
Definition:
00_introduction.dox:25
include
armnn
utility
Assert.hpp
Generated on Fri Mar 13 2020 16:09:08 for ArmNN by
1.8.13