Added basic code to call CUDA main and stubs.