Sha256: 2216d894db50b5f30e4a02eb2c9317dfc89b5fa3e41ca18f0a1b603f7a7becdc

Contents?: true

Size: 204 Bytes

Versions: 2

Compression:

Stored size: 204 Bytes

Contents

  
  // Create space for <array> on the device
  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_prologue.c
bones-compiler-1.3.1 skeletons/GPU-CUDA/common/mem_prologue.c