// // Created by xiaoxiao on 2021/12/20. // #ifndef OPENGL_DEMO_FUNCTIONS_CUH #define OPENGL_DEMO_FUNCTIONS_CUH #include // includes for helper CUDA functions #include #include // Maximum / minimum function __device__ float Max_function(float x, float y, float z); __device__ float Min_function(float x, float y, float z); // R function __device__ float R_a_function(float x, float y, float z); __device__ float R_0_m_function(float x, float y, float z); __device__ float R_p_function(float x, float y, float z); // KS function __device__ float K_s_function(float x, float y, float z); // P-norm __device__ float P_norm(float x, float y , float z); #endif //OPENGL_DEMO_FUNCTIONS_CUH