NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Namespaces | |
experimental | |
reflection | |
Classes | |
struct | ProgramConfig |
class | JitCache_impl |
class | Program_impl |
class | Kernel_impl |
class | KernelInstantiation_impl |
class | KernelLauncher_impl |
class | KernelLauncher |
class | KernelInstantiation |
class | Kernel |
class | Program |
class | JitCache |
struct | ExecutionPolicy |
class | Lambda |
class | Capture |
Typedefs | |
typedef std::istream *(* | file_callback_type) (std::string filename, std::iostream &tmp_stream) |
Enumerations | |
enum | Location { HOST , DEVICE } |
Functions | |
std::ostream & | operator<< (std::ostream &stream, dim3 d) |
template<typename T > | |
Lambda< T > | make_Lambda (Capture const &capture, std::string func, T lambda) |
template<typename IndexType , class Func > | |
CUresult | parallel_for (ExecutionPolicy policy, IndexType begin, IndexType end, Lambda< Func > const &lambda) |
Jitify library namespace
typedef std::istream*(* jitify::file_callback_type) (std::string filename, std::iostream &tmp_stream) |
Source-file load callback.
filename | The name of the requested source file. |
tmp_stream | A temporary stream that can be used to hold source code. |
enum jitify::Location |
|
inline |
|
inline |
CUresult jitify::parallel_for | ( | ExecutionPolicy | policy, |
IndexType | begin, | ||
IndexType | end, | ||
Lambda< Func > const & | lambda | ||
) |
Call a function for a range of indices
policy | Determines the location and device parameters for execution of the parallel_for. |
begin | The starting index. |
end | The ending index. |
lambda | A Lambda object created using the JITIFY_LAMBDA() macro. |
References jitify::Capture::_arg_decls, jitify::Capture::_arg_ptrs, jitify::Lambda< Func >::_capture, jitify::Lambda< Func >::_func, jitify::Lambda< Func >::_func_string, jitify::ExecutionPolicy::block_size, jitify::ExecutionPolicy::cache_size, jitify::ExecutionPolicy::device, jitify::ExecutionPolicy::file_callback, jitify::ExecutionPolicy::headers, HOST, jitify::Kernel::instantiate(), jitify::Program::kernel(), jitify::ExecutionPolicy::location, magic_enum::detail::n(), jitify::ExecutionPolicy::options, and jitify::ExecutionPolicy::stream.