Class to instantiate and compile Source (kernel strings)
More...
#include <Program.hpp>
Class to instantiate and compile Source (kernel strings)
◆ Program()
Program::Program |
( |
std::string |
kernel_name, |
|
|
std::shared_ptr< nvrtcProgram > |
prog |
|
) |
| |
- Parameters
-
function_name | function name in kernel string |
prog | |
◆ compile()
◆ instantiate() [1/2]
template<typename T >
Program & yacx::Program::instantiate |
( |
T |
type | ) |
|
instantiate template parameter
- Template Parameters
-
- Parameters
-
- Returns
◆ instantiate() [2/2]
template<typename T , typename... TS>
Program & yacx::Program::instantiate |
( |
T |
type, |
|
|
TS... |
types |
|
) |
| |
instantiate template parameters
- Template Parameters
-
- Parameters
-
- Returns
◆ log()
std::string yacx::Program::log |
( |
| ) |
const |
|
inline |
- Returns
- log of compilation
The documentation for this class was generated from the following files: