| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 | # StarPU --- Runtime system for heterogeneous multicore architectures.## Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique## StarPU is free software; you can redistribute it and/or modify# it under the terms of the GNU Lesser General Public License as published by# the Free Software Foundation; either version 2.1 of the License, or (at# your option) any later version.## StarPU is distributed in the hope that it will be useful, but# WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.## See the GNU Lesser General Public License in COPYING.LGPL for more details.TESTS	=examplebindir = $(libdir)/starpu/pluginif STARPU_USE_CPUif STARPU_HAVE_WINDOWScheck_PROGRAMS	=	$(TESTS)elsecheck_PROGRAMS	=	$(LOADER) $(TESTS)endifif !STARPU_HAVE_WINDOWS## test loader programLOADER			=	loaderloader_CPPFLAGS		=	$(AM_CFLAGS) $(AM_CPPFLAGS) -I$(top_builddir)/src/LOADER_BIN		=	$(abs_top_builddir)/gcc-plugin/examples/$(LOADER)loader_SOURCES		=	../../tests/loader.cif STARPU_HAVE_AM111TESTS_ENVIRONMENT	=	top_builddir="$(abs_top_builddir)" top_srcdir="$(abs_top_srcdir)"LOG_COMPILER		=	$(LOADER_BIN)elseTESTS_ENVIRONMENT	=	top_builddir="$(abs_top_builddir)" top_srcdir="$(abs_top_srcdir)" $(LOADER_BIN)endifendifexamplebin_PROGRAMS =			\	hello-starpu 			\	matrix-mult			\	stencil5			\	vector_scal/vector_scal#if !NO_BLAS_LIB#examplebin_PROGRAMS +=				\#  cholesky/cholesky#endif !NO_BLAS_LIBendif STARPU_USE_CPUAM_LDFLAGS = $(top_builddir)/src/@LIBSTARPU_LINK@AM_LDFLAGS += $(STARPU_OPENCL_LDFLAGS) $(STARPU_CUDA_LDFLAGS)AM_CPPFLAGS =						\  -I$(top_srcdir)/include				\  -I$(top_srcdir)/examples				\  $(STARPU_OPENCL_CPPFLAGS) $(STARPU_CUDA_CPPFLAGS)AM_CFLAGS =							\  -fplugin="$(builddir)/../src/.libs/starpu.so"			\  -fplugin-arg-starpu-include-dir="$(top_srcdir)/include"	\  -fplugin-arg-starpu-verbose					\  -Wall $(HWLOC_CFLAGS)#noinst_HEADERS =				\#  cholesky/cholesky.h				\#  cholesky/cholesky_kernels.h#if !NO_BLAS_LIB#cholesky_cholesky_SOURCES	=		\#	cholesky/cholesky.c		\#	cholesky/cholesky_models.c	\#	cholesky/cholesky_kernels.c	\#	$(top_srcdir)/examples/common/blas.c##cholesky_cholesky_LDADD	=	\#	$(STARPU_BLAS_LDFLAGS)#endifvector_scal_vector_scal_SOURCES = vector_scal/vector_scal.cif STARPU_USE_CUDAvector_scal_vector_scal_SOURCES += vector_scal/vector_scal_cuda.cu.cu.o:	$(NVCC) $< -c -o $@ $(NVCCFLAGS)			\	  -I$(top_builddir)/include -I$(top_srcdir)/includeelse !STARPU_USE_CUDAEXTRA_DIST = vector_scal/vector_scal_cuda.cuendifTESTS += $(examplebin_PROGRAMS)showcheck:	-cat $(TEST_LOGS) /dev/null	for i in $(SUBDIRS) ; do \		make -C $$i showcheck ; \	done
 |