Trying Cuda fmin