Vector addition

A very simple GPU kernel (written in PVL) that adds the content of two matrices and stores it in an "output" array (in GPU programming fashion). This program is currently disabled due to refactoring of the Chalice back-end.

General information

ID15
Articlenone
Back-endChalice
LanguagePVL
FeaturesArrays, Barriers, GPU Kernels
Sources
Path to example filearrays/vector-add.pvl
Date2017-06-15

Statistical information

Lines of code23 lines (comments not included)
Lines of specification9 lines (39.13% of the total)
Computation timeunknown

Example code

Note, verification may take a while and has a time-out of 20 seconds.