Sha256: 699e894511958baa827a3060e671d944b949ff562b40884221c7a0fb15869c42

Contents?: true

Size: 360 Bytes

Versions: 9

Compression:

Stored size: 360 Bytes

Contents

// Start of the <algorithm_name> kernel
__kernel void bones_kernel_<algorithm_name>_0(<devicedefinitionsopencl>, <argument_definition>) {
  const int bones_global_id = get_global_id(0);
  if (bones_global_id < (<parallelism>)) {
    
    // Calculate the global ID(s) based on the thread id
    <ids>
    
    // Start the computation
<algorithm_code1>
  }
}

Version data entries

9 entries across 3 versions & 1 rubygems

Version Path
bones-compiler-1.6.0 skeletons/CPU-OPENCL-AMD/kernel/default.kernel.cl
bones-compiler-1.6.0 skeletons/GPU-OPENCL-AMD/kernel/default.kernel.cl
bones-compiler-1.6.0 skeletons/CPU-OPENCL-INTEL/kernel/default.kernel.cl
bones-compiler-1.3.1 skeletons/CPU-OPENCL-AMD/kernel/default.kernel.cl
bones-compiler-1.3.1 skeletons/CPU-OPENCL-INTEL/kernel/default.kernel.cl
bones-compiler-1.3.1 skeletons/GPU-OPENCL-AMD/kernel/default.kernel.cl
bones-compiler-1.1.0 skeletons/CPU-OPENCL-INTEL/kernel/default.kernel.cl
bones-compiler-1.1.0 skeletons/GPU-OPENCL-AMD/kernel/default.kernel.cl
bones-compiler-1.1.0 skeletons/CPU-OPENCL-AMD/kernel/default.kernel.cl