Makefile.am 30 KB

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