copapy/stencils/stencil_helper.h

10 lines
215 B
C
Raw Permalink Normal View History

2025-11-12 12:50:33 +00:00
#include <math.h>
// Remove function alignment for stencils
#if defined(__GNUC__)
#define NOINLINE __attribute__((noinline))
#define STENCIL __attribute__((aligned(1)))
#else
#define NOINLINE
#define STENCIL
#endif