this is for holding javascript data
James Shirley edited CUDA_Implementation.tex
about 11 years ago
Commit id: 2aa3839e81055d94d9be4283a19934a475ece415
deletions | additions
diff --git a/CUDA_Implementation.tex b/CUDA_Implementation.tex
index ef92d73..dff2978 100644
--- a/CUDA_Implementation.tex
+++ b/CUDA_Implementation.tex
...
To do this in cuBLAS you can do the following:
/begin{verbatim}
float rhsModeli;
cublasSdot(cublasHandle,numObs,currentDataLocus.data(),0,RInverseY.data(),0,&rhsModeli);
rhsModeli += (diagLhs(i) * oldSamplei);
/end{verbatim}
You must also setup the handle that cuBLAS uses to access the GPU, this can be done like so: