cl::sycl::codeplay::host_handler Class Reference
Command group host handler that implements Codeplay specific API extensions. More...
#include <apis.h>
Public Member Functions | |
operator cl::sycl::handler & () | |
operator const cl::sycl::handler & () const | |
template<typename functorT > | |
void | host_task (const functorT &functor) |
This function effectively just launches a single thread to execute the kernel in serial asynchronously to the host execution. More... | |
void | experimental_depends_on (cl::sycl::event e) |
Register a single event that this handler should wait for before running. More... | |
void | experimental_depends_on (std::vector< cl::sycl::event > v) |
Register a set of events that this handler should wait for before running. More... | |
Protected Member Functions | |
host_handler (const dqueue_shptr &q, const dqueue_shptr &fallbackQueue=nullptr) | |
Creates a handler for a specific queue. More... | |
void | host_task_impl (const detail::single_task_ptr &singleTaskPtr) |
Protected Attributes | |
cl::sycl::handler | cgh |
Detailed Description
Command group host handler that implements Codeplay specific API extensions.
Definition at line 106 of file codeplay/apis.h.
Constructor & Destructor Documentation
◆ host_handler()
|
inlineexplicitprotected |
Creates a handler for a specific queue.
Definition at line 114 of file codeplay/apis.h.
Member Function Documentation
◆ experimental_depends_on() [1/2]
|
inline |
Register a single event that this handler should wait for before running.
- Parameters
-
e The event that the handler should wait for before running.
Definition at line 148 of file codeplay/apis.h.
◆ experimental_depends_on() [2/2]
|
inline |
Register a set of events that this handler should wait for before running.
- Parameters
-
v a vector of events.
Definition at line 156 of file codeplay/apis.h.
◆ host_task()
|
inline |
This function effectively just launches a single thread to execute the kernel in serial asynchronously to the host execution.
- Template Parameters
-
functorT this is the type of the kernel. It will be automatically deduced by the compiler
- Parameters
-
functor the kernel being enqueued
Definition at line 140 of file codeplay/apis.h.
◆ host_task_impl()
|
protected |
◆ operator cl::sycl::handler &()
|
inline |
Definition at line 119 of file codeplay/apis.h.
◆ operator const cl::sycl::handler &()
|
inline |
Definition at line 120 of file codeplay/apis.h.
Member Data Documentation
◆ cgh
|
protected |
Definition at line 163 of file codeplay/apis.h.
The documentation for this class was generated from the following file: