DPC++ Runtime
Runtime libraries for oneAPI DPC++
helpers.hpp File Reference
#include <CL/__spirv/spirv_types.hpp>
#include <CL/__spirv/spirv_vars.hpp>
#include <sycl/access/access.hpp>
#include <sycl/detail/common.hpp>
#include <sycl/detail/export.hpp>
#include <sycl/detail/memcpy.hpp>
#include <sycl/detail/pi.hpp>
#include <sycl/detail/type_traits.hpp>
#include <memory>
#include <stdexcept>
#include <type_traits>
#include <vector>
Include dependency graph for helpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sycl::_V1::item< dimensions, with_offset >
 Identifies an instance of the function object executing at each point in a range. More...
 
class  sycl::_V1::group< Dims >
 
class  sycl::_V1::range< dimensions >
 Defines the iteration domain of either a single work-group in a parallel dispatch, or the overall dimensions of the dispatch. More...
 
class  sycl::_V1::id< dimensions >
 A unique identifier of an item in an index space. More...
 
class  sycl::_V1::nd_item< dimensions >
 Identifies an instance of the function object executing at each point in an nd_range. More...
 
class  sycl::_V1::h_item< dimensions >
 Identifies an instance of a group::parallel_for_work_item function object executing at each point in a local range passed to a parallel_for_work_item call or to the corresponding parallel_for_work_group call. More...
 
class  sycl::_V1::marray< Type, NumElements >
 Provides a cross-platform math array class template that works on SYCL devices as well as in host C++ code. More...
 
class  sycl::_V1::detail::Builder
 

Namespaces

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

Functions

std::vector< RT::PiEvent > sycl::_V1::detail::getOrWaitEvents (std::vector< sycl::event > DepEvents, std::shared_ptr< sycl::detail::context_impl > Context)
 
void sycl::_V1::detail::waitEvents (std::vector< sycl::event > DepEvents)
 
template<typename T >
Tsycl::_V1::detail::declptr ()
 
template<typename T >
T sycl::_V1::detail::get_or_store (const T *obj)
 
constexpr __spv::MemorySemanticsMask::Flag sycl::_V1::detail::getSPIRVMemorySemanticsMask (memory_order)
 
constexpr uint32_t sycl::_V1::detail::getSPIRVMemorySemanticsMask (const access::fence_space AccessSpace, const __spv::MemorySemanticsMask LocalScopeMask=__spv::MemorySemanticsMask::WorkgroupMemory)
 
template<size_t... Inds, class F >
void sycl::_V1::detail::dim_loop_impl (std::integer_sequence< size_t, Inds... >, F &&f)
 
template<size_t count, class F >
void sycl::_V1::detail::dim_loop (F &&f)