Makefile.am 31 KB

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