Skip to content
Snippets Groups Projects
Commit d68d176b authored by Maria Kotsifakou's avatar Maria Kotsifakou
Browse files

Updated example figure and added graph figures

parent 2dbbe694
No related branches found
No related tags found
No related merge requests found
......@@ -2,18 +2,19 @@ define void @lincomb(double* I, double* Ie, double* Id) {
%N = call i8* @llvm.visc.getNode()
%nidx = call i32 @llvm.visc.getNodeInstanceID.x(i8* %N)
%nidy = call i32 @llvm.visc.getNodeInstanceID.y(i8* %N)
%vl = call i32 @llvm.visc.getVectorLength();
;Compute base addresses for I, Id, Ie, L
%ptr_I = load <%vl x double>* I_base
%ptr_Id = load <%vl x double>* Id_base
%ptr_Ie = load <%vl x double>* Ie_base
%vl = call i32 @llvm.visc.getVectorLength(i32 8)
;Index and base address calculation using %nidx, %nidy
;for I, Id, Ie, L (not shown)
%pixel_I = load <%vl x double>* I_base
%pixel_Id = load <%vl x double>* Id_base
%pixel_Ie = load <%vl x double>* Ie_base
%tmp = insertelement <%vl x double> undef,
double 2.0, i32 0
%vec2 = shufflevector <%vl x double> %tmp,
<%vl x double> undef,
<%vl x i32> zeroinitializer
%mul = mul <%vl x double> %vec2, %ptr_I
%add = add <%vl x double> %ptr_Id, %ptr_Ie
%mul = mul <%vl x double> %vec2, %pixel_I
%add = add <%vl x double> %pixel_Id, %pixel_Ie
%res = sub <%vl x double> %add, %mul
store <%vl x double> %res, <%vl x double>* L_base
ret void
......
paper/Figures/cpularge.png

26.9 KiB

paper/Figures/cpusmall.png

25.3 KiB

paper/Figures/designexample.png

400 KiB | W: | H:

paper/Figures/designexample.png

335 KiB | W: | H:

paper/Figures/designexample.png
paper/Figures/designexample.png
paper/Figures/designexample.png
paper/Figures/designexample.png
  • 2-up
  • Swipe
  • Onion skin
paper/Figures/gpularge.png

27.6 KiB

paper/Figures/gpusmall.png

26.9 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment