// Offline syntax/type check for the sequence-LSTM OpenCL kernels. // Not a semantic test - it verifies the kernel bodies are well-formed C so a // typo cannot fail the whole Network.cl program build on a customer's GPU // (which would take the dense and conv kernels down with it, not just LSTM). #include #define __kernel #define __global #define MIN_ACTIVATION_DERIVATIVE 1.0e-3f static int g_id = 0; static inline int get_global_id(int) { return g_id; } static inline float fmaxf_(float a, float b) { return a > b ? a : b; } #define fmax fmaxf_ #include "kernels.inc" int main() { return 0; }