uni:8:ra2:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
uni:8:ra2:start [2015-04-17 11:17] – skrupellos | uni:8:ra2:start [2020-11-18 18:11] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
==== Aufgabe 2 ==== | ==== Aufgabe 2 ==== | ||
+ | <code c> | ||
+ | void add)scalar(float s, float * v, int n) { | ||
+ | float * v_gpu; | ||
+ | cudaMalloc(& | ||
+ | cudaMemcpy(v_gpu, | ||
+ | dim3 dimBlock(BLOCKSIZE); | ||
+ | dim3 dimGrid(ceil(n / BLOCKSIZE)); | ||
+ | add_scalar)gpu | ||
+ | | ||
+ | |||
+ | * IBM 360 | ||
+ | * asd | ||
+ | * Stanford: Pipeline is visible (simpler HW). Berekey: Pipelin is invisible (HW ore complex) | ||
+ | * e) row: c, c++ colum: Fortran, Matlab | ||
+ | * f) z: zero, s/n: sign/ |
uni/8/ra2/start.1429262247.txt.gz · Last modified: 2020-11-18 18:10 (external edit)