Makefile.am 31 KB

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