DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
config.hpp File Reference
#include <CL/sycl/backend_types.hpp>
#include <CL/sycl/detail/defines.hpp>
#include <CL/sycl/detail/device_filter.hpp>
#include <CL/sycl/detail/pi.hpp>
#include <CL/sycl/info/info_desc.hpp>
#include <detail/global_handler.hpp>
#include <algorithm>
#include <array>
#include <cstdlib>
#include <mutex>
#include <string>
#include <utility>
#include "config.def"
Include dependency graph for config.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cl::sycl::detail::SYCLConfigBase< Config >
 
class  cl::sycl::detail::SYCLConfig< Config >
 
class  cl::sycl::detail::SYCLConfig< SYCL_BE >
 
class  cl::sycl::detail::SYCLConfig< SYCL_PI_TRACE >
 
class  cl::sycl::detail::SYCLConfig< SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE >
 
class  cl::sycl::detail::SYCLConfig< SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING >
 
class  cl::sycl::detail::SYCLConfig< SYCL_PARALLEL_FOR_RANGE_ROUNDING_PARAMS >
 
class  cl::sycl::detail::SYCLConfig< SYCL_DEVICE_FILTER >
 
class  cl::sycl::detail::SYCLConfig< SYCL_ENABLE_DEFAULT_CONTEXTS >
 
class  cl::sycl::detail::SYCLConfig< SYCL_QUEUE_THREAD_POOL_SIZE >
 

Namespaces

 cl
 We provide new interfaces for matrix muliply in this patch:
 
 cl::sycl
 
 cl::sycl::detail
 

Macros

#define CONFIG(name, ...)   name,
 
#define CONFIG(Name, MaxSize, CompileTimeDef)
 

Enumerations

enum  cl::sycl::detail::ConfigID { cl::sycl::detail::START = 0, cl::sycl::detail::END }
 

Functions

constexpr const charcl::sycl::detail::getStrOrNullptr (const char *Str)
 
void cl::sycl::detail::readConfig (bool ForceInitialization)
 
const std::array< std::pair< std::string, info::device_type >, 5 > & cl::sycl::detail::getSyclDeviceTypeMap ()
 
const std::array< std::pair< std::string, backend >, 7 > & cl::sycl::detail::getSyclBeMap ()
 

Variables

constexpr bool cl::sycl::detail::ConfigFromEnvEnabled = true
 
constexpr bool cl::sycl::detail::ConfigFromFileEnabled = true
 
constexpr bool cl::sycl::detail::ConfigFromCompileDefEnabled = true
 
constexpr int cl::sycl::detail::MAX_CONFIG_NAME = 256
 
constexpr int cl::sycl::detail::MAX_CONFIG_VALUE = 256
 

Macro Definition Documentation

◆ CONFIG [1/2]

#define CONFIG (   Name,
  MaxSize,
  CompileTimeDef 
)

Definition at line 69 of file config.hpp.

◆ CONFIG [2/2]

#define CONFIG (   name,
  ... 
)    name,

Definition at line 69 of file config.hpp.