Explorar el Código

Some examples include starpu.h (and therefore possibly hwloc.h)

Cédric Augonnet hace 15 años
padre
commit
fda0f0ca3f
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. 2 0
      examples/Makefile.am
  2. 1 1
      tests/Makefile.am

+ 2 - 0
examples/Makefile.am

@@ -60,6 +60,8 @@ CLEANFILES += *.gcno *.gcda *.linkinfo
 
 if STARPU_USE_CUDA
 
+NVCCFLAGS += $(HWLOC_CFLAGS)
+
 .cu.cubin:
 	$(MKDIR_P) `dirname $@`
 	$(NVCC) -cubin $< -o $@ --compiler-options -fno-strict-aliasing  $(NVCCFLAGS)

+ 1 - 1
tests/Makefile.am

@@ -35,7 +35,7 @@ if STARPU_USE_CUDA
 # TODO define NVCCFLAGS
 NVCC ?= nvcc
 
-NVCCFLAGS += -I$(top_srcdir)/include/ -I$(top_builddir)/include
+NVCCFLAGS += -I$(top_srcdir)/include/ -I$(top_builddir)/include $(HWLOC_CFLAGS)
 
 .cu.cubin:
 	$(MKDIR_P) `dirname $@`