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

13 lines
436 B
Diff

diff -ru -x '*~' gputools_orig/src/Makefile gputools/src/Makefile
--- gputools_orig/src/Makefile 2013-05-09 01:43:32.000000000 +0900
+++ gputools/src/Makefile 2014-10-21 21:41:23.067148490 +0900
@@ -6,6 +6,9 @@
R_HOME := $(shell R RHOME)
+CUDA_INC := $(CUDA_HOME)/usr_include
+CUDA_LIB := $(CUDA_HOME)/lib
+
#compiler/preprocessor options
INCS := -I. -I"$(CUDA_INC)" -I"$(R_INC)"
PARAMS := $(DEVICEOPTS) -Xcompiler $(CPICFLAGS)