title: Cuda math functions
body: <p>I'm trying to use the floor() function inside a cuda kernel, but I always get the following error :
      calling a <strong>host</strong> function("floor ") from a <strong>global</strong> function(" ") is not allowed.</p>
  
  <p>I also included the cuda "math_functions.h", so what am I doing wrong?</p>