Makefile.am 30 KB

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