DPC++ Runtime
Runtime libraries for oneAPI DPC++
spirv_ops.hpp File Reference
#include <CL/__spirv/spirv_types.hpp>
#include <cstddef>
#include <cstdint>
#include <sycl/detail/defines.hpp>
#include <sycl/detail/export.hpp>
#include <sycl/detail/stl_type_traits.hpp>
Include dependency graph for spirv_ops.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __SYCL_CONVERGENT__
 

Functions

template<typename dataT >
__SYCL_CONVERGENT__ __ocl_event_t __SYCL_OpGroupAsyncCopyGlobalToLocal (__spv::Scope::Flag, dataT *Dest, dataT *Src, size_t NumElements, size_t Stride, __ocl_event_t) noexcept
 
template<typename dataT >
__SYCL_CONVERGENT__ __ocl_event_t __SYCL_OpGroupAsyncCopyLocalToGlobal (__spv::Scope::Flag, dataT *Dest, dataT *Src, size_t NumElements, size_t Stride, __ocl_event_t) noexcept
 
void __spirv_ocl_prefetch (const char *Ptr, size_t NumBytes) noexcept
 
__SYCL_CONVERGENT__ SYCL_EXTERNAL void __spirv_ControlBarrier (__spv::Scope Execution, __spv::Scope Memory, uint32_t Semantics) noexcept
 
__SYCL_CONVERGENT__ SYCL_EXTERNAL void __spirv_MemoryBarrier (__spv::Scope Memory, uint32_t Semantics) noexcept
 
__SYCL_CONVERGENT__ SYCL_EXTERNAL void __spirv_GroupWaitEvents (__spv::Scope Execution, uint32_t NumEvents, __ocl_event_t *WaitEvents) noexcept
 

Macro Definition Documentation

◆ __SYCL_CONVERGENT__

#define __SYCL_CONVERGENT__

Definition at line 21 of file spirv_ops.hpp.

Function Documentation

◆ __spirv_ControlBarrier()

__SYCL_CONVERGENT__ SYCL_EXTERNAL void __spirv_ControlBarrier ( __spv::Scope  Execution,
__spv::Scope  Memory,
uint32_t  Semantics 
)
noexcept

◆ __spirv_GroupWaitEvents()

__SYCL_CONVERGENT__ SYCL_EXTERNAL void __spirv_GroupWaitEvents ( __spv::Scope  Execution,
uint32_t  NumEvents,
__ocl_event_t WaitEvents 
)
noexcept

Definition at line 18 of file spirv_ops.cpp.

Referenced by sycl::_V1::device_event::wait().

◆ __spirv_MemoryBarrier()

__SYCL_CONVERGENT__ SYCL_EXTERNAL void __spirv_MemoryBarrier ( __spv::Scope  Memory,
uint32_t  Semantics 
)
noexcept

Definition at line 36 of file spirv_ops.cpp.

Referenced by sycl::_V1::atomic_fence(), and sycl::_V1::ext::oneapi::atomic_fence().

◆ __spirv_ocl_prefetch()

void __spirv_ocl_prefetch ( const char *  Ptr,
size_t  NumBytes 
)
noexcept

◆ __SYCL_OpGroupAsyncCopyGlobalToLocal()

template<typename dataT >
__SYCL_CONVERGENT__ __ocl_event_t __SYCL_OpGroupAsyncCopyGlobalToLocal ( __spv::Scope::Flag  ,
dataT *  Dest,
dataT *  Src,
size_t  NumElements,
size_t  Stride,
__ocl_event_t   
)
noexcept

Definition at line 1030 of file spirv_ops.hpp.

◆ __SYCL_OpGroupAsyncCopyLocalToGlobal()

template<typename dataT >
__SYCL_CONVERGENT__ __ocl_event_t __SYCL_OpGroupAsyncCopyLocalToGlobal ( __spv::Scope::Flag  ,
dataT *  Dest,
dataT *  Src,
size_t  NumElements,
size_t  Stride,
__ocl_event_t   
)
noexcept

Definition at line 1042 of file spirv_ops.hpp.