documentation for nvcc function