Added functions for compilation and evaluation of CUDA kernels