Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions GPU/GPUTracking/Base/cuda/GPUReconstructionCUDA.cu
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,10 @@ void GPUReconstructionCUDA::genAndLoadRTC()
mInternals->kernelModules.emplace_back(std::make_unique<CUmodule>());
GPUChkErr(cuModuleLoad(mInternals->kernelModules.back().get(), (filename + "_" + std::to_string(i) + mRtcBinExtension).c_str()));
}
remove((filename + "_" + std::to_string(i) + mRtcSrcExtension).c_str());
remove((filename + "_" + std::to_string(i) + mRtcBinExtension).c_str());
if (!GetProcessingSettings().rtctech.keepTempFiles) {
remove((filename + "_" + std::to_string(i) + mRtcSrcExtension).c_str());
remove((filename + "_" + std::to_string(i) + mRtcBinExtension).c_str());
}
}
if (GetProcessingSettings().rtctech.runTest == 2) {
return;
Expand Down
1 change: 1 addition & 0 deletions GPU/GPUTracking/Definitions/GPUSettingsList.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ AddOption(cacheFolder, std::string, "./rtccache/", "", 0, "Folder in which the c
AddOption(prependCommand, std::string, "", "", 0, "Prepend RTC compilation commands by this string")
AddOption(overrideArchitecture, std::string, "", "", 0, "Override arhcitecture part of RTC compilation command line") // Part of cmdLine, so checked against the cache
AddOption(loadLaunchBoundsFromFile, std::string, "", "", 0, "Load a parameter object containing the launch bounds from a file")
AddOption(keepTempFiles, bool, false, "", 0, "Keep temporary source and object files")
AddHelp("help", 'h')
EndConfig()

Expand Down