remove dynamic OpenCL allocations at run-time