Sha256: 3e33490a2655ab8d10cbf20ae5434af467bb457362e48a577b53be09f5217a69
Contents?: true
Size: 258 Bytes
Versions: 2
Compression:
Stored size: 258 Bytes
Contents
// Copy <array> to the device void bones_copy<direction>_<id>_<array>(<definition>) { cudaStreamSynchronize(kernel_stream); bones_memcpy(device_<array>, <array><flatten>, <variable_dimensions>*sizeof(<type>), cudaMemcpyHostToDevice, <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_copyin.c |
bones-compiler-1.3.1 | skeletons/GPU-CUDA/common/mem_async_copyin.c |