Need allocate memory on CUDA.