Closed hughperkins closed 9 years ago
I suppose we need to call clReleaseProgram
and clReleaseKernel
somehow/somewhere, rather than just setting the kernel vars to 0 :-P
I think I shall close this, since it was a bug in my earlier fix (now addressed).
Teardown/setup very leaky...
To reproduce:
The code is the same as at https://github.com/clMathLibraries/clBLAS/issues/159#issuecomment-150896488 , just increased the loop size from 3 to 100
cd into src/samples, and save this as clblas_issue_159.c, then build like this:
Run like this:
Careful to monitor memory usage, ready to ctrl-c out, otherwise you might need to reboot :-P