Makefile.am 31 KB

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