Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Groovounet/651dfe9ffb33ba831aae716f86928bbe to your computer and use it in GitHub Desktop.
Save Groovounet/651dfe9ffb33ba831aae716f86928bbe to your computer and use it in GitHub Desktop.
#if GLM_COMPILER & GLM_COMPILER_CUDA
template <>
GLM_FUNC_QUALIFIER float max<float>(float x, float y)
{
return fmaxf(x, y);
}
#endif//GLM_COMPILER & GLM_COMPILER_CUDA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment