Makefile.am 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-2017 Université de Bordeaux
  4. # Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2017 CNRS
  5. # Copyright (C) 2011 Télécom-SudParis
  6. # Copyright (C) 2011-2012 INRIA
  7. # Copyright (C) 2015-2016 Inria
  8. # Copyright (C) 2016 Uppsala University
  9. #
  10. # StarPU is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU Lesser General Public License as published by
  12. # the Free Software Foundation; either version 2.1 of the License, or (at
  13. # your option) any later version.
  14. #
  15. # StarPU is distributed in the hope that it will be useful, but
  16. # WITHOUT ANY WARRANTY; without even the implied warranty of
  17. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  18. #
  19. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  20. include $(top_srcdir)/starpu.mk
  21. if STARPU_SIMGRID
  22. STARPU_PERF_MODEL_DIR=$(abs_top_srcdir)/tools/perfmodels/sampling
  23. STARPU_HOSTNAME=mirage
  24. MALLOC_PERTURB_=0
  25. export STARPU_PERF_MODEL_DIR
  26. export STARPU_HOSTNAME
  27. export MALLOC_PERTURB_
  28. endif
  29. AM_CFLAGS = $(MAGMA_CFLAGS) $(HWLOC_CFLAGS) -Wall $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(GLOBAL_AM_CFLAGS) -Wno-unused
  30. AM_CXXFLAGS = $(MAGMA_CFLAGS) $(HWLOC_CFLAGS) -Wall $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(GLOBAL_AM_CXXFLAGS) -Wno-unused
  31. LIBS = $(top_builddir)/src/@LIBSTARPU_LINK@ $(MAGMA_LIBS) $(HWLOC_LIBS) @LIBS@ $(FXT_LIBS)
  32. AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/examples/ -I$(top_builddir)/include
  33. AM_LDFLAGS = @STARPU_EXPORT_DYNAMIC@ $(STARPU_OPENCL_LDFLAGS) $(STARPU_CUDA_LDFLAGS) $(STARPU_COI_LDFLAGS) $(STARPU_SCIF_LDFLAGS)
  34. SUBDIRS = stencil
  35. BUILT_SOURCES =
  36. if STARPU_USE_OPENCL
  37. nobase_STARPU_OPENCL_DATA_DATA =
  38. endif
  39. EXTRA_DIST = \
  40. README.txt \
  41. axpy/axpy.h \
  42. axpy/axpy_opencl_kernel.cl \
  43. basic_examples/vector_scal_opencl_kernel.cl \
  44. basic_examples/multiformat_types.h \
  45. basic_examples/multiformat_opencl_kernel.cl \
  46. basic_examples/multiformat_conversion_codelets_opencl_kernel.cl \
  47. common/blas_model.c \
  48. spmd/vector_scal_spmd.c \
  49. spmv/spmv_cuda.cu \
  50. spmv/spmv_opencl.cl \
  51. spmv/matrix_market/examples/fidapm05.mtx \
  52. mult/xgemm.c \
  53. lu/xlu.c \
  54. lu/xlu_pivot.c \
  55. lu/xlu_implicit.c \
  56. lu/xlu_implicit_pivot.c \
  57. lu/xlu_kernels.c \
  58. lu/lu_example.c \
  59. incrementer/incrementer_kernels_opencl_kernel.cl \
  60. basic_examples/variable_kernels_opencl_kernel.cl \
  61. matvecmult/matvecmult_kernel.cl \
  62. basic_examples/block_opencl_kernel.cl \
  63. filters/fblock_opencl_kernel.cl \
  64. filters/custom_mf/conversion_opencl.cl \
  65. filters/custom_mf/custom_opencl.cl \
  66. filters/custom_mf/custom_types.h \
  67. interface/complex_kernels.cl \
  68. reductions/dot_product.h \
  69. reductions/dot_product_opencl_kernels.cl \
  70. scheduler/schedulers.sh \
  71. scheduler/schedulers_context.sh \
  72. fortran/Makefile \
  73. sched_ctx/axpy_partition_gpu.h \
  74. sched_ctx/axpy_partition_gpu.cu \
  75. heat/heat.sh \
  76. lu/lu.sh
  77. CLEANFILES = *.gcno *.gcda *.linkinfo *.mod starpu_idle_microsec.log *.mps *.dot *.pl
  78. if STARPU_USE_CUDA
  79. if STARPU_COVERITY
  80. include $(top_srcdir)/starpu-mynvcc.mk
  81. else
  82. NVCCFLAGS += --compiler-options -fno-strict-aliasing -I$(top_srcdir)/include/ -I$(top_builddir)/include/ $(HWLOC_CFLAGS)
  83. .cu.o:
  84. @echo " NVCC $@"
  85. @$(NVCC) $< -c -o $@ $(NVCCFLAGS)
  86. endif
  87. endif
  88. if STARPU_HAVE_ICC
  89. .icc.o:
  90. $(ICC) -x c $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  91. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $< -c -o $@
  92. endif
  93. examplebindir = $(libdir)/starpu/examples/
  94. examplebin_PROGRAMS =
  95. noinst_HEADERS = \
  96. axpy/axpy.h \
  97. cg/cg.h \
  98. heat/lu_kernels_model.h \
  99. heat/dw_sparse_cg.h \
  100. heat/heat.h \
  101. heat/dw_factolu.h \
  102. lu/xlu.h \
  103. lu/xlu_kernels.h \
  104. lu/lu-float.h \
  105. lu/lu-double.h \
  106. lu/complex_float.h \
  107. lu/complex_double.h \
  108. lu/blas_complex.h \
  109. cholesky/cholesky.h \
  110. sched_ctx_utils/sched_ctx_utils.h \
  111. common/blas_model.h \
  112. common/blas.h \
  113. mult/simple.h \
  114. mult/double.h \
  115. fortran/StarPU_fortran.h \
  116. ppm_downscaler/ppm_downscaler.h \
  117. ppm_downscaler/yuv_downscaler.h \
  118. spmv/matrix_market/mmio.h \
  119. spmv/matrix_market/mm_to_bcsr.h \
  120. spmv/spmv.h \
  121. spmv/dw_block_spmv.h \
  122. basic_examples/multiformat_types.h \
  123. filters/custom_mf/custom_interface.h \
  124. filters/custom_mf/custom_types.h \
  125. interface/complex_interface.h \
  126. interface/complex_codelet.h \
  127. pi/pi.h \
  128. pi/SobolQRNG/sobol.h \
  129. pi/SobolQRNG/sobol_gold.h \
  130. pi/SobolQRNG/sobol_gpu.h \
  131. pi/SobolQRNG/sobol_primitives.h \
  132. reductions/dot_product.h \
  133. basic_examples/vector_scal_cpu_template.h \
  134. sched_ctx/axpy_partition_gpu.h
  135. #####################################
  136. # What to install and what to check #
  137. #####################################
  138. examplebin_PROGRAMS += $(STARPU_EXAMPLES)
  139. TESTS = $(STARPU_EXAMPLES)
  140. if !STARPU_USE_MPI_MASTER_SLAVE
  141. TESTS += scheduler/schedulers.sh
  142. TESTS += scheduler/schedulers_context.sh
  143. endif
  144. if STARPU_HAVE_WINDOWS
  145. check_PROGRAMS = $(STARPU_EXAMPLES)
  146. else
  147. check_PROGRAMS = $(LOADER) $(STARPU_EXAMPLES)
  148. endif
  149. if !STARPU_HAVE_WINDOWS
  150. ## test loader program
  151. if !STARPU_CROSS_COMPILING
  152. LOADER = loader
  153. loader_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -I$(top_builddir)/src/
  154. LOADER_BIN = $(abs_top_builddir)/examples/$(LOADER)
  155. loader_SOURCES = ../tests/loader.c
  156. else
  157. LOADER =
  158. LOADER_BIN = $(top_builddir)/examples/loader-cross.sh
  159. endif
  160. if STARPU_USE_MPI_MASTER_SLAVE
  161. LOADER_BIN2 = $(MPI_LAUNCHER) $(LOADER_BIN)
  162. else
  163. LOADER_BIN2 = $(LOADER_BIN)
  164. endif
  165. if STARPU_HAVE_AM111
  166. TESTS_ENVIRONMENT = $(MPI_RUN_ARGS) top_builddir="$(abs_top_builddir)" top_srcdir="$(abs_top_srcdir)"
  167. LOG_COMPILER = $(LOADER_BIN2)
  168. else
  169. TESTS_ENVIRONMENT = $(MPI_RUN_ARGS) top_builddir="$(abs_top_builddir)" top_srcdir="$(abs_top_srcdir)" $(LOADER_BIN2)
  170. endif
  171. endif
  172. # STARPU_EXAMPLES list all applications which have to be compiled and checked
  173. # Applications which should only be compiled are added directly in examplebin_PROGRAMS
  174. # see for instance mandelbrot/mandelbrot
  175. STARPU_EXAMPLES =
  176. STARPU_EXAMPLES += \
  177. sched_ctx/prio \
  178. worker_collections/worker_list_example
  179. if !STARPU_SIMGRID
  180. STARPU_EXAMPLES += \
  181. basic_examples/hello_world \
  182. basic_examples/topology \
  183. basic_examples/vector_scal \
  184. basic_examples/mult \
  185. basic_examples/block \
  186. basic_examples/variable \
  187. basic_examples/multiformat \
  188. basic_examples/dynamic_handles \
  189. mlr/mlr \
  190. cpp/incrementer_cpp \
  191. cpp/add_vectors \
  192. cpp/add_vectors_interface \
  193. filters/fvector \
  194. filters/fblock \
  195. filters/fmatrix \
  196. filters/fmultiple_manual \
  197. filters/fmultiple_submit \
  198. filters/fmultiple_submit_readonly \
  199. tag_example/tag_example \
  200. tag_example/tag_example2 \
  201. tag_example/tag_example3 \
  202. tag_example/tag_example4 \
  203. tag_example/tag_restartable \
  204. spmd/vector_scal_spmd \
  205. spmv/spmv \
  206. callback/callback \
  207. callback/prologue \
  208. incrementer/incrementer \
  209. binary/binary \
  210. interface/complex \
  211. matvecmult/matvecmult \
  212. profiling/profiling \
  213. scheduler/dummy_sched \
  214. scheduler/heteroprio_test \
  215. sched_ctx/sched_ctx \
  216. sched_ctx/two_cpu_contexts \
  217. sched_ctx/dummy_sched_with_ctx \
  218. worker_collections/worker_tree_example \
  219. reductions/dot_product \
  220. reductions/minmax_reduction
  221. endif
  222. if !STARPU_SIMGRID
  223. STARPU_EXAMPLES += \
  224. scheduler/dummy_sched
  225. if STARPU_HAVE_CXX11
  226. STARPU_EXAMPLES += \
  227. cpp/add_vectors_cpp11
  228. endif
  229. if STARPU_HAVE_F77
  230. if STARPU_HAVE_F77_H
  231. STARPU_EXAMPLES += \
  232. fortran/hello
  233. endif
  234. STARPU_EXAMPLES += \
  235. basic_examples/vector_scal_fortran
  236. endif
  237. if STARPU_HAVE_FC
  238. if !STARPU_SANITIZE
  239. STARPU_EXAMPLES += \
  240. fortran90/f90_example \
  241. native_fortran/nf_vector \
  242. native_fortran/nf_matrix \
  243. native_fortran/nf_example \
  244. native_fortran/nf_dynbuf \
  245. native_fortran/nf_varbuf \
  246. native_fortran/nf_sched_ctx \
  247. native_fortran/nf_partition
  248. endif
  249. endif
  250. endif
  251. if !NO_BLAS_LIB
  252. STARPU_EXAMPLES += \
  253. mult/sgemm \
  254. mult/dgemm \
  255. cholesky/cholesky_tag \
  256. cholesky/cholesky_tile_tag \
  257. cholesky/cholesky_implicit
  258. if !STARPU_SIMGRID
  259. STARPU_EXAMPLES += \
  260. axpy/axpy \
  261. cholesky/cholesky_grain_tag \
  262. lu/lu_example_float \
  263. lu/lu_example_double \
  264. lu/lu_implicit_example_float \
  265. lu/lu_implicit_example_double \
  266. heat/heat \
  267. cg/cg \
  268. pipeline/pipeline
  269. if !STARPU_USE_MPI_MASTER_SLAVE
  270. TESTS += \
  271. heat/heat.sh \
  272. lu/lu.sh
  273. endif
  274. endif
  275. endif
  276. if !STARPU_SIMGRID
  277. if MKL_BLAS_LIB
  278. STARPU_EXAMPLES += \
  279. lu/lu_example_complex_float \
  280. lu/lu_example_complex_double \
  281. lu/lu_implicit_example_complex_float \
  282. lu/lu_implicit_example_complex_double
  283. endif
  284. if ATLAS_BLAS_LIB
  285. STARPU_EXAMPLES += \
  286. spmv/dw_block_spmv
  287. endif
  288. if !STARPU_SIMGRID
  289. if STARPU_HAVE_F77
  290. if STARPU_HAVE_F77_H
  291. STARPU_EXAMPLES += \
  292. fortran/hello
  293. endif
  294. STARPU_EXAMPLES += \
  295. basic_examples/vector_scal_fortran
  296. endif
  297. endif
  298. if STARPU_HAVE_OPENMP
  299. STARPU_EXAMPLES += \
  300. openmp/vector_scal_omp \
  301. sched_ctx/sched_ctx_without_sched_policy\
  302. sched_ctx/nested_sched_ctxs \
  303. sched_ctx/sched_ctx_without_sched_policy_awake\
  304. sched_ctx/parallel_tasks_reuse_handle \
  305. sched_ctx/parallel_code
  306. if STARPU_HAVE_HWLOC
  307. if STARPU_HWLOC_HAVE_TOPOLOGY_DUP
  308. STARPU_EXAMPLES += \
  309. sched_ctx/parallel_tasks_with_cluster_api
  310. endif
  311. endif
  312. endif
  313. endif !STARPU_SIMGRID
  314. if STARPU_USE_CUDA
  315. STARPU_EXAMPLES += \
  316. sched_ctx/gpu_partition
  317. sched_ctx_gpu_partition_SOURCES = \
  318. sched_ctx/gpu_partition.c \
  319. sched_ctx/axpy_partition_gpu.cu
  320. endif
  321. ##################
  322. # Basic examples #
  323. ##################
  324. basic_examples_vector_scal_SOURCES = \
  325. basic_examples/vector_scal.c \
  326. basic_examples/vector_scal_cpu.c
  327. if STARPU_HAVE_ICC
  328. if STARPU_CROSS_COMPILING
  329. basic_examples_vector_scal_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) $(basic_examples_vector_scal_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  330. else
  331. basic_examples_vector_scal_SOURCES += \
  332. basic_examples/vector_scal_cpu_icc.icc
  333. basic_examples_vector_scal_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(ICC) $(basic_examples_vector_scal_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  334. endif
  335. else
  336. basic_examples_vector_scal_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) $(basic_examples_vector_scal_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  337. endif
  338. if STARPU_USE_CUDA
  339. basic_examples_vector_scal_SOURCES += \
  340. basic_examples/vector_scal_cuda.cu
  341. endif
  342. if STARPU_USE_OPENCL
  343. basic_examples_vector_scal_SOURCES += \
  344. basic_examples/vector_scal_opencl.c
  345. nobase_STARPU_OPENCL_DATA_DATA += \
  346. basic_examples/vector_scal_opencl_kernel.cl
  347. endif
  348. if STARPU_HAVE_F77
  349. basic_examples_vector_scal_fortran_SOURCES = \
  350. basic_examples/vector_scal_fortran.F \
  351. basic_examples/vector_scal_c.c \
  352. basic_examples/vector_scal_cpu.c
  353. if STARPU_USE_CUDA
  354. basic_examples_vector_scal_fortran_SOURCES += \
  355. basic_examples/vector_scal_cuda.cu
  356. basic_examples_vector_scal_fortran_LDADD = \
  357. $(STARPU_CUDA_FORTRAN_LDFLAGS)
  358. endif
  359. if STARPU_HAVE_F77_H
  360. fortran_hello_SOURCES = \
  361. fortran/hello_c.c \
  362. fortran/hello.F \
  363. fortran/StarPU_fortran.h
  364. endif
  365. endif
  366. if STARPU_HAVE_FC
  367. fortran90_f90_example_SOURCES = \
  368. fortran90/mod_types.f90 \
  369. $(top_srcdir)/include/starpu_mod.f90 \
  370. fortran90/mod_interface.f90 \
  371. fortran90/mod_compute.f90 \
  372. fortran90/marshalling.c \
  373. fortran90/f90_example.f90
  374. native_fortran_nf_vector_SOURCES = \
  375. native_fortran/nf_codelets.f90 \
  376. $(top_srcdir)/include/fstarpu_mod.f90 \
  377. native_fortran/nf_vector.f90
  378. native_fortran_nf_matrix_SOURCES = \
  379. native_fortran/nf_codelets.f90 \
  380. $(top_srcdir)/include/fstarpu_mod.f90 \
  381. native_fortran/nf_matrix.f90
  382. native_fortran_nf_example_SOURCES = \
  383. native_fortran/nf_types.f90 \
  384. native_fortran/nf_compute.f90 \
  385. $(top_srcdir)/include/fstarpu_mod.f90 \
  386. native_fortran/nf_example.f90
  387. native_fortran_nf_dynbuf_SOURCES = \
  388. native_fortran/nf_dynbuf_cl.f90 \
  389. $(top_srcdir)/include/fstarpu_mod.f90 \
  390. native_fortran/nf_dynbuf.f90
  391. native_fortran_nf_varbuf_SOURCES = \
  392. native_fortran/nf_varbuf_cl.f90 \
  393. $(top_srcdir)/include/fstarpu_mod.f90 \
  394. native_fortran/nf_varbuf.f90
  395. native_fortran_nf_sched_ctx_SOURCES = \
  396. native_fortran/nf_sched_ctx_cl.f90 \
  397. $(top_srcdir)/include/fstarpu_mod.f90 \
  398. native_fortran/nf_sched_ctx.f90
  399. native_fortran_nf_partition_SOURCES = \
  400. native_fortran/nf_partition_cl.f90 \
  401. $(top_srcdir)/include/fstarpu_mod.f90 \
  402. native_fortran/nf_partition.f90
  403. endif
  404. #######################
  405. # Multiformat example #
  406. #######################
  407. basic_examples_multiformat_SOURCES = \
  408. basic_examples/multiformat.c \
  409. basic_examples/multiformat_conversion_codelets.c
  410. if STARPU_USE_CUDA
  411. basic_examples_multiformat_SOURCES += \
  412. basic_examples/multiformat_cuda.cu \
  413. basic_examples/multiformat_conversion_codelets_cuda.cu
  414. endif
  415. if STARPU_USE_OPENCL
  416. basic_examples_multiformat_SOURCES += \
  417. basic_examples/multiformat_opencl.c \
  418. basic_examples/multiformat_conversion_codelets_opencl.c
  419. nobase_STARPU_OPENCL_DATA_DATA += \
  420. basic_examples/multiformat_opencl_kernel.cl \
  421. basic_examples/multiformat_conversion_codelets_opencl_kernel.cl
  422. endif
  423. #################
  424. # block example #
  425. #################
  426. basic_examples_block_SOURCES = \
  427. basic_examples/block.c \
  428. basic_examples/block_cpu.c
  429. if STARPU_USE_CUDA
  430. basic_examples_block_SOURCES += \
  431. basic_examples/block_cuda.cu
  432. endif
  433. if STARPU_USE_OPENCL
  434. basic_examples_block_SOURCES += \
  435. basic_examples/block_opencl.c
  436. nobase_STARPU_OPENCL_DATA_DATA += \
  437. basic_examples/block_opencl_kernel.cl
  438. endif
  439. ####################
  440. # Variable example #
  441. ####################
  442. basic_examples_variable_SOURCES = \
  443. basic_examples/variable.c \
  444. basic_examples/variable_kernels_cpu.c
  445. if STARPU_USE_CUDA
  446. basic_examples_variable_SOURCES += \
  447. basic_examples/variable_kernels.cu
  448. endif
  449. if STARPU_USE_OPENCL
  450. basic_examples_variable_SOURCES += \
  451. basic_examples/variable_kernels_opencl.c
  452. nobase_STARPU_OPENCL_DATA_DATA += \
  453. basic_examples/variable_kernels_opencl_kernel.cl
  454. endif
  455. ###########
  456. # Filters #
  457. ###########
  458. filters_fblock_SOURCES = \
  459. filters/fblock.c \
  460. filters/fblock_cpu.c
  461. if STARPU_USE_CUDA
  462. filters_fblock_SOURCES += \
  463. filters/fblock_cuda.cu
  464. endif
  465. if STARPU_USE_OPENCL
  466. filters_fblock_SOURCES += \
  467. filters/fblock_opencl.c
  468. nobase_STARPU_OPENCL_DATA_DATA += \
  469. filters/fblock_opencl_kernel.cl
  470. endif
  471. filters_fmultiple_manual_SOURCES = \
  472. filters/fmultiple_manual.c
  473. if STARPU_USE_CUDA
  474. filters_fmultiple_manual_SOURCES += \
  475. filters/fmultiple_cuda.cu
  476. endif
  477. filters_fmultiple_submit_SOURCES = \
  478. filters/fmultiple_submit.c
  479. if STARPU_USE_CUDA
  480. filters_fmultiple_submit_SOURCES += \
  481. filters/fmultiple_cuda.cu
  482. endif
  483. filters_fmultiple_submit_readonly_SOURCES = \
  484. filters/fmultiple_submit_readonly.c
  485. if STARPU_USE_CUDA
  486. filters_fmultiple_submit_readonly_SOURCES += \
  487. filters/fmultiple_cuda.cu
  488. endif
  489. examplebin_PROGRAMS += \
  490. filters/shadow \
  491. filters/shadow2d \
  492. filters/shadow3d
  493. #############################
  494. # Custom multiformat filter #
  495. #############################
  496. #TODO: see why the application is failing
  497. #lt-custom_mf_filter: .../src/datawizard/malloc.c:784: starpu_free_on_node: Assertion `chunk != _starpu_chunk_list_end(chunks[dst_node])' failed.
  498. examplebin_PROGRAMS += \
  499. filters/custom_mf/custom_mf_filter
  500. filters_custom_mf_custom_mf_filter_SOURCES=\
  501. filters/custom_mf/custom_mf_filter.c \
  502. filters/custom_mf/custom_interface.c \
  503. filters/custom_mf/custom_conversion_codelets.c
  504. if STARPU_USE_CUDA
  505. filters_custom_mf_custom_mf_filter_SOURCES += \
  506. filters/custom_mf/conversion.cu \
  507. filters/custom_mf/cuda.cu
  508. endif
  509. if STARPU_USE_OPENCL
  510. filters_custom_mf_custom_mf_filter_SOURCES += \
  511. filters/custom_mf/conversion_opencl.c \
  512. filters/custom_mf/custom_opencl.c
  513. nobase_STARPU_OPENCL_DATA_DATA += \
  514. filters/custom_mf/conversion_opencl.cl \
  515. filters/custom_mf/custom_opencl.cl
  516. endif
  517. ################
  518. # AXPY example #
  519. ################
  520. if !NO_BLAS_LIB
  521. axpy_axpy_SOURCES = \
  522. axpy/axpy.c \
  523. common/blas.c
  524. if STARPU_USE_OPENCL
  525. axpy_axpy_SOURCES += \
  526. axpy/axpy_opencl.c
  527. nobase_STARPU_OPENCL_DATA_DATA += \
  528. axpy/axpy_opencl_kernel.cl
  529. endif
  530. axpy_axpy_LDADD = \
  531. $(STARPU_BLAS_LDFLAGS)
  532. endif
  533. ################
  534. # Mult example #
  535. ################
  536. if !NO_BLAS_LIB
  537. mult_sgemm_SOURCES = \
  538. mult/sgemm.c \
  539. common/blas.c
  540. mult_sgemm_LDADD = \
  541. $(STARPU_BLAS_LDFLAGS)
  542. mult_dgemm_SOURCES = \
  543. mult/dgemm.c \
  544. common/blas.c
  545. mult_dgemm_LDADD = \
  546. $(STARPU_BLAS_LDFLAGS)
  547. endif
  548. ####################
  549. # Cholesky example #
  550. ####################
  551. if !NO_BLAS_LIB
  552. cholesky_cholesky_tag_SOURCES = \
  553. cholesky/cholesky_tag.c \
  554. cholesky/cholesky_models.c \
  555. cholesky/cholesky_kernels.c \
  556. common/blas.c
  557. cholesky_cholesky_tag_LDADD = \
  558. $(STARPU_BLAS_LDFLAGS)
  559. cholesky_cholesky_tile_tag_SOURCES = \
  560. cholesky/cholesky_tile_tag.c \
  561. cholesky/cholesky_models.c \
  562. cholesky/cholesky_kernels.c \
  563. common/blas.c
  564. cholesky_cholesky_tile_tag_LDADD = \
  565. $(STARPU_BLAS_LDFLAGS)
  566. cholesky_cholesky_grain_tag_SOURCES = \
  567. cholesky/cholesky_grain_tag.c \
  568. cholesky/cholesky_models.c \
  569. cholesky/cholesky_kernels.c \
  570. common/blas.c
  571. cholesky_cholesky_grain_tag_LDADD = \
  572. $(STARPU_BLAS_LDFLAGS)
  573. cholesky_cholesky_implicit_SOURCES = \
  574. cholesky/cholesky_implicit.c \
  575. cholesky/cholesky_models.c \
  576. cholesky/cholesky_kernels.c \
  577. sched_ctx_utils/sched_ctx_utils.c \
  578. common/blas.c
  579. cholesky_cholesky_implicit_LDADD = \
  580. $(STARPU_BLAS_LDFLAGS)
  581. endif
  582. ##############
  583. # LU example #
  584. ##############
  585. if !NO_BLAS_LIB
  586. lu_lu_example_float_SOURCES = \
  587. lu/lu_example_float.c \
  588. lu/slu.c \
  589. lu/slu_pivot.c \
  590. lu/slu_kernels.c \
  591. common/blas.c
  592. lu_lu_example_float_LDADD = \
  593. $(STARPU_BLAS_LDFLAGS)
  594. lu_lu_example_double_SOURCES = \
  595. lu/lu_example_double.c \
  596. lu/dlu.c \
  597. lu/dlu_pivot.c \
  598. lu/dlu_kernels.c \
  599. common/blas.c
  600. lu_lu_example_double_LDADD = \
  601. $(STARPU_BLAS_LDFLAGS)
  602. lu_lu_implicit_example_float_SOURCES = \
  603. lu/lu_example_float.c \
  604. lu/slu_implicit.c \
  605. lu/slu_implicit_pivot.c \
  606. lu/slu_kernels.c \
  607. common/blas.c
  608. lu_lu_implicit_example_float_LDADD = \
  609. $(STARPU_BLAS_LDFLAGS)
  610. lu_lu_implicit_example_double_SOURCES = \
  611. lu/lu_example_double.c \
  612. lu/dlu_implicit.c \
  613. lu/dlu_implicit_pivot.c \
  614. lu/dlu_kernels.c \
  615. common/blas.c
  616. lu_lu_implicit_example_double_LDADD = \
  617. $(STARPU_BLAS_LDFLAGS)
  618. if MKL_BLAS_LIB
  619. lu_lu_example_complex_float_SOURCES = \
  620. lu/lu_example_complex_float.c \
  621. lu/clu.c \
  622. lu/clu_pivot.c \
  623. lu/clu_kernels.c \
  624. lu/blas_complex.c \
  625. common/blas.c
  626. lu_lu_example_complex_float_LDADD = \
  627. $(STARPU_BLAS_LDFLAGS)
  628. lu_lu_implicit_example_complex_float_SOURCES = \
  629. lu/lu_example_complex_float.c \
  630. lu/clu_implicit.c \
  631. lu/clu_implicit_pivot.c \
  632. lu/clu_kernels.c \
  633. lu/blas_complex.c \
  634. common/blas.c
  635. lu_lu_implicit_example_complex_float_LDADD = \
  636. $(STARPU_BLAS_LDFLAGS)
  637. lu_lu_example_complex_double_SOURCES = \
  638. lu/lu_example_complex_double.c \
  639. lu/zlu.c \
  640. lu/zlu_pivot.c \
  641. lu/zlu_kernels.c \
  642. lu/blas_complex.c \
  643. common/blas.c
  644. lu_lu_example_complex_double_LDADD = \
  645. $(STARPU_BLAS_LDFLAGS)
  646. lu_lu_implicit_example_complex_double_SOURCES = \
  647. lu/lu_example_complex_double.c \
  648. lu/zlu_implicit.c \
  649. lu/zlu_implicit_pivot.c \
  650. lu/zlu_kernels.c \
  651. lu/blas_complex.c \
  652. common/blas.c
  653. lu_lu_implicit_example_complex_double_LDADD = \
  654. $(STARPU_BLAS_LDFLAGS)
  655. endif
  656. endif
  657. ################
  658. # Heat example #
  659. ################
  660. if !NO_BLAS_LIB
  661. heat_heat_SOURCES = \
  662. heat/heat.c \
  663. heat/dw_factolu.c \
  664. heat/dw_factolu_tag.c \
  665. heat/dw_factolu_grain.c \
  666. heat/dw_sparse_cg.c \
  667. heat/heat_display.c \
  668. heat/lu_kernels_model.c \
  669. heat/dw_sparse_cg_kernels.c \
  670. heat/dw_factolu_kernels.c \
  671. common/blas.c
  672. heat_heat_LDADD = \
  673. $(STARPU_OPENGL_RENDER_LDFLAGS) \
  674. $(STARPU_BLAS_LDFLAGS)
  675. endif
  676. ##############
  677. # CG example #
  678. ##############
  679. if !NO_BLAS_LIB
  680. cg_cg_SOURCES = \
  681. cg/cg.c \
  682. cg/cg_kernels.c \
  683. common/blas.c
  684. cg_cg_LDADD = \
  685. $(STARPU_BLAS_LDFLAGS)
  686. endif
  687. ################
  688. # SPMD example #
  689. ################
  690. spmd_vector_scal_spmd_SOURCES = \
  691. spmd/vector_scal_spmd.c
  692. ################
  693. # SpMV example #
  694. ################
  695. spmv_spmv_SOURCES = \
  696. spmv/spmv.c \
  697. spmv/spmv_kernels.c
  698. if STARPU_USE_CUDA
  699. spmv_spmv_SOURCES += \
  700. spmv/spmv_cuda.cu
  701. endif
  702. if ATLAS_BLAS_LIB
  703. spmv_dw_block_spmv_SOURCES = \
  704. spmv/dw_block_spmv.c \
  705. spmv/dw_block_spmv_kernels.c \
  706. spmv/matrix_market/mm_to_bcsr.c \
  707. spmv/matrix_market/mmio.c
  708. spmv_dw_block_spmv_LDADD = \
  709. $(STARPU_BLAS_LDFLAGS)
  710. endif
  711. ###########################
  712. # C++ Incrementer example #
  713. ###########################
  714. cpp_incrementer_cpp_SOURCES = \
  715. cpp/incrementer_cpp.cpp
  716. if STARPU_USE_CUDA
  717. cpp_incrementer_cpp_SOURCES += \
  718. incrementer/incrementer_kernels.cu
  719. endif
  720. if STARPU_USE_OPENCL
  721. cpp_incrementer_cpp_SOURCES += \
  722. incrementer/incrementer_kernels_opencl.c
  723. endif
  724. ###########################
  725. # C++ Add vectors example #
  726. ###########################
  727. cpp_add_vectors_SOURCES = \
  728. cpp/add_vectors.cpp
  729. cpp_add_vectors_interface_SOURCES = \
  730. cpp/add_vectors_interface.cpp
  731. if STARPU_HAVE_CXX11
  732. cpp_add_vectors_cpp11_SOURCES = \
  733. cpp/add_vectors_cpp11.cpp
  734. endif
  735. #######################
  736. # Incrementer example #
  737. #######################
  738. incrementer_incrementer_SOURCES = \
  739. incrementer/incrementer.c
  740. if STARPU_USE_CUDA
  741. incrementer_incrementer_SOURCES += \
  742. incrementer/incrementer_kernels.cu
  743. endif
  744. if STARPU_USE_OPENCL
  745. incrementer_incrementer_SOURCES += \
  746. incrementer/incrementer_kernels_opencl.c
  747. nobase_STARPU_OPENCL_DATA_DATA += \
  748. incrementer/incrementer_kernels_opencl_kernel.cl
  749. endif
  750. ##################
  751. # Binary example #
  752. ##################
  753. binary_binary_SOURCES = \
  754. binary/binary.c
  755. if STARPU_USE_OPENCL
  756. binary_binary_SOURCES += \
  757. incrementer/incrementer_kernels_opencl.c
  758. endif
  759. #####################
  760. # interface example #
  761. #####################
  762. interface_complex_SOURCES = \
  763. interface/complex.c \
  764. interface/complex_interface.c
  765. if STARPU_USE_CUDA
  766. interface_complex_SOURCES += \
  767. interface/complex_kernels.cu
  768. endif
  769. if STARPU_USE_OPENCL
  770. interface_complex_SOURCES +=\
  771. interface/complex_kernels_opencl.c
  772. nobase_STARPU_OPENCL_DATA_DATA += \
  773. interface/complex_kernels.cl
  774. endif
  775. ######################
  776. # matVecMult example #
  777. ######################
  778. if STARPU_USE_OPENCL
  779. nobase_STARPU_OPENCL_DATA_DATA += \
  780. matvecmult/matvecmult_kernel.cl
  781. endif
  782. #######################
  783. # dot_product example #
  784. #######################
  785. reductions_dot_product_SOURCES = \
  786. reductions/dot_product.c
  787. if STARPU_USE_CUDA
  788. reductions_dot_product_SOURCES += \
  789. reductions/dot_product_kernels.cu
  790. endif
  791. if STARPU_USE_OPENCL
  792. nobase_STARPU_OPENCL_DATA_DATA += \
  793. reductions/dot_product_opencl_kernels.cl
  794. endif
  795. ##################
  796. # Mandelbrot Set #
  797. ##################
  798. examplebin_PROGRAMS += \
  799. mandelbrot/mandelbrot
  800. mandelbrot_mandelbrot_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS)
  801. if HAVE_X11
  802. mandelbrot_mandelbrot_CPPFLAGS += $(X_CFLAGS)
  803. mandelbrot_mandelbrot_LDADD = $(X_PRE_LIBS) $(X_LIBS) -lX11 $(X_EXTRA_LIBS)
  804. endif
  805. ####################
  806. # Image downscaler #
  807. ####################
  808. examplebin_PROGRAMS += \
  809. ppm_downscaler/ppm_downscaler \
  810. ppm_downscaler/yuv_downscaler
  811. ################
  812. # Top Examples #
  813. ################
  814. examplebin_PROGRAMS += \
  815. top/hello_world_top
  816. top_hello_world_top_SOURCES = \
  817. top/hello_world_top.c
  818. ######
  819. # Pi #
  820. ######
  821. if !STARPU_HAVE_WINDOWS
  822. examplebin_PROGRAMS += \
  823. pi/pi \
  824. pi/pi_redux
  825. pi_pi_SOURCES = \
  826. pi/pi.c \
  827. pi/SobolQRNG/sobol_gold.c \
  828. pi/SobolQRNG/sobol_primitives.c
  829. if STARPU_USE_CUDA
  830. pi_pi_SOURCES += \
  831. pi/pi_kernel.cu \
  832. pi/SobolQRNG/sobol_gpu.cu
  833. endif
  834. pi_pi_redux_SOURCES = \
  835. pi/pi_redux.c
  836. if STARPU_USE_CUDA
  837. pi_pi_redux_SOURCES += \
  838. pi/pi_redux_kernel.cu
  839. pi_pi_redux_LDADD = \
  840. $(STARPU_CURAND_LDFLAGS)
  841. endif
  842. endif
  843. ###########################
  844. # OpenGL interoperability #
  845. ###########################
  846. if HAVE_OPENGL
  847. examplebin_PROGRAMS += \
  848. gl_interop/gl_interop \
  849. gl_interop/gl_interop_idle
  850. gl_interop_gl_interop_SOURCES = \
  851. gl_interop/gl_interop.c
  852. gl_interop_gl_interop_LDADD = \
  853. $(STARPU_OPENGL_RENDER_LDFLAGS)
  854. gl_interop_gl_interop_idle_SOURCES = \
  855. gl_interop/gl_interop_idle.c
  856. gl_interop_gl_interop_idle_LDADD = \
  857. $(STARPU_OPENGL_RENDER_LDFLAGS)
  858. endif
  859. ####################
  860. # pipeline example #
  861. ####################
  862. if !NO_BLAS_LIB
  863. pipeline_pipeline_SOURCES = \
  864. pipeline/pipeline.c \
  865. common/blas.c
  866. pipeline_pipeline_LDADD = \
  867. $(STARPU_BLAS_LDFLAGS)
  868. endif
  869. ##################
  870. # openmp example #
  871. ##################
  872. if STARPU_HAVE_OPENMP
  873. openmp_vector_scal_omp_CFLAGS = \
  874. $(AM_CFLAGS) -fopenmp
  875. sched_ctx_parallel_code_CFLAGS = \
  876. $(AM_CFLAGS) -fopenmp
  877. sched_ctx_sched_ctx_without_sched_policy_CFLAGS = \
  878. $(AM_CFLAGS) -fopenmp
  879. sched_ctx_nested_sched_ctxs_CFLAGS = \
  880. $(AM_CFLAGS) -fopenmp
  881. sched_ctx_parallel_tasks_reuse_handle_CFLAGS = \
  882. $(AM_CFLAGS) -fopenmp
  883. endif
  884. if STARPU_HAVE_FC
  885. # Fortran90 example
  886. # - list explicit dependences to control proper module files generation
  887. # - the overriding rule fully disables the corresponing default rule, thus
  888. # the default rule body must be copied entirely
  889. mod_types.mod: mod_types.o
  890. mod_compute.mod: mod_compute.o
  891. mod_interface.mod: mod_interface.o
  892. starpu_mod.mod: starpu_mod.o
  893. starpu_mod.o: $(top_srcdir)/include/starpu_mod.f90
  894. $(AM_V_FC)$(FC) $(fortran90_f90_example_FCFLAGS) $(FCFLAGS) -c -o $@ '$(top_srcdir)/'include/starpu_mod.f90
  895. mod_compute.o: $(top_srcdir)/examples/fortran90/mod_compute.f90 mod_types.mod mod_interface.mod starpu_mod.mod
  896. $(AM_V_FC)$(FC) $(fortran90_f90_example_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'fortran90/mod_compute.f90' || echo '$(srcdir)/'`fortran90/mod_compute.f90
  897. f90_example.o: $(top_srcdir)/examples/fortran90/f90_example.f90 $(top_srcdir)/examples/fortran90/marshalling.c mod_types.mod mod_interface.mod mod_compute.mod starpu_mod.mod
  898. $(AM_V_FC)$(FC) $(fortran90_f90_example_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'fortran90/f90_example.f90' || echo '$(srcdir)/'`fortran90/f90_example.f90
  899. # Native Fortran example
  900. # - list explicit dependences to control proper module files generation
  901. # - the overriding rule fully disables the corresponing default rule, thus
  902. # the default rule body must be copied entirely
  903. nf_types.mod: nf_types.o
  904. nf_compute.mod: nf_compute.o
  905. fstarpu_mod.mod: fstarpu_mod.o
  906. nf_codelets.mod: nf_codelets.o
  907. nf_dynbuf_cl.mod: nf_dynbuf_cl.o
  908. nf_varbuf_cl.mod: nf_varbuf_cl.o
  909. nf_sched_ctx_cl.mod: nf_sched_ctx_cl.o
  910. nf_partition_cl.mod: nf_partition_cl.o
  911. fstarpu_mod.o: $(top_srcdir)/include/fstarpu_mod.f90
  912. $(AM_V_FC)$(FC) $(native_fortran_nf_vector_FCFLAGS) $(FCFLAGS) -c -o $@ '$(top_srcdir)/'include/fstarpu_mod.f90
  913. nf_codelets.o: $(top_srcdir)/examples/native_fortran/nf_codelets.f90 fstarpu_mod.mod
  914. $(AM_V_FC)$(FC) $(native_fortran_nf_vector_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_codelets.f90' || echo '$(srcdir)/'`native_fortran/nf_codelets.f90
  915. nf_vector.o: $(top_srcdir)/examples/native_fortran/nf_vector.f90 nf_codelets.mod fstarpu_mod.mod
  916. $(AM_V_FC)$(FC) $(native_fortran_nf_vector_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_vector.f90' || echo '$(srcdir)/'`native_fortran/nf_vector.f90
  917. nf_matrix.o: $(top_srcdir)/examples/native_fortran/nf_matrix.f90 nf_codelets.mod fstarpu_mod.mod
  918. $(AM_V_FC)$(FC) $(native_fortran_nf_matrix_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_matrix.f90' || echo '$(srcdir)/'`native_fortran/nf_matrix.f90
  919. nf_compute.o: $(top_srcdir)/examples/native_fortran/nf_compute.f90 nf_types.mod fstarpu_mod.mod
  920. $(AM_V_FC)$(FC) $(native_fortran_nf_example_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_compute.f90' || echo '$(srcdir)/'`native_fortran/nf_compute.f90
  921. nf_example.o: $(top_srcdir)/examples/native_fortran/nf_example.f90 nf_types.mod nf_compute.mod fstarpu_mod.mod
  922. $(AM_V_FC)$(FC) $(native_fortran_nf_example_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_example.f90' || echo '$(srcdir)/'`native_fortran/nf_example.f90
  923. nf_dynbuf_cl.o: $(top_srcdir)/examples/native_fortran/nf_dynbuf_cl.f90 nf_types.mod fstarpu_mod.mod
  924. $(AM_V_FC)$(FC) $(native_fortran_nf_dynbuf_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_dynbuf_cl.f90' || echo '$(srcdir)/'`native_fortran/nf_dynbuf_cl.f90
  925. nf_dynbuf.o: $(top_srcdir)/examples/native_fortran/nf_dynbuf.f90 nf_types.mod nf_dynbuf_cl.mod fstarpu_mod.mod
  926. $(AM_V_FC)$(FC) $(native_fortran_nf_dynbuf_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_dynbuf.f90' || echo '$(srcdir)/'`native_fortran/nf_dynbuf.f90
  927. nf_varbuf_cl.o: $(top_srcdir)/examples/native_fortran/nf_varbuf_cl.f90 nf_types.mod fstarpu_mod.mod
  928. $(AM_V_FC)$(FC) $(native_fortran_nf_varbuf_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_varbuf_cl.f90' || echo '$(srcdir)/'`native_fortran/nf_varbuf_cl.f90
  929. nf_varbuf.o: $(top_srcdir)/examples/native_fortran/nf_varbuf.f90 nf_types.mod nf_varbuf_cl.mod fstarpu_mod.mod
  930. $(AM_V_FC)$(FC) $(native_fortran_nf_varbuf_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_varbuf.f90' || echo '$(srcdir)/'`native_fortran/nf_varbuf.f90
  931. nf_sched_ctx_cl.o: $(top_srcdir)/examples/native_fortran/nf_sched_ctx_cl.f90 nf_types.mod fstarpu_mod.mod
  932. $(AM_V_FC)$(FC) $(native_fortran_nf_sched_ctx_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_sched_ctx_cl.f90' || echo '$(srcdir)/'`native_fortran/nf_sched_ctx_cl.f90
  933. nf_sched_ctx.o: $(top_srcdir)/examples/native_fortran/nf_sched_ctx.f90 nf_types.mod nf_sched_ctx_cl.mod fstarpu_mod.mod
  934. $(AM_V_FC)$(FC) $(native_fortran_nf_sched_ctx_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_sched_ctx.f90' || echo '$(srcdir)/'`native_fortran/nf_sched_ctx.f90
  935. nf_partition_cl.o: $(top_srcdir)/examples/native_fortran/nf_partition_cl.f90 nf_types.mod fstarpu_mod.mod
  936. $(AM_V_FC)$(FC) $(native_fortran_nf_partition_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_partition_cl.f90' || echo '$(srcdir)/'`native_fortran/nf_partition_cl.f90
  937. nf_partition.o: $(top_srcdir)/examples/native_fortran/nf_partition.f90 nf_types.mod nf_partition_cl.mod fstarpu_mod.mod
  938. $(AM_V_FC)$(FC) $(native_fortran_nf_partition_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'native_fortran/nf_partition.f90' || echo '$(srcdir)/'`native_fortran/nf_partition.f90
  939. endif