Kernel.h File Reference

Detailed Description

#include "core/Abort.h"
#include "core/debug/Debug.h"
#include "core/FunctionTraits.h"
#include "gpu/GPUWrapper.h"
#include "ErrorChecking.h"
#include <type_traits>
#include <vector>

Classes

class  walberla::gpu::Kernel< FuncPtr >
 Wrapper class around a GPU kernel, to call kernels also from code not compiled with the device compiler. More...
 

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::gpu
 

Macros

Type checking of parameters


#define CHECK_PARAMETER_FUNC(Number)
 

Functions

template<typename FuncPtr >
Kernel< FuncPtr > walberla::gpu::make_kernel (FuncPtr funcPtr)
 

Macro Definition Documentation

◆ CHECK_PARAMETER_FUNC

#define CHECK_PARAMETER_FUNC (   Number)
Value:
template<typename T> \
bool checkParameter##Number( typename std::enable_if< (FunctionTraits<FuncType>::arity > Number ), T >::type * = 0 ) { \
typedef typename FunctionTraits<FuncType>::template argument<Number>::type ArgType; \
return std::is_same< T, ArgType >::value; \
} \
template<typename T> \
bool checkParameter##Number( typename std::enable_if< (FunctionTraits<FuncType>::arity <= Number ),T >::type * = 0 ) { \
return false; \
}
constexpr auto T
height of a cylindrical segment
Definition: Parameters.h:71