Set context before compiling CUDA kernel

refs #150