ae2f_docs
mac.h File Reference

Go to the source code of this file.

Macros

#define ae2f_MAC()
 delta to delta
#define CAST(t, x)
#define CL_Q_CVRT(x)

Macro Definition Documentation

◆ ae2f_MAC

ae2f_MAC ( )
Value:
void

delta to delta

Make slp with OpenCL compute shader.

Parameters
r_handlemust be destroyed by free().
i_second_rawmust be guaranteed to be a raw stirng.

The shader itself is incomplete.
For using it you will need to define three macros as function.
Below is the required snippet.

#define ACT(const ae2f_float_t) -> ae2f_float_t
#define ACT_DERIV(const ae2f_float_t) -> ae2f_float_t
#define LOSS_DERIV( ae2f_float_t* retval const ae2f_float_t* const out , const ae2f_float_t* const out_desired , const size_t index , const size_t length_out_goal );

Parameters
vkcldeclaration
vkcldefinition

Quick version, not precise.

Definition at line 4 of file mac.h.

◆ CAST

#define CAST ( t,
x )
Value:
((t)(x))

Definition at line 5 of file mac.h.

◆ CL_Q_CVRT

#define CL_Q_CVRT ( x)
Value:
x

Quick Pattern

Definition at line 12 of file mac.h.