From 2895e27613dab0815e9f0f2f0ed7853d31f856b4 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 2 Apr 2014 14:21:59 +0000 Subject: Add global astra_set_gpu_index function --- build/linux/Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build/linux') diff --git a/build/linux/Makefile.in b/build/linux/Makefile.in index be50cbf..3e8bca1 100644 --- a/build/linux/Makefile.in +++ b/build/linux/Makefile.in @@ -57,6 +57,11 @@ MEXLDFLAGS='$$LDFLAGS $(LDFLAGS)' MEXLIBS ="-L.libs -lut" MEXSUFFIX = @MEXSUFFIX@ MEX = @MEX@ + +ifeq ($(cuda),yes) +MEXFLAGS += -DASTRA_CUDA +endif + endif LIBDIR=/usr/local/lib -- cgit v1.2.3