Wayverb
testing::kernel< Memory, FT, Generator > Class Template Reference
Inheritance diagram for testing::kernel< Memory, FT, Generator >:
testing::testing_rk_biquad testing::testing_rk_biquad_quiet testing::testing_rk_filter testing::testing_rk_filter_quiet

Public Member Functions

template<typename Kernel >
auto run_kernel (Kernel k)
 

Static Public Member Functions

static auto compute_coeffs ()
 

Public Attributes

const compute_context cc
 
const program program {cc}
 
util::aligned::vector< Memory > memory {testing::parallel_size, Memory{}}
 
decltype(compute_coeffs()) coeffs {compute_coeffs()}
 
cl::Buffer cl_memory {cc.context, memory.begin(), memory.end(), false}
 
cl::Buffer cl_coeffs {cc.context, coeffs.begin(), coeffs.end(), false}
 
util::aligned::vector< util::aligned::vector< cl_float > > input
 
util::aligned::vector< util::aligned::vector< cl_float > > output
 
cl::Buffer cl_input
 
cl::Buffer cl_output
 

Member Data Documentation

template<typename Memory , testing::FilterType FT, typename Generator >
cl::Buffer testing::kernel< Memory, FT, Generator >::cl_input
Initial value:
{cc.context,
CL_MEM_READ_WRITE,
testing::parallel_size * sizeof(cl_float)}
template<typename Memory , testing::FilterType FT, typename Generator >
cl::Buffer testing::kernel< Memory, FT, Generator >::cl_output
Initial value:
{cc.context,
CL_MEM_READ_WRITE,
testing::parallel_size * sizeof(cl_float)}
template<typename Memory , testing::FilterType FT, typename Generator >
util::aligned::vector<util::aligned::vector<cl_float> > testing::kernel< Memory, FT, Generator >::input
Initial value:
{
Generator::compute_input(testing::parallel_size)}
template<typename Memory , testing::FilterType FT, typename Generator >
util::aligned::vector<util::aligned::vector<cl_float> > testing::kernel< Memory, FT, Generator >::output
Initial value:
{
input.size(),
util::aligned::vector<cl_float>(testing::parallel_size, 0)}

The documentation for this class was generated from the following file: