Function CUDABuffer.destroy

Releases the CUDA resources used by buf internally.

static void destroy (
  CUDABuffer buf
);