Virtual Testbed
Ship dynamics simulator for extreme conditions
Public Types | Public Member Functions | Static Public Member Functions | List of all members
vtb::opencl::Fourier_transform_base Class Reference
Inheritance diagram for vtb::opencl::Fourier_transform_base:
[legend]

Public Types

typedef blitz::TinyVector< int, 3 > int3
 
typedef blitz::TinyVector< int, 2 > int2
 
typedef blitz::TinyVector< int, 1 > int1
 

Public Member Functions

 Fourier_transform_base (const int3 &shape)
 
void enqueue (clx::buffer x, int direction, int batch_size=1)
 
void forward (clx::buffer x, int batch_size=1)
 
void backward (clx::buffer x, int batch_size=1)
 
void dump (std::ostream &out)
 
const int3 & shape () const noexcept
 
void shape (const int3 &rhs)
 
void context (Context *rhs)
 
Contextcontext ()
 

Static Public Member Functions

static void precompile (const int3 &max_power, Context *context)
 Compile the code for each power of 2 up to max_power.
 

Detailed Description

Definition at line 69 of file opencl/fourier_transform.hh.