triSYCL implementation of OpenCL SYCL
|
#include "CL/sycl/accessor.hpp"
#include "CL/sycl/command_group/detail/task.hpp"
#include "CL/sycl/parallelism/detail/parallelism.hpp"
#include "CL/sycl/detail/unimplemented.hpp"
#include "CL/sycl/exception.hpp"
Go to the source code of this file.
Classes | |
class | cl::sycl::kernel |
Kernel. More... | |
class | cl::sycl::handler |
Command group handler class. More... | |
Namespaces | |
cl | |
The vector type to be used as SYCL vector. | |
cl::sycl | |
Macros | |
#define | TRISYCL_parallel_for_functor_GLOBAL(N) |
SYCL parallel_for launches a data parallel computation with parallelism specified at launch time by a range<> More... | |
#define | TRISYCL_ParallelForFunctor_GLOBAL_OFFSET(N) |
#define TRISYCL_parallel_for_functor_GLOBAL | ( | N | ) |
SYCL parallel_for launches a data parallel computation with parallelism specified at launch time by a range<>
Kernel invocation method of a kernel defined as a lambda or functor, for the specified range and given an id or item for indexing in the indexing space defined by range.
If it is a lambda function or the if the functor type is globally visible there is no need for the developer to provide a kernel name type (typename KernelName) for it, as described in detail in 3.5.3
global_size | is the full size of the range<> |
N | dimensionality of the iteration space |
f | is the kernel functor to execute |
KernelName | is a class type that defines the name to be used for the underlying kernel |
Unfortunately, to have implicit conversion to work on the range, the function can not be templated, so instantiate it for all the dimensions
Definition at line 133 of file handler.hpp.
#define TRISYCL_ParallelForFunctor_GLOBAL_OFFSET | ( | N | ) |