Virtual Testbed
Ship dynamics simulator for extreme conditions
Classes | Typedefs | Enumerations | Functions
vtb::opencl Namespace Reference

OpenCL glue code. More...

Classes

class  Buffer
 
class  Chirp_Z_transform
 
class  Chirp_Z_transform_base
 
class  Context
 
class  Context_base
 
class  Derivative
 
class  Fourier_transform
 
class  Fourier_transform_base
 
struct  Kernel_info
 
class  NDRange
 
class  Pipeline
 

Typedefs

using Device_type = clx::device_flags
 

Enumerations

enum  Fourier_transform_format {
  Split_complex = 0,
  Interleaved_complex = 1
}
 

Functions

void operator>> (std::string name, Device_type &rhs)
 
const char * to_string (Device_type rhs)
 
std::ostreamoperator<< (std::ostream &out, const Device_type &rhs)
 
template<int N>
blitz::TinyVector< int, 3 > make_shape (const blitz::TinyVector< int, N > &rhs)
 
template<>
blitz::TinyVector< int, 3 > make_shape< 3 > (const blitz::TinyVector< int, 3 > &rhs)
 
template<int N>
blitz::TinyVector< int, N > reduce_shape (const blitz::TinyVector< int, 3 > &rhs)
 
template<>
blitz::TinyVector< int, 3 > reduce_shape< 3 > (const blitz::TinyVector< int, 3 > &rhs)
 
const char * real_type_flags ()
 
template<>
const char * real_type_flags< float > ()
 
template<>
const char * real_type_flags< double > ()
 
void resize (const clx::context &context, clx::buffer &buffer, size_t size_in_bytes, clx::memory_flags flags=clx::memory_flags::read_write)
 
template<class T , int N>
clx::Vector< T, N > make_vector (const blitz::TinyVector< T, N > &rhs)
 
template<class T , int N>
clx::Vector< T, N *N > make_vector (const blitz::TinyMatrix< T, N, N > &rhs)
 

Detailed Description

OpenCL glue code.