Sha256: f3be38f16fba1bce21ddd92717c373531980dbfe3b320996476703f2772e8f48
Contents?: true
Size: 237 Bytes
Versions: 2
Compression:
Stored size: 237 Bytes
Contents
// Create space for <array> on the device void bones_alloc_<id>_<array>(void) { cudaMalloc((void**)&device_<array>, <variable_dimensions>*sizeof(<type>)); cudaMemset((void*)device_<array>, 0, <variable_dimensions>*sizeof(<type>)); }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bones-compiler-1.6.0 | skeletons/GPU-CUDA/common/mem_async_alloc.c |
bones-compiler-1.3.1 | skeletons/GPU-CUDA/common/mem_async_alloc.c |