|
class | code_generator |
| Class for handling code generation. More...
|
|
struct | expression_descriptor |
| A class for holding meta information such as the type or the underlying scalar type of an expression (such as x = inner_prod(y, z)). More...
|
|
class | matrix_product |
| Kernel generation class for matrix-matrix products. More...
|
|
class | matrix_saxpy |
| OpenCL kernel generation class for matrix expressions of AXPY type, i.e. A = alpha * B + beta * C, where the number of summands can in principle be arbitrarily large. More...
|
|
class | profile_base |
| Base class for an operation profile. More...
|
|
class | scalar_reduction |
| OpenCL kernel generation template for scalar reduction operations such as s = norm_2(x). More...
|
|
class | vector_reduction |
| OpenCL kernel template for reductions resulting in a vector. Example: Computing the row norms of a matrix concurrently. More...
|
|
class | vector_saxpy |
| OpenCL kernel generation class for vector expressions of AXPY type, i.e. x = alpha * y + beta * z, where the number of summands can in principle be arbitrarily large. More...
|
|
|
void | generate_enqueue_statement (viennacl::scheduler::statement const &s, scheduler::statement_node const &root_node) |
| Generate and enqueue a statement plus root_node into the current queue. More...
|
|
void | generate_enqueue_statement (viennacl::scheduler::statement const &s) |
| Generate and enqueue a statement into the current queue, assumes the root_node is the first node of the statement. More...
|
|
const char * | expression_type_to_string (expression_type type) |
|
template<typename KeyT , typename ValueT > |
ValueT const & | at (std::map< KeyT, ValueT > const &map, KeyT const &key) |
| Emulation of C++11's .at() member for std::map<> More...
|
|
viennacl::ocl::program & | get_configured_program (viennacl::generator::code_generator const &generator, std::list< viennacl::ocl::kernel * > &kernels, bool force_recompilation=false) |
| Creates the program associated with a generator object and fills the kernels. Checks the context for the program and possibly (re)compile it. More...
|
|
void | enqueue (viennacl::generator::code_generator const &generator, bool force_recompilation=false) |
| Set the arguments and enqueue a generator object. More...
|
|
std::string | get_opencl_program_string (viennacl::scheduler::statement const &s) |
| Convenience function to get the OpenCL program string for a single statement. More...
|
|
std::string | get_cuda_device_code (viennacl::scheduler::statement const &s) |
| Convenience function to get the CUDA device code for a single statement. More...
|
|
std::ostream & | operator<< (std::ostream &os, profile_base const &profile) |
|
void | enqueue_custom_op (viennacl::generator::custom_operation &op, viennacl::ocl::command_queue const &queue) |
|
Provides an OpenCL kernel generator.