20.11
Assert.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2020 Arm Ltd and Contributors. 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 Wed Nov 25 2020 09:59:10 for ArmNN by
1.8.13