NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
jitify::Program Class Reference

#include <jitify.hpp>

Public Member Functions

 Program (JitCache &cache, std::string source, jitify::detail::vector< std::string > headers=0, jitify::detail::vector< std::string > options=0, file_callback_type file_callback=0)
 
Kernel kernel (std::string name, jitify::detail::vector< std::string > options=0) const
 
Kernel operator() (std::string name, jitify::detail::vector< std::string > options=0) const
 

Friends

class Kernel
 

Detailed Description

An object representing a program made up of source code, headers and options.

Constructor & Destructor Documentation

◆ Program()

jitify::Program::Program ( JitCache cache,
std::string  source,
jitify::detail::vector< std::string >  headers = 0,
jitify::detail::vector< std::string >  options = 0,
file_callback_type  file_callback = 0 
)
inline

Member Function Documentation

◆ kernel()

Kernel jitify::Program::kernel ( std::string  name,
jitify::detail::vector< std::string >  options = 0 
) const
inline

Select a kernel.

Parameters
nameThe name of the kernel (unmangled and without template arguments).
optionsA vector of options to be passed to the NVRTC compiler when compiling this kernel.

References Kernel.

Referenced by operator()(), and jitify::parallel_for().

Here is the caller graph for this function:

◆ operator()()

Kernel jitify::Program::operator() ( std::string  name,
jitify::detail::vector< std::string >  options = 0 
) const
inline

Select a kernel.

See also
kernel

References kernel().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ Kernel

friend class Kernel
friend

Referenced by kernel().


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