Sha256: 3bf7a721e66b58f406313a43f64964ffdbbd86aea7735d506aa634879ad15ab5

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

  
  // Run multiple OpenMP threads
  int bones_thread_count = omp_get_num_procs();
  omp_set_num_threads(bones_thread_count);
  #pragma omp parallel
  {
    int bones_thread_id = omp_get_thread_num();
    
    // Start the kernel
    bones_kernel_<algorithm_name>_0(bones_thread_id, bones_thread_count, <devicenames>, <argument_name>);
  }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bones-compiler-1.6.0 skeletons/CPU-OPENMP/kernel/default.host.c
bones-compiler-1.3.1 skeletons/CPU-OPENMP/kernel/default.host.c
bones-compiler-1.1.0 skeletons/CPU-OPENMP/kernel/default.host.c