Expression Templates Library (ETL)
include
etl
exit.hpp
Go to the documentation of this file.
1
//=======================================================================
2
// Copyright (c) 2014-2023 Baptiste Wicht
3
// Distributed under the terms of the MIT License.
4
// (See accompanying file LICENSE or copy at
5
// http://opensource.org/licenses/MIT)
6
//=======================================================================
7
13
#pragma once
14
15
namespace
etl
{
16
22
inline
void
exit
() {
23
#ifdef ETL_CUDA
24
#ifdef ETL_GPU_POOL
25
etl::gpu_memory_allocator::clear();
26
#endif
27
#endif
28
}
29
30
}
// end of namespace etl
31
32
#define ETL_PROLOGUE etl::exit();
etl::exit
void exit()
Exit from ETL, releasing any possible resource.
Definition:
exit.hpp:22
etl
Root namespace for the ETL library.
Definition:
adapter.hpp:15
Generated by
1.8.13