Fix SEGV because missing CUDA initialization.