DPC++ Runtime
Runtime libraries for oneAPI DPC++
launch.hpp File Reference
#include <sycl/accessor.hpp>
#include <sycl/event.hpp>
#include <sycl/nd_range.hpp>
#include <sycl/queue.hpp>
#include <sycl/range.hpp>
#include <sycl/reduction.hpp>
#include <syclcompat/device.hpp>
#include <syclcompat/dims.hpp>
Include dependency graph for launch.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 syclcompat
 
 syclcompat::detail
 Atomic extension to implement standard APIs in std::atomic.
 

Functions

template<typename R , typename... Types>
constexpr size_t syclcompat::detail::getArgumentCount (R(*f)(Types...))
 
template<int Dim>
sycl::nd_range< 3 > syclcompat::detail::transform_nd_range (const sycl::nd_range< Dim > &range)
 
template<auto F, typename... Args>
std::enable_if_t< std::is_invocable_v< decltype(F), Args... >, sycl::eventsyclcompat::detail::launch (const sycl::nd_range< 3 > &range, sycl::queue q, Args... args)
 
template<auto F, typename... Args>
sycl::event syclcompat::detail::launch (const sycl::nd_range< 3 > &range, size_t mem_size, sycl::queue q, Args... args)
 
template<int Dim>
sycl::nd_range< Dim > syclcompat::compute_nd_range (sycl::range< Dim > global_size_in, sycl::range< Dim > work_group_size)
 
sycl::nd_range< 1 > syclcompat::compute_nd_range (int global_size_in, int work_group_size)
 
template<auto F, int Dim, typename... Args>
std::enable_if_t< std::is_invocable_v< decltype(F), Args... >, sycl::eventsyclcompat::launch (const sycl::nd_range< Dim > &range, sycl::queue q, Args... args)
 
template<auto F, int Dim, typename... Args>
std::enable_if_t< std::is_invocable_v< decltype(F), Args... >, sycl::eventsyclcompat::launch (const sycl::nd_range< Dim > &range, Args... args)
 
template<auto F, typename... Args>
std::enable_if_t< std::is_invocable_v< decltype(F), Args... >, sycl::eventsyclcompat::launch (const dim3 &grid, const dim3 &threads, sycl::queue q, Args... args)
 
template<auto F, typename... Args>
std::enable_if_t< std::is_invocable_v< decltype(F), Args... >, sycl::eventsyclcompat::launch (const dim3 &grid, const dim3 &threads, Args... args)
 
template<auto F, int Dim, typename... Args>
sycl::event syclcompat::launch (const sycl::nd_range< Dim > &range, size_t mem_size, sycl::queue q, Args... args)
 Launches a kernel with the templated F param and arguments on a device specified by the given nd_range and SYCL queue. More...
 
template<auto F, int Dim, typename... Args>
sycl::event syclcompat::launch (const sycl::nd_range< Dim > &range, size_t mem_size, Args... args)
 Launches a kernel with the templated F param and arguments on a device specified by the given nd_range using theSYCL default queue. More...
 
template<auto F, typename... Args>
sycl::event syclcompat::launch (const dim3 &grid, const dim3 &threads, size_t mem_size, sycl::queue q, Args... args)
 Launches a kernel with the templated F param and arguments on a device with a user-specified grid and block dimensions following the standard of other programming models using a user-defined SYCL queue. More...
 
template<auto F, typename... Args>
sycl::event syclcompat::launch (const dim3 &grid, const dim3 &threads, size_t mem_size, Args... args)
 Launches a kernel with the templated F param and arguments on a device with a user-specified grid and block dimensions following the standard of other programming models using the default SYCL queue. More...