Makefile.am 31 KB

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