Logo
Explore Help
Sign In
wu-arch/vortex
1
0
Fork 0
You've already forked vortex
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
a8972af51e9cadf669c8bc1d0e2a54960f02f69f
vortex/benchmarks/opencl/vecadd/kernel.cl
Blaise Tine f6f95e0c46 mutiple fixes: parallel printf, fixed cycle in cache, opencl refactored vecadd and sgemm, regen opencl kernels with hard-float, fixed vortex io bus interface, fixed dpi floats APi to support multicore mode, make vlsim multicore default, make rtlsim multi-core default, removed POCL binaries from repository, updated Makefiles to use external POCL
2020-09-19 14:45:42 -04:00

7 lines
194 B
Common Lisp
Raw Blame History

__kernel void vecadd (__global const float *A,
__global const float *B,
__global float *C)
{
int gid = get_global_id(0);
C[gid] = A[gid] + B[gid];
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 15ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API