diff options
author | Determinant <[email protected]> | 2015-05-18 19:29:37 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-05-18 19:29:37 +0800 |
commit | 23fd2694723ab3f2203e6cd040c5e6633cb989c7 (patch) | |
tree | 407e5b1f2826df831336fbb8f1bfd69f8ca6e7c5 /Makefile | |
parent | 0f953414dfdbd7abb7b867ce0c3f9390551c1083 (diff) |
add rowsum for cumatrix
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ CUDA_BASE := /usr/local/cuda-6.5 CUDA_INCLUDE := -I $(CUDA_BASE)/include/ INCLUDE += $(CUDA_INCLUDE) LDFLAGS := -L$(CUDA_BASE)/lib64/ -Wl,-rpath=$(CUDA_BASE)/lib64/ -lcudart -lcublas -CFLAGS := +CFLAGS := -Wall -Wextra OBJ_DIR := build/objs LUA_DIR := build/lua NVCC := $(CUDA_BASE)/bin/nvcc @@ -30,7 +30,7 @@ $(OBJ_DIR)/%.o: %.c $(OBJ_DIR)/matrix/%.o: matrix/%.c gcc -c -o $@ $< $(INCLUDE) -fPIC $(CFLAGS) $(OBJ_DIR)/matrix/cukernel.o: matrix/cukernel.cu - $(NVCC) -c -o $@ $< -Xcompiler -fPIC $(INCLUDE) $(CFLAGS) + $(NVCC) -c -o $@ $< -Xcompiler -fPIC $(INCLUDE) $(LUA_DIR)/%.lua: %.lua cp $< $@ $(OBJ_DIR)/luaT.o: |