Developer Guide for Intel® SDK for OpenCL™ Applications
To delete variables when using the Kernel Development Framework, do the following:
You can delete all buffers, images, samplers or pipes by right-clicking the corresponding node (Buffers, Images, Samplers, or Pipes respectively).