File: kernel_add.h

package info (click to toggle)
ecbuild 3.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,068 kB
  • sloc: sh: 1,404; perl: 732; f90: 472; cpp: 466; python: 383; ansic: 304; fortran: 43; makefile: 15
file content (4 lines) | stat: -rw-r--r-- 138 bytes parent folder | download | duplicates (4)
1
2
3
4
#pragma once

// CUDA Kernel function to add the elements of two arrays on the GPU
__global__ void kernel_add(int n, float *x, float *y);