AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
Macros
Kernel.h File Reference

Generic/automatic kernel header file. More...

#include <KERNEL_STRINGIFY(resources/Scripts/KernelFunctions/KERNEL_NAME_SUFIX.hcl)>
Include dependency graph for Kernel.h:

Go to the source code of this file.

Macros

#define KERNEL_STRINGIFY(X)   KERNEL_STRINGIFY_AUX(X)
 
#define KERNEL_STRINGIFY_AUX(X)   #X
 
#define KERNEL_CAT(X, Y)   KERNEL_CAT_AUX(X,Y)
 
#define KERNEL_CAT_AUX(X, Y)   X##Y
 
#define KERNEL_SUFIX   3D
 
#define KERNEL_NAME_SUFIX   KERNEL_CAT(KERNEL_NAME,KERNEL_SUFIX)
 

Detailed Description

Generic/automatic kernel header file.

This file will read the definitions HAVE_3D and KERNEL_NAME, setting up and including the appropiate file. In this way the user may easily select the kernel to become applied using the modules at basic/kernels presets folder

Macro Definition Documentation

◆ KERNEL_CAT

#define KERNEL_CAT (   X,
 
)    KERNEL_CAT_AUX(X,Y)

◆ KERNEL_CAT_AUX

#define KERNEL_CAT_AUX (   X,
 
)    X##Y

◆ KERNEL_NAME_SUFIX

#define KERNEL_NAME_SUFIX   KERNEL_CAT(KERNEL_NAME,KERNEL_SUFIX)

◆ KERNEL_STRINGIFY

#define KERNEL_STRINGIFY (   X)    KERNEL_STRINGIFY_AUX(X)

◆ KERNEL_STRINGIFY_AUX

#define KERNEL_STRINGIFY_AUX (   X)    #X

◆ KERNEL_SUFIX

#define KERNEL_SUFIX   3D