Updated kernel files and code generator missing _cuda