Makefile.am 31 KB

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