Makefile.am 31 KB

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