mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-11-18 01:48:16 +08:00
add check for filename in nvrtc_helper.h
This commit is contained in:
@@ -421,6 +421,7 @@ inline char *sdkFindFilePath(const char *filename,
|
||||
}
|
||||
|
||||
// File not found
|
||||
printf("\nerror: sdkFindFilePath: file <%s> not found!\n", filename);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user