AQUAgpusph 4.1.2
|
Generic/automatic kernel header file. More...
#include <KERNEL_STRINGIFY(resources/Scripts/KernelFunctions/KERNEL_NAME_SUFIX.hcl)>
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) |
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
#define KERNEL_CAT | ( | X, | |
Y | |||
) | KERNEL_CAT_AUX(X,Y) |
#define KERNEL_CAT_AUX | ( | X, | |
Y | |||
) | X##Y |
#define KERNEL_NAME_SUFIX KERNEL_CAT(KERNEL_NAME,KERNEL_SUFIX) |
#define KERNEL_STRINGIFY | ( | X | ) | KERNEL_STRINGIFY_AUX(X) |
#define KERNEL_STRINGIFY_AUX | ( | X | ) | #X |
#define KERNEL_SUFIX 3D |