add check for filename in nvrtc_helper.h

This commit is contained in:
Rutwik Choughule
2022-02-03 18:12:24 +05:30
parent 8f21b899b6
commit b312abaa07
2 changed files with 13 additions and 1 deletions

View File

@@ -421,6 +421,7 @@ inline char *sdkFindFilePath(const char *filename,
}
// File not found
printf("\nerror: sdkFindFilePath: file <%s> not found!\n", filename);
return 0;
}