Forum Discussion
Altera_Forum
Honored Contributor
12 years agoRelease resources
Hi, I'd like to understand release and acquisition of resources by the Altera OpenCL platform more clearly. I'm trying to be very careful to release all acquired resources (command queues, kern...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- I included a free(input_buffer) at the end of the loop. It seems it has worked with a big crush test. --- Quote End --- Great. It is probably best to release OpenCL buffers using the built-in clReleaseMemObject() function, though.