replacing kernel and handler names to avoid conflicts with C language keywords and intrinsic function names
This commit is contained in:
@@ -357,6 +357,7 @@ SgStatement *InsertProcedureCopy(SgStatement *st_header, SgSymbol *sproc, int is
|
||||
|
||||
if (options.isOn(C_CUDA))
|
||||
{
|
||||
RenamingNewProcedureVariables(new_sproc); // to avoid conflicts with C language keywords
|
||||
int flagHasDerivedTypeVariables = HasDerivedTypeVariables(new_header);
|
||||
|
||||
end_st = new_header->lastNodeOfStmt();
|
||||
|
||||
Reference in New Issue
Block a user