ViennaCL - The Vienna Computing Library  1.5.2
Data Structures | Namespaces | Functions
viennacl/linalg/opencl/kernels/fft.hpp File Reference

OpenCL kernel file for FFT operations. More...

#include "viennacl/tools/tools.hpp"
#include "viennacl/ocl/kernel.hpp"
#include "viennacl/ocl/platform.hpp"
#include "viennacl/ocl/utils.hpp"

Go to the source code of this file.

Data Structures

struct  fft< NumericT >
 Main kernel class for generating OpenCL kernels for the fast Fourier transform. More...

Namespaces

namespace  viennacl
 

Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.


namespace  viennacl::linalg
 

Provides all linear algebra operations which are not covered by operator overloads.


namespace  viennacl::linalg::opencl
 

Holds all routines providing OpenCL linear algebra operations.


namespace  viennacl::linalg::opencl::kernels
 

Contains the OpenCL kernel generation functions for a predefined set of functionality.


Functions

template<typename StringType >
void generate_fft_bluestein_post (StringType &source, std::string const &numeric_string)
template<typename StringType >
void generate_fft_bluestein_pre (StringType &source, std::string const &numeric_string)
template<typename StringType >
void generate_fft_complex_to_real (StringType &source, std::string const &numeric_string)
 Extract real part of a complex number array.
template<typename StringType >
void generate_fft_div_vec_scalar (StringType &source, std::string const &numeric_string)
 OpenCL kernel generation code for dividing a complex number by a real number.
template<typename StringType >
void generate_fft_mult_vec (StringType &source, std::string const &numeric_string)
 Elementwise product of two complex vectors.
template<typename StringType >
void generate_fft_real_to_complex (StringType &source, std::string const &numeric_string)
 Embedds a real-valued vector into a complex one.
template<typename StringType >
void generate_fft_reverse_inplace (StringType &source, std::string const &numeric_string)
 Reverses the entries in a vector.
template<typename StringType >
void generate_fft_transpose (StringType &source, std::string const &numeric_string)
 Simplistic matrix transpose function.
template<typename StringType >
void generate_fft_transpose_inplace (StringType &source, std::string const &numeric_string)
 Simplistic inplace matrix transpose function.
template<typename StringType >
void generate_fft_vandermonde_prod (StringType &source, std::string const &numeric_string)
 Computes the matrix vector product with a Vandermonde matrix.
template<typename StringType >
void generate_fft_zero2 (StringType &source, std::string const &numeric_string)
 Zero two complex vectors (to avoid kernel launch overhead)

Detailed Description

OpenCL kernel file for FFT operations.