DPC++ Runtime
Runtime libraries for oneAPI DPC++
context.cpp File Reference
#include <detail/backend_impl.hpp>
#include <detail/context_impl.hpp>
#include <sycl/context.hpp>
#include <sycl/detail/common.hpp>
#include <sycl/device.hpp>
#include <sycl/device_selector.hpp>
#include <sycl/exception.hpp>
#include <sycl/exception_list.hpp>
#include <sycl/platform.hpp>
#include <sycl/properties/all_properties.hpp>
#include <sycl/stl.hpp>
#include <algorithm>
#include <memory>
#include <utility>
#include <sycl/info/context_traits.def>
#include <sycl/detail/properties_traits.def>
Include dependency graph for context.cpp:

Go to the source code of this file.

Namespaces

 sycl
 ---— Error handling, matching OpenCL plugin semantics.
 
 sycl::_V1
 

Macros

#define __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode)
 
#define __SYCL_PARAM_TRAITS_SPEC(param_type)
 
#define __SYCL_PARAM_TRAITS_SPEC(param_type)
 

Macro Definition Documentation

◆ __SYCL_PARAM_TRAITS_SPEC [1/3]

#define __SYCL_PARAM_TRAITS_SPEC (   DescType,
  Desc,
  ReturnT,
  PiCode 
)
Value:
template __SYCL_EXPORT ReturnT context::get_info<info::DescType::Desc>() \
const;

Definition at line 116 of file context.cpp.

◆ __SYCL_PARAM_TRAITS_SPEC [2/3]

#define __SYCL_PARAM_TRAITS_SPEC (   param_type)
Value:
template <> \
__SYCL_EXPORT bool context::has_property<param_type>() const noexcept { \
return impl->has_property<param_type>(); \
}

Definition at line 116 of file context.cpp.

◆ __SYCL_PARAM_TRAITS_SPEC [3/3]

#define __SYCL_PARAM_TRAITS_SPEC (   param_type)
Value:
template <> \
__SYCL_EXPORT param_type context::get_property<param_type>() const { \
return impl->get_property<param_type>(); \
}

Definition at line 116 of file context.cpp.