Makefile.am 31 KB

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