/workspaces/astro/sol3-sdk/cpp/sol3/opencl/opencl_utils.h File Reference

Space-ng SDK: /workspaces/astro/sol3-sdk/cpp/sol3/opencl/opencl_utils.h File Reference
Space-ng SDK
opencl_utils.h File Reference
#include "sol3/core/shmem_buffer.h"
#include "sol3/opencl/opencl_compat.h"
#include <functional>

Go to the source code of this file.

Namespaces

 sol3
 
 sol3::opencl
 

Functions

void sol3::opencl::addHook (cl::CommandQueue &queue, std::function< void()> fn)
 
void sol3::opencl::enqueueReadBack (cl::CommandQueue &queue, cl::Buffer &cl_buf, core::IBufferMutable &host_buf)
 
void sol3::opencl::enqueueWriteBuffer (cl::CommandQueue &queue, cl::Buffer &buf, size_t offset, size_t size, void const *ptr)
 
void sol3::opencl::writeBufferNow (cl::CommandQueue &queue, cl::Buffer &buf, size_t offset, size_t size, void const *ptr)
 
void sol3::opencl::enqueueReadBuffer (cl::CommandQueue &queue, cl::Buffer &buf, size_t offset, size_t size, void *ptr)
 
void sol3::opencl::readBufferNow (cl::CommandQueue &queue, cl::Buffer &buf, size_t offset, size_t size, void *ptr)