yacx-YetAnotherCudaExecutor  0.6.2
wrapper to easily compile and execute cuda kernels
docs/headers.cpp
#include "yacx/Header.hpp"
#include "yacx/Headers.hpp"
#include "yacx/Source.hpp"
#include "kernels/gauss.h"
Headers headers;
headers.insert(Header{"kernels/gauss.h"});
Source source{load("kernels/gauss.cu"), headers};
// Alternatively if you only use one header
Source source{load("kernels/gauss.cu"), Headers{"kernels/gauss.h"}};
yacx::Headers
Definition: Headers.hpp:43
yacx::Header
Class to help import header files for Source.
Definition: Headers.hpp:16
yacx::Source
Class to wrap kernel strings.
Definition: Source.hpp:19