Ver código fonte

examples/Makefile.am: the option -arch sm_13 is needed to compile the kernel reductions/dot_product_kernels.cu as it uses double operations

Nathalie Furmento 12 anos atrás
pai
commit
c678c91655
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      examples/Makefile.am

+ 2 - 0
examples/Makefile.am

@@ -792,6 +792,8 @@ reductions_dot_product_SOURCES =		\
 if STARPU_USE_CUDA
 reductions_dot_product_SOURCES +=		\
 	reductions/dot_product_kernels.cu
+reductions/dot_product_kernels.o: reductions/dot_product_kernels.cu
+	$(NVCC) $< -c -o $@ $(NVCCFLAGS) -arch sm_13
 endif
 if STARPU_USE_OPENCL
 nobase_STARPU_OPENCL_DATA_DATA += \