nngn
|
Classes | |
class | Device |
class | OpenCLBackend |
class | Platform |
Typedefs | |
using | TemporaryBuffers |
using | TemporaryKernel |
using | TemporaryEvents |
Functions | |
auto | cl_strerror (cl_int e) |
cl_int | check_result (const char *func_name, cl_int result) |
cl_event * | to_cl_events (nngn::Compute::Event *const *e) |
cl_event * | to_cl_events (const nngn::Compute::Event *const *e) |
nngn::Compute::Event *const * | from_cl_event (cl_event *e) |
std::optional< nngn::Compute::Version > | parse_version (std::string_view s) |
bool | version_ge (nngn::Compute::Version lhs, nngn::Compute::Version rhs) |
template<typename T > | |
T::const_pointer | get_obj (const T &v, const nngn::Compute::Handle &h) |
template<typename T > | |
T::pointer | get_obj (T &v, const nngn::Compute::Handle &h) |
template<typename T , typename F , typename... P> | |
auto | enumerate (const char *fn, F f, T *v, const P &...args) |
template<typename T > | |
u32 | insert_at_first_free (std::vector< T > *v, T t) |
void | release (cl_program x) |
void | release (cl_kernel x) |
void | release (cl_sampler x) |
void | release (cl_mem x) |
void | release (cl_command_queue x) |
void | release (cl_context x) |
using anonymous_namespace{opencl.cpp}::TemporaryBuffers |
using anonymous_namespace{opencl.cpp}::TemporaryEvents |
using anonymous_namespace{opencl.cpp}::TemporaryKernel |
cl_int anonymous_namespace{opencl.cpp}::check_result | ( | const char * | func_name, |
cl_int | result ) |
auto anonymous_namespace{opencl.cpp}::cl_strerror | ( | cl_int | e | ) |
nngn::Compute::Event *const * anonymous_namespace{opencl.cpp}::from_cl_event | ( | cl_event * | e | ) |
T::const_pointer anonymous_namespace{opencl.cpp}::get_obj | ( | const T & | v, |
const nngn::Compute::Handle & | h ) |
T::pointer anonymous_namespace{opencl.cpp}::get_obj | ( | T & | v, |
const nngn::Compute::Handle & | h ) |
u32 anonymous_namespace{opencl.cpp}::insert_at_first_free | ( | std::vector< T > * | v, |
T | t ) |
std::optional< nngn::Compute::Version > anonymous_namespace{opencl.cpp}::parse_version | ( | std::string_view | s | ) |
void anonymous_namespace{opencl.cpp}::release | ( | cl_command_queue | x | ) |
void anonymous_namespace{opencl.cpp}::release | ( | cl_context | x | ) |
void anonymous_namespace{opencl.cpp}::release | ( | cl_kernel | x | ) |
void anonymous_namespace{opencl.cpp}::release | ( | cl_mem | x | ) |
void anonymous_namespace{opencl.cpp}::release | ( | cl_program | x | ) |
void anonymous_namespace{opencl.cpp}::release | ( | cl_sampler | x | ) |
cl_event * anonymous_namespace{opencl.cpp}::to_cl_events | ( | nngn::Compute::Event *const * | e | ) |
bool anonymous_namespace{opencl.cpp}::version_ge | ( | nngn::Compute::Version | lhs, |
nngn::Compute::Version | rhs ) |