export for CUDA