blob: 455a5d35a8272672a42707004ab787a0e33ac808 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* File: config.hpp
* Purpose: Configuration header of the `tproc` library.
* Author: Amlal El Mahrouss (amlal@nekernel.org)
* Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
*/
#ifndef __OCL_TPROC_CONFIG
#define __OCL_TPROC_CONFIG
#include <boost/assert/source_location.hpp>
#include <ocl/detail/config.hpp>
#include <ocl/equiv.hpp>
#include <ocl/option.hpp>
#include <ocl/smart_ptr.hpp>
#include <boost/core/detail/string_view.hpp>
namespace ocl::tproc
{
namespace detail
{
inline void throw_invalid_range(const auto sc = BOOST_CURRENT_LOCATION)
{
throw std::out_of_range(sc.to_string());
}
} // namespace detail
} // namespace ocl::tproc
#endif // ifndef __OCL_TPROC_CONFIG
|