Forráskód Böngészése

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

Cédric Augonnet 14 éve
szülő
commit
fda0f0ca3f
2 módosított fájl, 3 hozzáadás és 1 törlés
  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 $@`