Sha256: 5034c4237ec6d70801ce67918daaeda201f929a7191465c50ed169127476ddf0

Contents?: true

Size: 149 Bytes

Versions: 2

Compression:

Stored size: 149 Bytes

Contents

// Clean up array <array> from the device
void bones_free_<id>_<array>(void) {
  cudaStreamSynchronize(kernel_stream);
  cudaFree(device_<array>);
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bones-compiler-1.6.0 skeletons/GPU-CUDA/common/mem_async_free.c
bones-compiler-1.3.1 skeletons/GPU-CUDA/common/mem_async_free.c