|
@@ -123,22 +123,22 @@ noinst_HEADERS = \
|
|
# What to install and what to check #
|
|
# What to install and what to check #
|
|
#####################################
|
|
#####################################
|
|
|
|
|
|
-STARPU_EXAMPLES =
|
|
|
|
-TESTS = $(STARPU_EXAMPLES)
|
|
|
|
-TESTS += scheduler/schedulers.sh
|
|
|
|
|
|
+examplebin_PROGRAMS += $(STARPU_EXAMPLES)
|
|
|
|
|
|
|
|
+TESTS = $(STARPU_EXAMPLES)
|
|
|
|
+TESTS += scheduler/schedulers.sh
|
|
|
|
|
|
if STARPU_HAVE_WINDOWS
|
|
if STARPU_HAVE_WINDOWS
|
|
-check_PROGRAMS = $(STARPU_EXAMPLES)
|
|
|
|
|
|
+check_PROGRAMS = $(STARPU_EXAMPLES)
|
|
else
|
|
else
|
|
-check_PROGRAMS = $(LOADER) $(STARPU_EXAMPLES)
|
|
|
|
|
|
+check_PROGRAMS = $(LOADER) $(STARPU_EXAMPLES)
|
|
endif
|
|
endif
|
|
|
|
|
|
if !STARPU_HAVE_WINDOWS
|
|
if !STARPU_HAVE_WINDOWS
|
|
## test loader program
|
|
## test loader program
|
|
if !STARPU_CROSS_COMPILING
|
|
if !STARPU_CROSS_COMPILING
|
|
LOADER = loader
|
|
LOADER = loader
|
|
-loader_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -I$(top_builddir)/src/
|
|
|
|
|
|
+loader_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -I$(top_builddir)/src/
|
|
LOADER_BIN = $(abs_top_builddir)/examples/$(LOADER)
|
|
LOADER_BIN = $(abs_top_builddir)/examples/$(LOADER)
|
|
loader_SOURCES = ../tests/loader.c
|
|
loader_SOURCES = ../tests/loader.c
|
|
else
|
|
else
|
|
@@ -155,22 +155,22 @@ endif
|
|
|
|
|
|
endif
|
|
endif
|
|
|
|
|
|
-examplebin_PROGRAMS += \
|
|
|
|
|
|
+# STARPU_EXAMPLES list all applications which have to be compiled and checked
|
|
|
|
+# Applications which should only be compiled are added directly in examplebin_PROGRAMS
|
|
|
|
+# see for instance mandelbrot/mandelbrot
|
|
|
|
+
|
|
|
|
+STARPU_EXAMPLES = \
|
|
basic_examples/hello_world \
|
|
basic_examples/hello_world \
|
|
basic_examples/vector_scal \
|
|
basic_examples/vector_scal \
|
|
basic_examples/mult \
|
|
basic_examples/mult \
|
|
basic_examples/block \
|
|
basic_examples/block \
|
|
basic_examples/variable \
|
|
basic_examples/variable \
|
|
basic_examples/multiformat \
|
|
basic_examples/multiformat \
|
|
- basic_examples/dynamic_handles \
|
|
|
|
cpp/incrementer_cpp \
|
|
cpp/incrementer_cpp \
|
|
- filters/custom_mf/custom_mf_filter \
|
|
|
|
filters/fvector \
|
|
filters/fvector \
|
|
filters/fblock \
|
|
filters/fblock \
|
|
filters/fmatrix \
|
|
filters/fmatrix \
|
|
- filters/shadow \
|
|
|
|
- filters/shadow2d \
|
|
|
|
- filters/shadow3d \
|
|
|
|
|
|
+ filters/custom_mf/custom_mf_filter \
|
|
tag_example/tag_example \
|
|
tag_example/tag_example \
|
|
tag_example/tag_example2 \
|
|
tag_example/tag_example2 \
|
|
tag_example/tag_example3 \
|
|
tag_example/tag_example3 \
|
|
@@ -185,33 +185,30 @@ examplebin_PROGRAMS += \
|
|
interface/complex \
|
|
interface/complex \
|
|
matvecmult/matvecmult \
|
|
matvecmult/matvecmult \
|
|
profiling/profiling \
|
|
profiling/profiling \
|
|
|
|
+ scheduler/dummy_sched \
|
|
sched_ctx/sched_ctx \
|
|
sched_ctx/sched_ctx \
|
|
- sched_ctx/parallel_code \
|
|
|
|
- sched_ctx/dummy_sched_with_ctx \
|
|
|
|
sched_ctx/prio \
|
|
sched_ctx/prio \
|
|
|
|
+ sched_ctx/dummy_sched_with_ctx \
|
|
sched_ctx/sched_ctx_without_sched_policy\
|
|
sched_ctx/sched_ctx_without_sched_policy\
|
|
sched_ctx/nested_sched_ctxs \
|
|
sched_ctx/nested_sched_ctxs \
|
|
worker_collections/worker_tree_example \
|
|
worker_collections/worker_tree_example \
|
|
worker_collections/worker_list_example \
|
|
worker_collections/worker_list_example \
|
|
reductions/dot_product \
|
|
reductions/dot_product \
|
|
- reductions/minmax_reduction \
|
|
|
|
- mandelbrot/mandelbrot \
|
|
|
|
- ppm_downscaler/ppm_downscaler \
|
|
|
|
- ppm_downscaler/yuv_downscaler
|
|
|
|
|
|
+ reductions/minmax_reduction
|
|
|
|
|
|
if !STARPU_SIMGRID
|
|
if !STARPU_SIMGRID
|
|
-examplebin_PROGRAMS += \
|
|
|
|
|
|
+STARPU_EXAMPLES += \
|
|
scheduler/dummy_sched
|
|
scheduler/dummy_sched
|
|
|
|
|
|
if STARPU_HAVE_F77_H
|
|
if STARPU_HAVE_F77_H
|
|
-examplebin_PROGRAMS += \
|
|
|
|
|
|
+STARPU_EXAMPLES += \
|
|
basic_examples/vector_scal_fortran \
|
|
basic_examples/vector_scal_fortran \
|
|
fortran/hello
|
|
fortran/hello
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
|
|
if !NO_BLAS_LIB
|
|
if !NO_BLAS_LIB
|
|
-examplebin_PROGRAMS += \
|
|
|
|
|
|
+STARPU_EXAMPLES += \
|
|
axpy/axpy \
|
|
axpy/axpy \
|
|
mult/sgemm \
|
|
mult/sgemm \
|
|
mult/dgemm \
|
|
mult/dgemm \
|
|
@@ -229,7 +226,7 @@ examplebin_PROGRAMS += \
|
|
endif
|
|
endif
|
|
|
|
|
|
if MKL_BLAS_LIB
|
|
if MKL_BLAS_LIB
|
|
-examplebin_PROGRAMS += \
|
|
|
|
|
|
+STARPU_EXAMPLES += \
|
|
lu/lu_example_complex_float \
|
|
lu/lu_example_complex_float \
|
|
lu/lu_example_complex_double \
|
|
lu/lu_example_complex_double \
|
|
lu/lu_implicit_example_complex_float \
|
|
lu/lu_implicit_example_complex_float \
|
|
@@ -237,46 +234,10 @@ examplebin_PROGRAMS += \
|
|
endif
|
|
endif
|
|
|
|
|
|
if ATLAS_BLAS_LIB
|
|
if ATLAS_BLAS_LIB
|
|
-examplebin_PROGRAMS += \
|
|
|
|
|
|
+STARPU_EXAMPLES += \
|
|
spmv/dw_block_spmv
|
|
spmv/dw_block_spmv
|
|
endif
|
|
endif
|
|
|
|
|
|
-STARPU_EXAMPLES += \
|
|
|
|
- basic_examples/hello_world \
|
|
|
|
- basic_examples/vector_scal \
|
|
|
|
- basic_examples/mult \
|
|
|
|
- basic_examples/block \
|
|
|
|
- basic_examples/variable \
|
|
|
|
- basic_examples/multiformat \
|
|
|
|
- cpp/incrementer_cpp \
|
|
|
|
- filters/fvector \
|
|
|
|
- filters/fblock \
|
|
|
|
- filters/fmatrix \
|
|
|
|
- tag_example/tag_example \
|
|
|
|
- tag_example/tag_example2 \
|
|
|
|
- tag_example/tag_example3 \
|
|
|
|
- tag_example/tag_example4 \
|
|
|
|
- tag_example/tag_restartable \
|
|
|
|
- spmd/vector_scal_spmd \
|
|
|
|
- spmv/spmv \
|
|
|
|
- callback/callback \
|
|
|
|
- callback/prologue \
|
|
|
|
- incrementer/incrementer \
|
|
|
|
- binary/binary \
|
|
|
|
- interface/complex \
|
|
|
|
- matvecmult/matvecmult \
|
|
|
|
- profiling/profiling \
|
|
|
|
- scheduler/dummy_sched \
|
|
|
|
- sched_ctx/sched_ctx \
|
|
|
|
- sched_ctx/prio \
|
|
|
|
- sched_ctx/dummy_sched_with_ctx \
|
|
|
|
- sched_ctx/sched_ctx_without_sched_policy\
|
|
|
|
- sched_ctx/nested_sched_ctxs \
|
|
|
|
- worker_collections/worker_tree_example \
|
|
|
|
- worker_collections/worker_list_example \
|
|
|
|
- reductions/dot_product \
|
|
|
|
- reductions/minmax_reduction
|
|
|
|
-
|
|
|
|
if STARPU_LONG_CHECK
|
|
if STARPU_LONG_CHECK
|
|
STARPU_EXAMPLES += \
|
|
STARPU_EXAMPLES += \
|
|
sched_ctx/parallel_code
|
|
sched_ctx/parallel_code
|
|
@@ -288,35 +249,16 @@ STARPU_EXAMPLES += \
|
|
fortran/hello
|
|
fortran/hello
|
|
endif
|
|
endif
|
|
|
|
|
|
-if !NO_BLAS_LIB
|
|
|
|
|
|
+if !STARPU_HAVE_WINDOWS
|
|
STARPU_EXAMPLES += \
|
|
STARPU_EXAMPLES += \
|
|
- axpy/axpy \
|
|
|
|
- mult/sgemm \
|
|
|
|
- mult/dgemm \
|
|
|
|
- cholesky/cholesky_tag \
|
|
|
|
- cholesky/cholesky_tile_tag \
|
|
|
|
- cholesky/cholesky_grain_tag \
|
|
|
|
- cholesky/cholesky_implicit \
|
|
|
|
- lu/lu_example_float \
|
|
|
|
- lu/lu_example_double \
|
|
|
|
- lu/lu_implicit_example_float \
|
|
|
|
- lu/lu_implicit_example_double \
|
|
|
|
- heat/heat \
|
|
|
|
- cg/cg \
|
|
|
|
- pipeline/pipeline
|
|
|
|
-endif
|
|
|
|
|
|
+ openmp/vector_scal_omp \
|
|
|
|
+ sched_ctx/sched_ctx_without_sched_policy\
|
|
|
|
+ sched_ctx/nested_sched_ctxs
|
|
|
|
|
|
-if MKL_BLAS_LIB
|
|
|
|
|
|
+if STARPU_LONG_CHECK
|
|
STARPU_EXAMPLES += \
|
|
STARPU_EXAMPLES += \
|
|
- lu/lu_example_complex_float \
|
|
|
|
- lu/lu_example_complex_double \
|
|
|
|
- lu/lu_implicit_example_complex_float \
|
|
|
|
- lu/lu_implicit_example_complex_double
|
|
|
|
|
|
+ sched_ctx/parallel_code
|
|
endif
|
|
endif
|
|
-
|
|
|
|
-if ATLAS_BLAS_LIB
|
|
|
|
-STARPU_EXAMPLES += \
|
|
|
|
- spmv/dw_block_spmv
|
|
|
|
endif
|
|
endif
|
|
|
|
|
|
##################
|
|
##################
|
|
@@ -428,7 +370,6 @@ nobase_STARPU_OPENCL_DATA_DATA += \
|
|
basic_examples/variable_kernels_opencl_kernel.cl
|
|
basic_examples/variable_kernels_opencl_kernel.cl
|
|
endif
|
|
endif
|
|
|
|
|
|
-
|
|
|
|
###########
|
|
###########
|
|
# Filters #
|
|
# Filters #
|
|
###########
|
|
###########
|
|
@@ -448,7 +389,6 @@ nobase_STARPU_OPENCL_DATA_DATA += \
|
|
filters/fblock_opencl_kernel.cl
|
|
filters/fblock_opencl_kernel.cl
|
|
endif
|
|
endif
|
|
|
|
|
|
-
|
|
|
|
#############################
|
|
#############################
|
|
# Custom multiformat filter #
|
|
# Custom multiformat filter #
|
|
#############################
|
|
#############################
|
|
@@ -826,6 +766,9 @@ endif
|
|
# Mandelbrot Set #
|
|
# Mandelbrot Set #
|
|
##################
|
|
##################
|
|
|
|
|
|
|
|
+examplebin_PROGRAMS += \
|
|
|
|
+ mandelbrot/mandelbrot
|
|
|
|
+
|
|
mandelbrot_mandelbrot_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS)
|
|
mandelbrot_mandelbrot_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS)
|
|
if HAVE_X11
|
|
if HAVE_X11
|
|
mandelbrot_mandelbrot_CPPFLAGS += $(X_CFLAGS)
|
|
mandelbrot_mandelbrot_CPPFLAGS += $(X_CFLAGS)
|
|
@@ -846,10 +789,6 @@ top_hello_world_top_SOURCES = \
|
|
# Pi #
|
|
# Pi #
|
|
######
|
|
######
|
|
|
|
|
|
-check_PROGRAMS += \
|
|
|
|
- pi/pi \
|
|
|
|
- pi/pi_redux
|
|
|
|
-
|
|
|
|
examplebin_PROGRAMS += \
|
|
examplebin_PROGRAMS += \
|
|
pi/pi \
|
|
pi/pi \
|
|
pi/pi_redux
|
|
pi/pi_redux
|
|
@@ -915,9 +854,6 @@ endif
|
|
##################
|
|
##################
|
|
|
|
|
|
if !STARPU_HAVE_WINDOWS
|
|
if !STARPU_HAVE_WINDOWS
|
|
-examplebin_PROGRAMS += \
|
|
|
|
- openmp/vector_scal_omp
|
|
|
|
-
|
|
|
|
openmp_vector_scal_omp_CFLAGS = \
|
|
openmp_vector_scal_omp_CFLAGS = \
|
|
$(AM_CFLAGS) -fopenmp
|
|
$(AM_CFLAGS) -fopenmp
|
|
|
|
|
|
@@ -937,3 +873,4 @@ showcheck:
|
|
for i in $(SUBDIRS) ; do \
|
|
for i in $(SUBDIRS) ; do \
|
|
make -C $$i showcheck ; \
|
|
make -C $$i showcheck ; \
|
|
done
|
|
done
|
|
|
|
+
|