Makefile.am 31 KB

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