瀏覽代碼

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 年之前
父節點
當前提交
c678c91655
共有 1 個文件被更改,包括 2 次插入0 次删除
  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 += \