What is the usuage of CUDA.ones()?

What is the usage of CUDA.ones()? And where we use this normally?