Sha256: 425058c938c73fc103b59e34634bab3da122ed4de1269766d1769674685851dd

Contents?: true

Size: 282 Bytes

Versions: 2

Compression:

Stored size: 282 Bytes

Contents

// Copy <array> from device to host
void bones_copy<direction>_<id>_<array>(<definition>) {
  cudaStreamSynchronize(kernel_stream);
  bones_memcpy(<array><flatten>+<offset>, device_<array>+<offset>, <variable_dimensions>*sizeof(<type>), cudaMemcpyDeviceToHost, <state>, <index>);
}

Version data entries

2 entries across 2 versions & 1 rubygems

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