nixpkgs/pkgs/development/r-modules/patches/CARramps.patch
2014-12-03 16:28:28 +01:00

25 lines
901 B
Diff

diff -ru -x '*~' CARramps_orig/configure CARramps/configure
--- CARramps_orig/configure 2011-12-01 22:27:06.000000000 +0900
+++ CARramps/configure 2014-10-25 14:56:04.599337748 +0900
@@ -2395,7 +2395,7 @@
NCFLAGS="-arch=sm_13 -O2"
-CUDA_INC=${CUDA_HOME}/include
+CUDA_INC=${CUDA_HOME}/usr_include
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CUDA headers" >&5
$as_echo_n "checking for CUDA headers... " >&6; }
as_ac_File=`$as_echo "ac_cv_file_${CUDA_INC}/cublas.h" | $as_tr_sh`
diff -ru -x '*~' CARramps_orig/src/combo1colForR1Q_d.cu CARramps/src/combo1colForR1Q_d.cu
--- CARramps_orig/src/combo1colForR1Q_d.cu 2011-12-01 22:27:06.000000000 +0900
+++ CARramps/src/combo1colForR1Q_d.cu 2014-10-25 14:59:06.869299163 +0900
@@ -4,7 +4,7 @@
#include <cuda.h>
#include <R.h>
#include <Rmath.h>
-#include <combo1colForR1Q_d.h>
+#include "combo1colForR1Q_d.h"
#define BLOCKSIZE 256