Makefile.am 30 KB

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