search for: vecadd

Displaying 2 results from an estimated 2 matches for "vecadd".

Did you mean: vec_add
2019 Jul 29
5
Arguments name IR LLVM
Hi everybody, I want to read the name of the arguments of fucntion IR LLVM, I have the following function define: define void @vecadd(i32, float* nocapture readonly, float* nocapture readonly, float* nocapture) local_unnamed_addr #0 { As we see, the argument has no name, if we look at call function in main function we see the arguments name (a, b and c): call void @vecadd(i32 10, float* getelementptr inbounds ([10 x float], [10...
2012 Jul 21
3
Use GPU in R with .Call
...using GPU in .Call in R. Basically, I want to write a function that calcuates the sum of two double type vectors and implement this using GPU. My final goal is to make such an implementation callable from R. (a) First, I wrote a R-C interface handles the R object using .Call (saved as VecAdd_cuda.c file) as below. =================file VecAdd_cuda.c=================== #include <R.h> #include <Rinternal.h> /************************************************/ /* "VecAdd_cuda.c" adds two double vectors using GPU. */ /************************************************/...