OCCA2
OCCA2 copied to clipboard
Memory leak in occaOpenCL.cpp
I think that free template should have a delete command for the data
delete (OpenCLKernelData_t*) this->data;
I am also getting some memory leaks in occaParser.cpp (from the new on line 3522) and occaParserNodes.cpp (from the new on line 216), but I am not sure where in my code these functions are getting called so I haven't been able to track down the leak fully.
Oops, seems like I didn't implement the free() in OpenCL or CUDA
I'll add that tonight
As for the parser, I'm fixing that in the [restructure] branch, but it might take a bit of time until it's memory-leak free (will have to work on it after graduation, so about 5 weeks). Sorry about that =/
No problem. Just starting to develop with Lucas and figure I should let you know about things as I find them.
On Apr 22, 2015 5:07 PM, David Medina [email protected] wrote:
Oops, seems like I didn't implement the free() in OpenCL or CUDA
I'll add that tonight
As for the parser, I'm fixing that in the [restructure] branch, but it might take a bit of time until it's memory-leak free (will have to work on it after graduation, so about 5 weeks). Sorry about that =/
— Reply to this email directly or view it on GitHubhttps://github.com/tcew/OCCA2/issues/40#issuecomment-95371933.
Sounds great, thanks for the help!