Makefile.am 31 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204
  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. scheduler/heteroprio_test \
  230. sched_ctx/sched_ctx \
  231. sched_ctx/sched_ctx_empty \
  232. sched_ctx/sched_ctx_delete \
  233. sched_ctx/two_cpu_contexts \
  234. sched_ctx/dummy_sched_with_ctx \
  235. worker_collections/worker_tree_example \
  236. reductions/dot_product \
  237. reductions/minmax_reduction \
  238. dependency/task_end_dep \
  239. dependency/task_end_dep_add \
  240. dependency/sequential_consistency
  241. endif
  242. if !STARPU_SIMGRID
  243. STARPU_EXAMPLES += \
  244. scheduler/dummy_sched
  245. if STARPU_HAVE_CXX11
  246. STARPU_EXAMPLES += \
  247. cpp/add_vectors_cpp11
  248. endif
  249. if STARPU_HAVE_F77
  250. if STARPU_HAVE_F77_H
  251. STARPU_EXAMPLES += \
  252. fortran/hello
  253. endif
  254. STARPU_EXAMPLES += \
  255. basic_examples/vector_scal_fortran
  256. endif
  257. if STARPU_HAVE_FC
  258. if !STARPU_SANITIZE
  259. STARPU_EXAMPLES += \
  260. fortran90/f90_example \
  261. native_fortran/nf_vector \
  262. native_fortran/nf_matrix \
  263. native_fortran/nf_example \
  264. native_fortran/nf_dynbuf \
  265. native_fortran/nf_varbuf \
  266. native_fortran/nf_sched_ctx \
  267. native_fortran/nf_partition
  268. endif
  269. endif
  270. endif
  271. if !NO_BLAS_LIB
  272. STARPU_EXAMPLES += \
  273. mult/sgemm \
  274. mult/dgemm \
  275. cholesky/cholesky_tag \
  276. cholesky/cholesky_tile_tag \
  277. cholesky/cholesky_implicit \
  278. cholesky/cholesky_compil
  279. if !STARPU_SIMGRID
  280. STARPU_EXAMPLES += \
  281. axpy/axpy \
  282. cholesky/cholesky_grain_tag \
  283. lu/lu_example_float \
  284. lu/lu_example_double \
  285. lu/lu_implicit_example_float \
  286. lu/lu_implicit_example_double \
  287. heat/heat \
  288. cg/cg \
  289. pipeline/pipeline
  290. if !STARPU_USE_MPI_MASTER_SLAVE
  291. TESTS += \
  292. heat/heat.sh \
  293. lu/lu.sh
  294. endif
  295. endif
  296. if STARPU_SIMGRID
  297. if !STARPU_QUICK_CHECK
  298. TESTS += \
  299. cholesky/cholesky.sh
  300. endif
  301. endif
  302. endif
  303. if !STARPU_SIMGRID
  304. if MKL_BLAS_LIB
  305. STARPU_EXAMPLES += \
  306. lu/lu_example_complex_float \
  307. lu/lu_example_complex_double \
  308. lu/lu_implicit_example_complex_float \
  309. lu/lu_implicit_example_complex_double
  310. endif
  311. if ATLAS_BLAS_LIB
  312. STARPU_EXAMPLES += \
  313. spmv/dw_block_spmv
  314. endif
  315. if !STARPU_SIMGRID
  316. if STARPU_HAVE_F77
  317. if STARPU_HAVE_F77_H
  318. STARPU_EXAMPLES += \
  319. fortran/hello
  320. endif
  321. STARPU_EXAMPLES += \
  322. basic_examples/vector_scal_fortran
  323. endif
  324. endif
  325. if STARPU_HAVE_OPENMP
  326. STARPU_EXAMPLES += \
  327. openmp/vector_scal_omp \
  328. sched_ctx/sched_ctx_without_sched_policy\
  329. sched_ctx/nested_sched_ctxs \
  330. sched_ctx/sched_ctx_without_sched_policy_awake\
  331. sched_ctx/parallel_tasks_reuse_handle \
  332. sched_ctx/parallel_code
  333. if STARPU_HAVE_HWLOC
  334. if STARPU_HWLOC_HAVE_TOPOLOGY_DUP
  335. STARPU_EXAMPLES += \
  336. sched_ctx/parallel_tasks_with_cluster_api
  337. endif
  338. endif
  339. endif
  340. endif !STARPU_SIMGRID
  341. if STARPU_USE_CUDA
  342. STARPU_EXAMPLES += \
  343. sched_ctx/gpu_partition
  344. sched_ctx_gpu_partition_SOURCES = \
  345. sched_ctx/gpu_partition.c \
  346. sched_ctx/axpy_partition_gpu.cu
  347. endif
  348. ##################
  349. # Basic examples #
  350. ##################
  351. basic_examples_vector_scal_SOURCES = \
  352. basic_examples/vector_scal.c \
  353. basic_examples/vector_scal_cpu.c
  354. if STARPU_HAVE_ICC
  355. if STARPU_CROSS_COMPILING
  356. 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 $@
  357. else
  358. basic_examples_vector_scal_SOURCES += \
  359. basic_examples/vector_scal_cpu_icc.icc
  360. 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 $@
  361. endif
  362. else
  363. 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 $@
  364. endif
  365. if STARPU_USE_CUDA
  366. basic_examples_vector_scal_SOURCES += \
  367. basic_examples/vector_scal_cuda.cu
  368. endif
  369. if STARPU_USE_OPENCL
  370. basic_examples_vector_scal_SOURCES += \
  371. basic_examples/vector_scal_opencl.c
  372. nobase_STARPU_OPENCL_DATA_DATA += \
  373. basic_examples/vector_scal_opencl_kernel.cl
  374. endif
  375. if STARPU_HAVE_F77
  376. basic_examples_vector_scal_fortran_SOURCES = \
  377. basic_examples/vector_scal_fortran.F \
  378. basic_examples/vector_scal_c.c \
  379. basic_examples/vector_scal_cpu.c
  380. if STARPU_USE_CUDA
  381. basic_examples_vector_scal_fortran_SOURCES += \
  382. basic_examples/vector_scal_cuda.cu
  383. basic_examples_vector_scal_fortran_LDADD = \
  384. $(STARPU_CUDA_FORTRAN_LDFLAGS)
  385. endif
  386. if STARPU_HAVE_F77_H
  387. fortran_hello_SOURCES = \
  388. fortran/hello_c.c \
  389. fortran/hello.F \
  390. fortran/StarPU_fortran.h
  391. endif
  392. endif
  393. if STARPU_HAVE_FC
  394. fortran90_f90_example_SOURCES = \
  395. fortran90/mod_types.f90 \
  396. $(top_srcdir)/include/starpu_mod.f90 \
  397. fortran90/mod_interface.f90 \
  398. fortran90/mod_compute.f90 \
  399. fortran90/marshalling.c \
  400. fortran90/f90_example.f90
  401. native_fortran_nf_vector_SOURCES = \
  402. native_fortran/nf_codelets.f90 \
  403. $(top_srcdir)/include/fstarpu_mod.f90 \
  404. native_fortran/nf_vector.f90
  405. native_fortran_nf_matrix_SOURCES = \
  406. native_fortran/nf_codelets.f90 \
  407. $(top_srcdir)/include/fstarpu_mod.f90 \
  408. native_fortran/nf_matrix.f90
  409. native_fortran_nf_example_SOURCES = \
  410. native_fortran/nf_types.f90 \
  411. native_fortran/nf_compute.f90 \
  412. $(top_srcdir)/include/fstarpu_mod.f90 \
  413. native_fortran/nf_example.f90
  414. native_fortran_nf_dynbuf_SOURCES = \
  415. native_fortran/nf_dynbuf_cl.f90 \
  416. $(top_srcdir)/include/fstarpu_mod.f90 \
  417. native_fortran/nf_dynbuf.f90
  418. native_fortran_nf_varbuf_SOURCES = \
  419. native_fortran/nf_varbuf_cl.f90 \
  420. $(top_srcdir)/include/fstarpu_mod.f90 \
  421. native_fortran/nf_varbuf.f90
  422. native_fortran_nf_sched_ctx_SOURCES = \
  423. native_fortran/nf_sched_ctx_cl.f90 \
  424. $(top_srcdir)/include/fstarpu_mod.f90 \
  425. native_fortran/nf_sched_ctx.f90
  426. native_fortran_nf_partition_SOURCES = \
  427. native_fortran/nf_partition_cl.f90 \
  428. $(top_srcdir)/include/fstarpu_mod.f90 \
  429. native_fortran/nf_partition.f90
  430. endif
  431. #######################
  432. # Multiformat example #
  433. #######################
  434. basic_examples_multiformat_SOURCES = \
  435. basic_examples/multiformat.c \
  436. basic_examples/multiformat_conversion_codelets.c
  437. if STARPU_USE_CUDA
  438. basic_examples_multiformat_SOURCES += \
  439. basic_examples/multiformat_cuda.cu \
  440. basic_examples/multiformat_conversion_codelets_cuda.cu
  441. endif
  442. if STARPU_USE_OPENCL
  443. basic_examples_multiformat_SOURCES += \
  444. basic_examples/multiformat_opencl.c \
  445. basic_examples/multiformat_conversion_codelets_opencl.c
  446. nobase_STARPU_OPENCL_DATA_DATA += \
  447. basic_examples/multiformat_opencl_kernel.cl \
  448. basic_examples/multiformat_conversion_codelets_opencl_kernel.cl
  449. endif
  450. #################
  451. # block example #
  452. #################
  453. basic_examples_block_SOURCES = \
  454. basic_examples/block.c \
  455. basic_examples/block_cpu.c
  456. if STARPU_USE_CUDA
  457. basic_examples_block_SOURCES += \
  458. basic_examples/block_cuda.cu
  459. endif
  460. if STARPU_USE_OPENCL
  461. basic_examples_block_SOURCES += \
  462. basic_examples/block_opencl.c
  463. nobase_STARPU_OPENCL_DATA_DATA += \
  464. basic_examples/block_opencl_kernel.cl
  465. endif
  466. ####################
  467. # Variable example #
  468. ####################
  469. basic_examples_variable_SOURCES = \
  470. basic_examples/variable.c \
  471. basic_examples/variable_kernels_cpu.c
  472. if STARPU_USE_CUDA
  473. basic_examples_variable_SOURCES += \
  474. basic_examples/variable_kernels.cu
  475. endif
  476. if STARPU_USE_OPENCL
  477. basic_examples_variable_SOURCES += \
  478. basic_examples/variable_kernels_opencl.c
  479. nobase_STARPU_OPENCL_DATA_DATA += \
  480. basic_examples/variable_kernels_opencl_kernel.cl
  481. endif
  482. ###########
  483. # Filters #
  484. ###########
  485. filters_fblock_SOURCES = \
  486. filters/fblock.c \
  487. filters/fblock_cpu.c
  488. if STARPU_USE_CUDA
  489. filters_fblock_SOURCES += \
  490. filters/fblock_cuda.cu
  491. endif
  492. if STARPU_USE_OPENCL
  493. filters_fblock_SOURCES += \
  494. filters/fblock_opencl.c
  495. nobase_STARPU_OPENCL_DATA_DATA += \
  496. filters/fblock_opencl_kernel.cl
  497. endif
  498. filters_fmultiple_manual_SOURCES = \
  499. filters/fmultiple_manual.c
  500. if STARPU_USE_CUDA
  501. filters_fmultiple_manual_SOURCES += \
  502. filters/fmultiple_cuda.cu
  503. endif
  504. filters_fmultiple_submit_SOURCES = \
  505. filters/fmultiple_submit.c
  506. if STARPU_USE_CUDA
  507. filters_fmultiple_submit_SOURCES += \
  508. filters/fmultiple_cuda.cu
  509. endif
  510. filters_fmultiple_submit_readonly_SOURCES = \
  511. filters/fmultiple_submit_readonly.c
  512. if STARPU_USE_CUDA
  513. filters_fmultiple_submit_readonly_SOURCES += \
  514. filters/fmultiple_cuda.cu
  515. endif
  516. filters_fmultiple_submit_implicit_SOURCES = \
  517. filters/fmultiple_submit_implicit.c
  518. if STARPU_USE_CUDA
  519. filters_fmultiple_submit_implicit_SOURCES += \
  520. filters/fmultiple_cuda.cu
  521. endif
  522. examplebin_PROGRAMS += \
  523. filters/shadow \
  524. filters/shadow2d \
  525. filters/shadow3d
  526. #############################
  527. # Custom multiformat filter #
  528. #############################
  529. #TODO: see why the application is failing
  530. #lt-custom_mf_filter: .../src/datawizard/malloc.c:784: starpu_free_on_node: Assertion `chunk != _starpu_chunk_list_end(chunks[dst_node])' failed.
  531. examplebin_PROGRAMS += \
  532. filters/custom_mf/custom_mf_filter
  533. filters_custom_mf_custom_mf_filter_SOURCES=\
  534. filters/custom_mf/custom_mf_filter.c \
  535. filters/custom_mf/custom_interface.c \
  536. filters/custom_mf/custom_conversion_codelets.c
  537. if STARPU_USE_CUDA
  538. filters_custom_mf_custom_mf_filter_SOURCES += \
  539. filters/custom_mf/conversion.cu \
  540. filters/custom_mf/cuda.cu
  541. endif
  542. if STARPU_USE_OPENCL
  543. filters_custom_mf_custom_mf_filter_SOURCES += \
  544. filters/custom_mf/conversion_opencl.c \
  545. filters/custom_mf/custom_opencl.c
  546. nobase_STARPU_OPENCL_DATA_DATA += \
  547. filters/custom_mf/conversion_opencl.cl \
  548. filters/custom_mf/custom_opencl.cl
  549. endif
  550. ################
  551. # AXPY example #
  552. ################
  553. if !NO_BLAS_LIB
  554. axpy_axpy_SOURCES = \
  555. axpy/axpy.c \
  556. common/blas.c
  557. if STARPU_USE_OPENCL
  558. axpy_axpy_SOURCES += \
  559. axpy/axpy_opencl.c
  560. nobase_STARPU_OPENCL_DATA_DATA += \
  561. axpy/axpy_opencl_kernel.cl
  562. endif
  563. axpy_axpy_LDADD = \
  564. $(STARPU_BLAS_LDFLAGS)
  565. endif
  566. ################
  567. # Mult example #
  568. ################
  569. if !NO_BLAS_LIB
  570. mult_sgemm_SOURCES = \
  571. mult/sgemm.c \
  572. common/blas.c
  573. mult_sgemm_LDADD = \
  574. $(STARPU_BLAS_LDFLAGS)
  575. mult_dgemm_SOURCES = \
  576. mult/dgemm.c \
  577. common/blas.c
  578. mult_dgemm_LDADD = \
  579. $(STARPU_BLAS_LDFLAGS)
  580. endif
  581. ####################
  582. # Cholesky example #
  583. ####################
  584. if !NO_BLAS_LIB
  585. cholesky_cholesky_tag_SOURCES = \
  586. cholesky/cholesky_tag.c \
  587. cholesky/cholesky_models.c \
  588. cholesky/cholesky_kernels.c \
  589. common/blas.c
  590. cholesky_cholesky_tag_LDADD = \
  591. $(STARPU_BLAS_LDFLAGS)
  592. cholesky_cholesky_tile_tag_SOURCES = \
  593. cholesky/cholesky_tile_tag.c \
  594. cholesky/cholesky_models.c \
  595. cholesky/cholesky_kernels.c \
  596. common/blas.c
  597. cholesky_cholesky_tile_tag_LDADD = \
  598. $(STARPU_BLAS_LDFLAGS)
  599. cholesky_cholesky_grain_tag_SOURCES = \
  600. cholesky/cholesky_grain_tag.c \
  601. cholesky/cholesky_models.c \
  602. cholesky/cholesky_kernels.c \
  603. common/blas.c
  604. cholesky_cholesky_grain_tag_LDADD = \
  605. $(STARPU_BLAS_LDFLAGS)
  606. cholesky_cholesky_implicit_SOURCES = \
  607. cholesky/cholesky_implicit.c \
  608. cholesky/cholesky_models.c \
  609. cholesky/cholesky_kernels.c \
  610. sched_ctx_utils/sched_ctx_utils.c \
  611. common/blas.c
  612. cholesky_cholesky_implicit_LDADD = \
  613. $(STARPU_BLAS_LDFLAGS)
  614. cholesky_cholesky_compil_SOURCES = \
  615. cholesky/cholesky_compil.c \
  616. cholesky/cholesky_models.c \
  617. cholesky/cholesky_kernels.c \
  618. sched_ctx_utils/sched_ctx_utils.c \
  619. common/blas.c
  620. cholesky_cholesky_compil_LDADD = \
  621. $(STARPU_BLAS_LDFLAGS)
  622. endif
  623. ##############
  624. # LU example #
  625. ##############
  626. if !NO_BLAS_LIB
  627. lu_lu_example_float_SOURCES = \
  628. lu/lu_example_float.c \
  629. lu/slu.c \
  630. lu/slu_pivot.c \
  631. lu/slu_kernels.c \
  632. common/blas.c
  633. lu_lu_example_float_LDADD = \
  634. $(STARPU_BLAS_LDFLAGS)
  635. lu_lu_example_double_SOURCES = \
  636. lu/lu_example_double.c \
  637. lu/dlu.c \
  638. lu/dlu_pivot.c \
  639. lu/dlu_kernels.c \
  640. common/blas.c
  641. lu_lu_example_double_LDADD = \
  642. $(STARPU_BLAS_LDFLAGS)
  643. lu_lu_implicit_example_float_SOURCES = \
  644. lu/lu_example_float.c \
  645. lu/slu_implicit.c \
  646. lu/slu_implicit_pivot.c \
  647. lu/slu_kernels.c \
  648. common/blas.c
  649. lu_lu_implicit_example_float_LDADD = \
  650. $(STARPU_BLAS_LDFLAGS)
  651. lu_lu_implicit_example_double_SOURCES = \
  652. lu/lu_example_double.c \
  653. lu/dlu_implicit.c \
  654. lu/dlu_implicit_pivot.c \
  655. lu/dlu_kernels.c \
  656. common/blas.c
  657. lu_lu_implicit_example_double_LDADD = \
  658. $(STARPU_BLAS_LDFLAGS)
  659. if MKL_BLAS_LIB
  660. lu_lu_example_complex_float_SOURCES = \
  661. lu/lu_example_complex_float.c \
  662. lu/clu.c \
  663. lu/clu_pivot.c \
  664. lu/clu_kernels.c \
  665. lu/blas_complex.c \
  666. common/blas.c
  667. lu_lu_example_complex_float_LDADD = \
  668. $(STARPU_BLAS_LDFLAGS)
  669. lu_lu_implicit_example_complex_float_SOURCES = \
  670. lu/lu_example_complex_float.c \
  671. lu/clu_implicit.c \
  672. lu/clu_implicit_pivot.c \
  673. lu/clu_kernels.c \
  674. lu/blas_complex.c \
  675. common/blas.c
  676. lu_lu_implicit_example_complex_float_LDADD = \
  677. $(STARPU_BLAS_LDFLAGS)
  678. lu_lu_example_complex_double_SOURCES = \
  679. lu/lu_example_complex_double.c \
  680. lu/zlu.c \
  681. lu/zlu_pivot.c \
  682. lu/zlu_kernels.c \
  683. lu/blas_complex.c \
  684. common/blas.c
  685. lu_lu_example_complex_double_LDADD = \
  686. $(STARPU_BLAS_LDFLAGS)
  687. lu_lu_implicit_example_complex_double_SOURCES = \
  688. lu/lu_example_complex_double.c \
  689. lu/zlu_implicit.c \
  690. lu/zlu_implicit_pivot.c \
  691. lu/zlu_kernels.c \
  692. lu/blas_complex.c \
  693. common/blas.c
  694. lu_lu_implicit_example_complex_double_LDADD = \
  695. $(STARPU_BLAS_LDFLAGS)
  696. endif
  697. endif
  698. ################
  699. # Heat example #
  700. ################
  701. if !NO_BLAS_LIB
  702. heat_heat_SOURCES = \
  703. heat/heat.c \
  704. heat/dw_factolu.c \
  705. heat/dw_factolu_tag.c \
  706. heat/dw_factolu_grain.c \
  707. heat/dw_sparse_cg.c \
  708. heat/heat_display.c \
  709. heat/lu_kernels_model.c \
  710. heat/dw_sparse_cg_kernels.c \
  711. heat/dw_factolu_kernels.c \
  712. common/blas.c
  713. heat_heat_LDADD = \
  714. $(STARPU_OPENGL_RENDER_LDFLAGS) \
  715. $(STARPU_BLAS_LDFLAGS)
  716. endif
  717. ##############
  718. # CG example #
  719. ##############
  720. if !NO_BLAS_LIB
  721. cg_cg_SOURCES = \
  722. cg/cg.c \
  723. cg/cg_kernels.c \
  724. common/blas.c
  725. cg_cg_LDADD = \
  726. $(STARPU_BLAS_LDFLAGS)
  727. endif
  728. ################
  729. # SPMD example #
  730. ################
  731. spmd_vector_scal_spmd_SOURCES = \
  732. spmd/vector_scal_spmd.c
  733. ################
  734. # SpMV example #
  735. ################
  736. spmv_spmv_SOURCES = \
  737. spmv/spmv.c \
  738. spmv/spmv_kernels.c
  739. if STARPU_USE_CUDA
  740. spmv_spmv_SOURCES += \
  741. spmv/spmv_cuda.cu
  742. endif
  743. if ATLAS_BLAS_LIB
  744. spmv_dw_block_spmv_SOURCES = \
  745. spmv/dw_block_spmv.c \
  746. spmv/dw_block_spmv_kernels.c \
  747. spmv/matrix_market/mm_to_bcsr.c \
  748. spmv/matrix_market/mmio.c
  749. spmv_dw_block_spmv_LDADD = \
  750. $(STARPU_BLAS_LDFLAGS)
  751. endif
  752. ###########################
  753. # C++ Incrementer example #
  754. ###########################
  755. cpp_incrementer_cpp_SOURCES = \
  756. cpp/incrementer_cpp.cpp
  757. if STARPU_USE_CUDA
  758. cpp_incrementer_cpp_SOURCES += \
  759. incrementer/incrementer_kernels.cu
  760. endif
  761. if STARPU_USE_OPENCL
  762. cpp_incrementer_cpp_SOURCES += \
  763. incrementer/incrementer_kernels_opencl.c
  764. endif
  765. ###########################
  766. # C++ Add vectors example #
  767. ###########################
  768. cpp_add_vectors_SOURCES = \
  769. cpp/add_vectors.cpp
  770. cpp_add_vectors_interface_SOURCES = \
  771. cpp/add_vectors_interface.cpp
  772. if STARPU_HAVE_CXX11
  773. cpp_add_vectors_cpp11_SOURCES = \
  774. cpp/add_vectors_cpp11.cpp
  775. endif
  776. #######################
  777. # Incrementer example #
  778. #######################
  779. incrementer_incrementer_SOURCES = \
  780. incrementer/incrementer.c
  781. if STARPU_USE_CUDA
  782. incrementer_incrementer_SOURCES += \
  783. incrementer/incrementer_kernels.cu
  784. endif
  785. if STARPU_USE_OPENCL
  786. incrementer_incrementer_SOURCES += \
  787. incrementer/incrementer_kernels_opencl.c
  788. nobase_STARPU_OPENCL_DATA_DATA += \
  789. incrementer/incrementer_kernels_opencl_kernel.cl
  790. endif
  791. ##################
  792. # Binary example #
  793. ##################
  794. binary_binary_SOURCES = \
  795. binary/binary.c
  796. if STARPU_USE_OPENCL
  797. binary_binary_SOURCES += \
  798. incrementer/incrementer_kernels_opencl.c
  799. endif
  800. #####################
  801. # interface example #
  802. #####################
  803. interface_complex_SOURCES = \
  804. interface/complex.c \
  805. interface/complex_interface.c
  806. if STARPU_USE_CUDA
  807. interface_complex_SOURCES += \
  808. interface/complex_kernels.cu
  809. endif
  810. if STARPU_USE_OPENCL
  811. interface_complex_SOURCES +=\
  812. interface/complex_kernels_opencl.c
  813. nobase_STARPU_OPENCL_DATA_DATA += \
  814. interface/complex_kernels.cl
  815. endif
  816. ######################
  817. # matVecMult example #
  818. ######################
  819. if STARPU_USE_OPENCL
  820. nobase_STARPU_OPENCL_DATA_DATA += \
  821. matvecmult/matvecmult_kernel.cl
  822. endif
  823. #######################
  824. # dot_product example #
  825. #######################
  826. reductions_dot_product_SOURCES = \
  827. reductions/dot_product.c
  828. if STARPU_USE_CUDA
  829. reductions_dot_product_SOURCES += \
  830. reductions/dot_product_kernels.cu
  831. endif
  832. if STARPU_USE_OPENCL
  833. nobase_STARPU_OPENCL_DATA_DATA += \
  834. reductions/dot_product_opencl_kernels.cl
  835. endif
  836. ##################
  837. # Mandelbrot Set #
  838. ##################
  839. examplebin_PROGRAMS += \
  840. mandelbrot/mandelbrot
  841. mandelbrot_mandelbrot_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS)
  842. if HAVE_X11
  843. mandelbrot_mandelbrot_CPPFLAGS += $(X_CFLAGS)
  844. mandelbrot_mandelbrot_LDADD = $(X_PRE_LIBS) $(X_LIBS) -lX11 $(X_EXTRA_LIBS)
  845. endif
  846. ####################
  847. # Image downscaler #
  848. ####################
  849. examplebin_PROGRAMS += \
  850. ppm_downscaler/ppm_downscaler \
  851. ppm_downscaler/yuv_downscaler
  852. ################
  853. # Top Examples #
  854. ################
  855. examplebin_PROGRAMS += \
  856. top/hello_world_top
  857. top_hello_world_top_SOURCES = \
  858. top/hello_world_top.c
  859. ######
  860. # Pi #
  861. ######
  862. if !STARPU_HAVE_WINDOWS
  863. examplebin_PROGRAMS += \
  864. pi/pi \
  865. pi/pi_redux
  866. pi_pi_SOURCES = \
  867. pi/pi.c \
  868. pi/SobolQRNG/sobol_gold.c \
  869. pi/SobolQRNG/sobol_primitives.c
  870. if STARPU_USE_CUDA
  871. pi_pi_SOURCES += \
  872. pi/pi_kernel.cu \
  873. pi/SobolQRNG/sobol_gpu.cu
  874. endif
  875. pi_pi_redux_SOURCES = \
  876. pi/pi_redux.c
  877. if STARPU_USE_CUDA
  878. pi_pi_redux_SOURCES += \
  879. pi/pi_redux_kernel.cu
  880. pi_pi_redux_LDADD = \
  881. $(STARPU_CURAND_LDFLAGS)
  882. endif
  883. endif
  884. ###########################
  885. # OpenGL interoperability #
  886. ###########################
  887. if HAVE_OPENGL
  888. examplebin_PROGRAMS += \
  889. gl_interop/gl_interop \
  890. gl_interop/gl_interop_idle
  891. gl_interop_gl_interop_SOURCES = \
  892. gl_interop/gl_interop.c
  893. gl_interop_gl_interop_LDADD = \
  894. $(STARPU_OPENGL_RENDER_LDFLAGS)
  895. gl_interop_gl_interop_idle_SOURCES = \
  896. gl_interop/gl_interop_idle.c
  897. gl_interop_gl_interop_idle_LDADD = \
  898. $(STARPU_OPENGL_RENDER_LDFLAGS)
  899. endif
  900. ####################
  901. # pipeline example #
  902. ####################
  903. if !NO_BLAS_LIB
  904. pipeline_pipeline_SOURCES = \
  905. pipeline/pipeline.c \
  906. common/blas.c
  907. pipeline_pipeline_LDADD = \
  908. $(STARPU_BLAS_LDFLAGS)
  909. endif
  910. ##################
  911. # openmp example #
  912. ##################
  913. if STARPU_HAVE_OPENMP
  914. openmp_vector_scal_omp_CFLAGS = \
  915. $(AM_CFLAGS) -fopenmp
  916. sched_ctx_parallel_code_CFLAGS = \
  917. $(AM_CFLAGS) -fopenmp
  918. sched_ctx_sched_ctx_without_sched_policy_CFLAGS = \
  919. $(AM_CFLAGS) -fopenmp
  920. sched_ctx_nested_sched_ctxs_CFLAGS = \
  921. $(AM_CFLAGS) -fopenmp
  922. sched_ctx_parallel_tasks_reuse_handle_CFLAGS = \
  923. $(AM_CFLAGS) -fopenmp
  924. endif
  925. if STARPU_HAVE_FC
  926. # Fortran90 example
  927. # - list explicit dependences to control proper module files generation
  928. # - the overriding rule fully disables the corresponing default rule, thus
  929. # the default rule body must be copied entirely
  930. mod_types.mod: mod_types.o
  931. mod_compute.mod: mod_compute.o
  932. mod_interface.mod: mod_interface.o
  933. starpu_mod.mod: starpu_mod.o
  934. starpu_mod.o: $(top_srcdir)/include/starpu_mod.f90
  935. $(AM_V_FC)$(FC) $(fortran90_f90_example_FCFLAGS) $(FCFLAGS) -c -o $@ '$(top_srcdir)/'include/starpu_mod.f90
  936. mod_compute.o: $(top_srcdir)/examples/fortran90/mod_compute.f90 mod_types.mod mod_interface.mod starpu_mod.mod
  937. $(AM_V_FC)$(FC) $(fortran90_f90_example_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'fortran90/mod_compute.f90' || echo '$(srcdir)/'`fortran90/mod_compute.f90
  938. 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
  939. $(AM_V_FC)$(FC) $(fortran90_f90_example_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'fortran90/f90_example.f90' || echo '$(srcdir)/'`fortran90/f90_example.f90
  940. # Native Fortran example
  941. # - list explicit dependences to control proper module files generation
  942. # - the overriding rule fully disables the corresponing default rule, thus
  943. # the default rule body must be copied entirely
  944. nf_types.mod: nf_types.o
  945. nf_compute.mod: nf_compute.o
  946. fstarpu_mod.mod: fstarpu_mod.o
  947. nf_codelets.mod: nf_codelets.o
  948. nf_dynbuf_cl.mod: nf_dynbuf_cl.o
  949. nf_varbuf_cl.mod: nf_varbuf_cl.o
  950. nf_sched_ctx_cl.mod: nf_sched_ctx_cl.o
  951. nf_partition_cl.mod: nf_partition_cl.o
  952. fstarpu_mod.o: $(top_srcdir)/include/fstarpu_mod.f90
  953. $(AM_V_FC)$(FC) $(native_fortran_nf_vector_FCFLAGS) $(FCFLAGS) -c -o $@ '$(top_srcdir)/'include/fstarpu_mod.f90
  954. nf_codelets.o: $(top_srcdir)/examples/native_fortran/nf_codelets.f90 fstarpu_mod.mod
  955. $(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
  956. nf_vector.o: $(top_srcdir)/examples/native_fortran/nf_vector.f90 nf_codelets.mod fstarpu_mod.mod
  957. $(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
  958. nf_matrix.o: $(top_srcdir)/examples/native_fortran/nf_matrix.f90 nf_codelets.mod fstarpu_mod.mod
  959. $(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
  960. nf_compute.o: $(top_srcdir)/examples/native_fortran/nf_compute.f90 nf_types.mod fstarpu_mod.mod
  961. $(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
  962. nf_example.o: $(top_srcdir)/examples/native_fortran/nf_example.f90 nf_types.mod nf_compute.mod fstarpu_mod.mod
  963. $(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
  964. nf_dynbuf_cl.o: $(top_srcdir)/examples/native_fortran/nf_dynbuf_cl.f90 nf_types.mod fstarpu_mod.mod
  965. $(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
  966. nf_dynbuf.o: $(top_srcdir)/examples/native_fortran/nf_dynbuf.f90 nf_types.mod nf_dynbuf_cl.mod fstarpu_mod.mod
  967. $(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
  968. nf_varbuf_cl.o: $(top_srcdir)/examples/native_fortran/nf_varbuf_cl.f90 nf_types.mod fstarpu_mod.mod
  969. $(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
  970. nf_varbuf.o: $(top_srcdir)/examples/native_fortran/nf_varbuf.f90 nf_types.mod nf_varbuf_cl.mod fstarpu_mod.mod
  971. $(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
  972. nf_sched_ctx_cl.o: $(top_srcdir)/examples/native_fortran/nf_sched_ctx_cl.f90 nf_types.mod fstarpu_mod.mod
  973. $(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
  974. nf_sched_ctx.o: $(top_srcdir)/examples/native_fortran/nf_sched_ctx.f90 nf_types.mod nf_sched_ctx_cl.mod fstarpu_mod.mod
  975. $(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
  976. nf_partition_cl.o: $(top_srcdir)/examples/native_fortran/nf_partition_cl.f90 nf_types.mod fstarpu_mod.mod
  977. $(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
  978. nf_partition.o: $(top_srcdir)/examples/native_fortran/nf_partition.f90 nf_types.mod nf_partition_cl.mod fstarpu_mod.mod
  979. $(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
  980. endif