Try something different for the CUDA isfinite workaround