Closed kpouget closed 10 years ago
I'll work on that issue and I'll make a push request as soon as it's ready
Kevin
@kpouget Hi Kevin, Any update on that? Thanks, Dimitri.
thanks for the reminder @komatits, I just pushed the pull request
it also prevents profiling with NVidia's nvprof
this part is not solve though, it seems that nvprof (> v5) just can't work with the OpenCL runtime
Cordially, Kevin
In https://github.com/geodynamics/specfem3d_globe/blob/devel/src/gpu/prepare_mesh_constants_gpu.c#L4048, OpenCL code is not properly cleaned up: memory objects are freed, but command queues, kernels, programs, contexts are not released. That's a potential memory leak, but it also prevents profiling with NVidia's nvprof.