added support to compile a cuda source file