#include <sycl/detail/defines_elementary.hpp>
#include <sycl/detail/export.hpp>
#include <sycl/detail/pi.h>
#include <array>
#include <cassert>
#include <cstddef>
#include <string>
#include <type_traits>
#include <utility>
#include <sycl/detail/iostream_proxy.hpp>
#include <sycl/exception.hpp>
Go to the source code of this file.
Classes | |
struct | sycl::_V1::detail::code_location |
class | sycl::_V1::detail::tls_code_loc_t |
Data type that manages the code_location information in TLS. More... | |
struct | sycl::_V1::detail::InitializedVal< N, T > |
struct | sycl::_V1::detail::InitializedVal< 1, T > |
struct | sycl::_V1::detail::InitializedVal< 2, T > |
struct | sycl::_V1::detail::InitializedVal< 3, T > |
struct | sycl::_V1::detail::NDLoopIterateImpl< NDims, Dim, LoopBoundTy, FuncTy, LoopIndexTy > |
Helper class for the NDLoop . More... | |
struct | sycl::_V1::detail::NDLoopIterateImpl< NDims, 0, LoopBoundTy, FuncTy, LoopIndexTy > |
struct | sycl::_V1::detail::NDLoop< NDims > |
Generates an NDims-dimensional perfect loop nest. More... | |
struct | sycl::_V1::detail::InlineVariableHelper< T > |
struct | sycl::_V1::detail::ArrayCreator< DataT, FlattenF, ArgT, ArgTN... > |
struct | sycl::_V1::detail::ArrayCreator< DataT, FlattenF > |
Namespaces | |
sycl | |
sycl::_V1 | |
sycl::_V1::detail | |
Typedefs | |
template<typename DataT > | |
using | sycl::_V1::detail::EnableIfOutputPointerT = std::enable_if_t< std::is_pointer_v< DataT > > |
template<typename DataT > | |
using | sycl::_V1::detail::EnableIfOutputIteratorT = std::enable_if_t< !std::is_pointer_v< DataT > > |
Functions | |
const char * | sycl::_V1::detail::stringifyErrorCode (pi_int32 error) |
std::string | sycl::_V1::detail::codeToString (pi_int32 code) |
constexpr size_t | sycl::_V1::detail::getNextPowerOfTwoHelper (size_t Var, size_t Offset) |
constexpr size_t | sycl::_V1::detail::getNextPowerOfTwo (size_t Var) |
template<int Dims, template< int > class T, template< int > class U> | |
size_t | sycl::_V1::detail::getLinearIndex (const T< Dims > &Index, const U< Dims > &Range) |
template<int NewDim, int DefaultValue, template< int > class T, int OldDim> | |
static T< NewDim > | sycl::_V1::detail::convertToArrayOfN (T< OldDim > OldObj) |
template<typename T , std::size_t... Is1, std::size_t... Is2> | |
constexpr std::array< T, sizeof...(Is1)+sizeof...(Is2)> | sycl::_V1::detail::ConcatArrays (const std::array< T, sizeof...(Is1)> &A1, const std::array< T, sizeof...(Is2)> &A2, std::index_sequence< Is1... >, std::index_sequence< Is2... >) |
template<typename T , std::size_t N1, std::size_t N2> | |
constexpr std::array< T, N1+N2 > | sycl::_V1::detail::ConcatArrays (const std::array< T, N1 > &A1, const std::array< T, N2 > &A2) |
template<typename T , size_t... Is> | |
static constexpr std::array< T, sizeof...(Is)> | sycl::_V1::detail::RepeatValueHelper (const T &Arg, std::index_sequence< Is... >) |
template<size_t N, typename T > | |
static constexpr std::array< T, N > | sycl::_V1::detail::RepeatValue (const T &Arg) |
#define __CODELOC_COLUMN 0 |
Definition at line 61 of file common.hpp.
#define __CODELOC_FILE_NAME nullptr |
Definition at line 43 of file common.hpp.
#define __CODELOC_FUNCTION nullptr |
Definition at line 49 of file common.hpp.
#define __CODELOC_LINE 0 |
Definition at line 55 of file common.hpp.
#define __SYCL_ASSERT | ( | x | ) | assert(x) |
Definition at line 166 of file common.hpp.
#define __SYCL_CHECK_CODE_THROW_VIA_ERRC | ( | X, | |
ERRC | |||
) | __SYCL_REPORT_ERR_TO_EXC_THROW_VIA_ERRC(X, ERRC) |
Definition at line 241 of file common.hpp.
#define __SYCL_CHECK_OCL_CODE | ( | X | ) | __SYCL_REPORT_PI_ERR_TO_EXC_BASE(X) |
Definition at line 236 of file common.hpp.
#define __SYCL_CHECK_OCL_CODE_NO_EXC | ( | X | ) | __SYCL_REPORT_PI_ERR_TO_STREAM(X) |
Definition at line 239 of file common.hpp.
#define __SYCL_CHECK_OCL_CODE_THROW | ( | X, | |
EXC, | |||
STR | |||
) | __SYCL_REPORT_PI_ERR_TO_EXC_THROW(X, EXC, STR) |
Definition at line 237 of file common.hpp.
#define __SYCL_EBO |
Definition at line 250 of file common.hpp.
#define __SYCL_PI_ERROR_REPORT |
Definition at line 169 of file common.hpp.
#define __SYCL_REPORT_ERR_TO_EXC_THROW_VIA_ERRC | ( | code, | |
errc | |||
) | __SYCL_REPORT_ERR_TO_EXC_VIA_ERRC(code, errc) |
Definition at line 220 of file common.hpp.
#define __SYCL_REPORT_ERR_TO_EXC_VIA_ERRC | ( | expr, | |
errc | |||
) |
Definition at line 211 of file common.hpp.
#define __SYCL_REPORT_PI_ERR_TO_EXC | ( | expr, | |
exc, | |||
str | |||
) |
Definition at line 191 of file common.hpp.
#define __SYCL_REPORT_PI_ERR_TO_EXC_BASE | ( | code | ) | __SYCL_REPORT_PI_ERR_TO_EXC(code, sycl::runtime_error, nullptr) |
Definition at line 204 of file common.hpp.
#define __SYCL_REPORT_PI_ERR_TO_EXC_THROW | ( | code, | |
exc, | |||
str | |||
) | __SYCL_REPORT_PI_ERR_TO_EXC(code, exc, str) |
Definition at line 202 of file common.hpp.
#define __SYCL_REPORT_PI_ERR_TO_STREAM | ( | expr | ) |
Definition at line 178 of file common.hpp.