yacx-YetAnotherCudaExecutor  0.6.2
wrapper to easily compile and execute cuda kernels
Public Member Functions | List of all members
yacx::Source Class Reference

Class to wrap kernel strings. More...

#include <Source.hpp>

Public Member Functions

 Source (std::string kernel_string, Headers headers=Headers())
 
Program program (const std::string &kernel_name)
 

Detailed Description

Class to wrap kernel strings.

Examples
docs/headers.cpp, docs/kernel_launch.cpp, example_gauss.cpp, example_matrix_multiply.cpp, example_program.cpp, example_saxpy.cpp, and example_template.cpp.

Constructor & Destructor Documentation

◆ Source()

Source::Source ( std::string  kernel_string,
Headers  headers = Headers() 
)
explicit
Parameters
kernel_string
headersHeaders needed to compile the kernel string

Member Function Documentation

◆ program()

Program Source::program ( const std::string &  kernel_name)

create a Program

Parameters
function_namekernel name in kernel string
Returns
a Program

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