-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various fixes and cleanup #101
Various fixes and cleanup #101
Conversation
Explicitly destroys and cleans up all resources associated with the current device in the destructor of the CUDAService. Useful to check for memory leaks with cuda-memcheck --tool memcheck --leak-check full
Validation summaryReference release CMSSW_10_2_0_pre6 at a674e1f
|
While this does not fix the 10824.8 Zmumu workflow, it should fix some minor bugs and do some clean up - and it does not seem to introduce any regressions. |
ok for me.... |
+1 |
Fix errors found by cuda-memcheck: - properly initialise device memory - fix various cudaMemcpy calls Remove unused debug variables and function declarations, and #ifdef some debug printouts. Call cudaDeviceReset() before exiting, via the destructor of CUDAService. This explicitly destroys and cleans up all resources associated with the current device, and is useful to check for memory leaks with cuda-memcheck --tool memcheck --leak-check full.
Fix errors found by cuda-memcheck: - properly initialise device memory - fix various cudaMemcpy calls Remove unused debug variables and function declarations, and #ifdef some debug printouts. Call cudaDeviceReset() before exiting, via the destructor of CUDAService. This explicitly destroys and cleans up all resources associated with the current device, and is useful to check for memory leaks with cuda-memcheck --tool memcheck --leak-check full.
Fix errors found by cuda-memcheck: - properly initialise device memory - fix various cudaMemcpy calls Remove unused debug variables and function declarations, and #ifdef some debug printouts. Call cudaDeviceReset() before exiting, via the destructor of CUDAService. This explicitly destroys and cleans up all resources associated with the current device, and is useful to check for memory leaks with cuda-memcheck --tool memcheck --leak-check full.
Fix errors found by cuda-memcheck: - properly initialise device memory - fix various cudaMemcpy calls Remove unused debug variables and function declarations, and #ifdef some debug printouts. Call cudaDeviceReset() before exiting, via the destructor of CUDAService. This explicitly destroys and cleans up all resources associated with the current device, and is useful to check for memory leaks with cuda-memcheck --tool memcheck --leak-check full.
Fix errors found by cuda-memcheck: - properly initialise device memory - fix various cudaMemcpy calls Remove unused debug variables and function declarations, and #ifdef some debug printouts. Call cudaDeviceReset() before exiting, via the destructor of CUDAService. This explicitly destroys and cleans up all resources associated with the current device, and is useful to check for memory leaks with cuda-memcheck --tool memcheck --leak-check full.
Fix errors found by cuda-memcheck: - properly initialise device memory - fix various cudaMemcpy calls Remove unused debug variables and function declarations, and #ifdef some debug printouts. Call cudaDeviceReset() before exiting, via the destructor of CUDAService. This explicitly destroys and cleans up all resources associated with the current device, and is useful to check for memory leaks with cuda-memcheck --tool memcheck --leak-check full.
Fix errors found by cuda-memcheck: - properly initialise device memory - fix various cudaMemcpy calls Remove unused debug variables and function declarations, and #ifdef some debug printouts. Call cudaDeviceReset() before exiting, via the destructor of CUDAService. This explicitly destroys and cleans up all resources associated with the current device, and is useful to check for memory leaks with cuda-memcheck --tool memcheck --leak-check full.
Fix errors found by cuda-memcheck: - properly initialise device memory - fix various cudaMemcpy calls Remove unused debug variables and function declarations, and #ifdef some debug printouts. Call cudaDeviceReset() before exiting, via the destructor of CUDAService. This explicitly destroys and cleans up all resources associated with the current device, and is useful to check for memory leaks with cuda-memcheck --tool memcheck --leak-check full.
Fix errors found by cuda-memcheck: - properly initialise device memory - fix various cudaMemcpy calls Remove unused debug variables and function declarations, and #ifdef some debug printouts. Call cudaDeviceReset() before exiting, via the destructor of CUDAService. This explicitly destroys and cleans up all resources associated with the current device, and is useful to check for memory leaks with cuda-memcheck --tool memcheck --leak-check full.
Fix errors found by
cuda-memcheck
:cudaMemcpy
callsRemove unused debug variables and function declarations, and
#ifdef
some debug printouts.Call
cudaDeviceReset()
before exiting, via the destructor ofCUDAService
. This explicitly destroys and cleans up all resources associated with the current device, and is useful to check for memory leaks withcuda-memcheck --tool memcheck --leak-check full
.