Makefile.am 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176
  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. if STARPU_SIMGRID
  281. TESTS += \
  282. cholesky/cholesky.sh
  283. endif
  284. endif
  285. if !STARPU_SIMGRID
  286. if MKL_BLAS_LIB
  287. STARPU_EXAMPLES += \
  288. lu/lu_example_complex_float \
  289. lu/lu_example_complex_double \
  290. lu/lu_implicit_example_complex_float \
  291. lu/lu_implicit_example_complex_double
  292. endif
  293. if ATLAS_BLAS_LIB
  294. STARPU_EXAMPLES += \
  295. spmv/dw_block_spmv
  296. endif
  297. if !STARPU_SIMGRID
  298. if STARPU_HAVE_F77
  299. if STARPU_HAVE_F77_H
  300. STARPU_EXAMPLES += \
  301. fortran/hello
  302. endif
  303. STARPU_EXAMPLES += \
  304. basic_examples/vector_scal_fortran
  305. endif
  306. endif
  307. if STARPU_HAVE_OPENMP
  308. STARPU_EXAMPLES += \
  309. openmp/vector_scal_omp \
  310. sched_ctx/sched_ctx_without_sched_policy\
  311. sched_ctx/nested_sched_ctxs \
  312. sched_ctx/sched_ctx_without_sched_policy_awake\
  313. sched_ctx/parallel_tasks_reuse_handle \
  314. sched_ctx/parallel_code
  315. if STARPU_HAVE_HWLOC
  316. if STARPU_HWLOC_HAVE_TOPOLOGY_DUP
  317. STARPU_EXAMPLES += \
  318. sched_ctx/parallel_tasks_with_cluster_api
  319. endif
  320. endif
  321. endif
  322. endif !STARPU_SIMGRID
  323. if STARPU_USE_CUDA
  324. STARPU_EXAMPLES += \
  325. sched_ctx/gpu_partition
  326. sched_ctx_gpu_partition_SOURCES = \
  327. sched_ctx/gpu_partition.c \
  328. sched_ctx/axpy_partition_gpu.cu
  329. endif
  330. ##################
  331. # Basic examples #
  332. ##################
  333. basic_examples_vector_scal_SOURCES = \
  334. basic_examples/vector_scal.c \
  335. basic_examples/vector_scal_cpu.c
  336. if STARPU_HAVE_ICC
  337. if STARPU_CROSS_COMPILING
  338. 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 $@
  339. else
  340. basic_examples_vector_scal_SOURCES += \
  341. basic_examples/vector_scal_cpu_icc.icc
  342. 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 $@
  343. endif
  344. else
  345. 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 $@
  346. endif
  347. if STARPU_USE_CUDA
  348. basic_examples_vector_scal_SOURCES += \
  349. basic_examples/vector_scal_cuda.cu
  350. endif
  351. if STARPU_USE_OPENCL
  352. basic_examples_vector_scal_SOURCES += \
  353. basic_examples/vector_scal_opencl.c
  354. nobase_STARPU_OPENCL_DATA_DATA += \
  355. basic_examples/vector_scal_opencl_kernel.cl
  356. endif
  357. if STARPU_HAVE_F77
  358. basic_examples_vector_scal_fortran_SOURCES = \
  359. basic_examples/vector_scal_fortran.F \
  360. basic_examples/vector_scal_c.c \
  361. basic_examples/vector_scal_cpu.c
  362. if STARPU_USE_CUDA
  363. basic_examples_vector_scal_fortran_SOURCES += \
  364. basic_examples/vector_scal_cuda.cu
  365. basic_examples_vector_scal_fortran_LDADD = \
  366. $(STARPU_CUDA_FORTRAN_LDFLAGS)
  367. endif
  368. if STARPU_HAVE_F77_H
  369. fortran_hello_SOURCES = \
  370. fortran/hello_c.c \
  371. fortran/hello.F \
  372. fortran/StarPU_fortran.h
  373. endif
  374. endif
  375. if STARPU_HAVE_FC
  376. fortran90_f90_example_SOURCES = \
  377. fortran90/mod_types.f90 \
  378. $(top_srcdir)/include/starpu_mod.f90 \
  379. fortran90/mod_interface.f90 \
  380. fortran90/mod_compute.f90 \
  381. fortran90/marshalling.c \
  382. fortran90/f90_example.f90
  383. native_fortran_nf_vector_SOURCES = \
  384. native_fortran/nf_codelets.f90 \
  385. $(top_srcdir)/include/fstarpu_mod.f90 \
  386. native_fortran/nf_vector.f90
  387. native_fortran_nf_matrix_SOURCES = \
  388. native_fortran/nf_codelets.f90 \
  389. $(top_srcdir)/include/fstarpu_mod.f90 \
  390. native_fortran/nf_matrix.f90
  391. native_fortran_nf_example_SOURCES = \
  392. native_fortran/nf_types.f90 \
  393. native_fortran/nf_compute.f90 \
  394. $(top_srcdir)/include/fstarpu_mod.f90 \
  395. native_fortran/nf_example.f90
  396. native_fortran_nf_dynbuf_SOURCES = \
  397. native_fortran/nf_dynbuf_cl.f90 \
  398. $(top_srcdir)/include/fstarpu_mod.f90 \
  399. native_fortran/nf_dynbuf.f90
  400. native_fortran_nf_varbuf_SOURCES = \
  401. native_fortran/nf_varbuf_cl.f90 \
  402. $(top_srcdir)/include/fstarpu_mod.f90 \
  403. native_fortran/nf_varbuf.f90
  404. native_fortran_nf_sched_ctx_SOURCES = \
  405. native_fortran/nf_sched_ctx_cl.f90 \
  406. $(top_srcdir)/include/fstarpu_mod.f90 \
  407. native_fortran/nf_sched_ctx.f90
  408. native_fortran_nf_partition_SOURCES = \
  409. native_fortran/nf_partition_cl.f90 \
  410. $(top_srcdir)/include/fstarpu_mod.f90 \
  411. native_fortran/nf_partition.f90
  412. endif
  413. #######################
  414. # Multiformat example #
  415. #######################
  416. basic_examples_multiformat_SOURCES = \
  417. basic_examples/multiformat.c \
  418. basic_examples/multiformat_conversion_codelets.c
  419. if STARPU_USE_CUDA
  420. basic_examples_multiformat_SOURCES += \
  421. basic_examples/multiformat_cuda.cu \
  422. basic_examples/multiformat_conversion_codelets_cuda.cu
  423. endif
  424. if STARPU_USE_OPENCL
  425. basic_examples_multiformat_SOURCES += \
  426. basic_examples/multiformat_opencl.c \
  427. basic_examples/multiformat_conversion_codelets_opencl.c
  428. nobase_STARPU_OPENCL_DATA_DATA += \
  429. basic_examples/multiformat_opencl_kernel.cl \
  430. basic_examples/multiformat_conversion_codelets_opencl_kernel.cl
  431. endif
  432. #################
  433. # block example #
  434. #################
  435. basic_examples_block_SOURCES = \
  436. basic_examples/block.c \
  437. basic_examples/block_cpu.c
  438. if STARPU_USE_CUDA
  439. basic_examples_block_SOURCES += \
  440. basic_examples/block_cuda.cu
  441. endif
  442. if STARPU_USE_OPENCL
  443. basic_examples_block_SOURCES += \
  444. basic_examples/block_opencl.c
  445. nobase_STARPU_OPENCL_DATA_DATA += \
  446. basic_examples/block_opencl_kernel.cl
  447. endif
  448. ####################
  449. # Variable example #
  450. ####################
  451. basic_examples_variable_SOURCES = \
  452. basic_examples/variable.c \
  453. basic_examples/variable_kernels_cpu.c
  454. if STARPU_USE_CUDA
  455. basic_examples_variable_SOURCES += \
  456. basic_examples/variable_kernels.cu
  457. endif
  458. if STARPU_USE_OPENCL
  459. basic_examples_variable_SOURCES += \
  460. basic_examples/variable_kernels_opencl.c
  461. nobase_STARPU_OPENCL_DATA_DATA += \
  462. basic_examples/variable_kernels_opencl_kernel.cl
  463. endif
  464. ###########
  465. # Filters #
  466. ###########
  467. filters_fblock_SOURCES = \
  468. filters/fblock.c \
  469. filters/fblock_cpu.c
  470. if STARPU_USE_CUDA
  471. filters_fblock_SOURCES += \
  472. filters/fblock_cuda.cu
  473. endif
  474. if STARPU_USE_OPENCL
  475. filters_fblock_SOURCES += \
  476. filters/fblock_opencl.c
  477. nobase_STARPU_OPENCL_DATA_DATA += \
  478. filters/fblock_opencl_kernel.cl
  479. endif
  480. filters_fmultiple_manual_SOURCES = \
  481. filters/fmultiple_manual.c
  482. if STARPU_USE_CUDA
  483. filters_fmultiple_manual_SOURCES += \
  484. filters/fmultiple_cuda.cu
  485. endif
  486. filters_fmultiple_submit_SOURCES = \
  487. filters/fmultiple_submit.c
  488. if STARPU_USE_CUDA
  489. filters_fmultiple_submit_SOURCES += \
  490. filters/fmultiple_cuda.cu
  491. endif
  492. filters_fmultiple_submit_readonly_SOURCES = \
  493. filters/fmultiple_submit_readonly.c
  494. if STARPU_USE_CUDA
  495. filters_fmultiple_submit_readonly_SOURCES += \
  496. filters/fmultiple_cuda.cu
  497. endif
  498. filters_fmultiple_submit_implicit_SOURCES = \
  499. filters/fmultiple_submit_implicit.c
  500. if STARPU_USE_CUDA
  501. filters_fmultiple_submit_implicit_SOURCES += \
  502. filters/fmultiple_cuda.cu
  503. endif
  504. examplebin_PROGRAMS += \
  505. filters/shadow \
  506. filters/shadow2d \
  507. filters/shadow3d
  508. #############################
  509. # Custom multiformat filter #
  510. #############################
  511. #TODO: see why the application is failing
  512. #lt-custom_mf_filter: .../src/datawizard/malloc.c:784: starpu_free_on_node: Assertion `chunk != _starpu_chunk_list_end(chunks[dst_node])' failed.
  513. examplebin_PROGRAMS += \
  514. filters/custom_mf/custom_mf_filter
  515. filters_custom_mf_custom_mf_filter_SOURCES=\
  516. filters/custom_mf/custom_mf_filter.c \
  517. filters/custom_mf/custom_interface.c \
  518. filters/custom_mf/custom_conversion_codelets.c
  519. if STARPU_USE_CUDA
  520. filters_custom_mf_custom_mf_filter_SOURCES += \
  521. filters/custom_mf/conversion.cu \
  522. filters/custom_mf/cuda.cu
  523. endif
  524. if STARPU_USE_OPENCL
  525. filters_custom_mf_custom_mf_filter_SOURCES += \
  526. filters/custom_mf/conversion_opencl.c \
  527. filters/custom_mf/custom_opencl.c
  528. nobase_STARPU_OPENCL_DATA_DATA += \
  529. filters/custom_mf/conversion_opencl.cl \
  530. filters/custom_mf/custom_opencl.cl
  531. endif
  532. ################
  533. # AXPY example #
  534. ################
  535. if !NO_BLAS_LIB
  536. axpy_axpy_SOURCES = \
  537. axpy/axpy.c \
  538. common/blas.c
  539. if STARPU_USE_OPENCL
  540. axpy_axpy_SOURCES += \
  541. axpy/axpy_opencl.c
  542. nobase_STARPU_OPENCL_DATA_DATA += \
  543. axpy/axpy_opencl_kernel.cl
  544. endif
  545. axpy_axpy_LDADD = \
  546. $(STARPU_BLAS_LDFLAGS)
  547. endif
  548. ################
  549. # Mult example #
  550. ################
  551. if !NO_BLAS_LIB
  552. mult_sgemm_SOURCES = \
  553. mult/sgemm.c \
  554. common/blas.c
  555. mult_sgemm_LDADD = \
  556. $(STARPU_BLAS_LDFLAGS)
  557. mult_dgemm_SOURCES = \
  558. mult/dgemm.c \
  559. common/blas.c
  560. mult_dgemm_LDADD = \
  561. $(STARPU_BLAS_LDFLAGS)
  562. endif
  563. ####################
  564. # Cholesky example #
  565. ####################
  566. if !NO_BLAS_LIB
  567. cholesky_cholesky_tag_SOURCES = \
  568. cholesky/cholesky_tag.c \
  569. cholesky/cholesky_models.c \
  570. cholesky/cholesky_kernels.c \
  571. common/blas.c
  572. cholesky_cholesky_tag_LDADD = \
  573. $(STARPU_BLAS_LDFLAGS)
  574. cholesky_cholesky_tile_tag_SOURCES = \
  575. cholesky/cholesky_tile_tag.c \
  576. cholesky/cholesky_models.c \
  577. cholesky/cholesky_kernels.c \
  578. common/blas.c
  579. cholesky_cholesky_tile_tag_LDADD = \
  580. $(STARPU_BLAS_LDFLAGS)
  581. cholesky_cholesky_grain_tag_SOURCES = \
  582. cholesky/cholesky_grain_tag.c \
  583. cholesky/cholesky_models.c \
  584. cholesky/cholesky_kernels.c \
  585. common/blas.c
  586. cholesky_cholesky_grain_tag_LDADD = \
  587. $(STARPU_BLAS_LDFLAGS)
  588. cholesky_cholesky_implicit_SOURCES = \
  589. cholesky/cholesky_implicit.c \
  590. cholesky/cholesky_models.c \
  591. cholesky/cholesky_kernels.c \
  592. sched_ctx_utils/sched_ctx_utils.c \
  593. common/blas.c
  594. cholesky_cholesky_implicit_LDADD = \
  595. $(STARPU_BLAS_LDFLAGS)
  596. endif
  597. ##############
  598. # LU example #
  599. ##############
  600. if !NO_BLAS_LIB
  601. lu_lu_example_float_SOURCES = \
  602. lu/lu_example_float.c \
  603. lu/slu.c \
  604. lu/slu_pivot.c \
  605. lu/slu_kernels.c \
  606. common/blas.c
  607. lu_lu_example_float_LDADD = \
  608. $(STARPU_BLAS_LDFLAGS)
  609. lu_lu_example_double_SOURCES = \
  610. lu/lu_example_double.c \
  611. lu/dlu.c \
  612. lu/dlu_pivot.c \
  613. lu/dlu_kernels.c \
  614. common/blas.c
  615. lu_lu_example_double_LDADD = \
  616. $(STARPU_BLAS_LDFLAGS)
  617. lu_lu_implicit_example_float_SOURCES = \
  618. lu/lu_example_float.c \
  619. lu/slu_implicit.c \
  620. lu/slu_implicit_pivot.c \
  621. lu/slu_kernels.c \
  622. common/blas.c
  623. lu_lu_implicit_example_float_LDADD = \
  624. $(STARPU_BLAS_LDFLAGS)
  625. lu_lu_implicit_example_double_SOURCES = \
  626. lu/lu_example_double.c \
  627. lu/dlu_implicit.c \
  628. lu/dlu_implicit_pivot.c \
  629. lu/dlu_kernels.c \
  630. common/blas.c
  631. lu_lu_implicit_example_double_LDADD = \
  632. $(STARPU_BLAS_LDFLAGS)
  633. if MKL_BLAS_LIB
  634. lu_lu_example_complex_float_SOURCES = \
  635. lu/lu_example_complex_float.c \
  636. lu/clu.c \
  637. lu/clu_pivot.c \
  638. lu/clu_kernels.c \
  639. lu/blas_complex.c \
  640. common/blas.c
  641. lu_lu_example_complex_float_LDADD = \
  642. $(STARPU_BLAS_LDFLAGS)
  643. lu_lu_implicit_example_complex_float_SOURCES = \
  644. lu/lu_example_complex_float.c \
  645. lu/clu_implicit.c \
  646. lu/clu_implicit_pivot.c \
  647. lu/clu_kernels.c \
  648. lu/blas_complex.c \
  649. common/blas.c
  650. lu_lu_implicit_example_complex_float_LDADD = \
  651. $(STARPU_BLAS_LDFLAGS)
  652. lu_lu_example_complex_double_SOURCES = \
  653. lu/lu_example_complex_double.c \
  654. lu/zlu.c \
  655. lu/zlu_pivot.c \
  656. lu/zlu_kernels.c \
  657. lu/blas_complex.c \
  658. common/blas.c
  659. lu_lu_example_complex_double_LDADD = \
  660. $(STARPU_BLAS_LDFLAGS)
  661. lu_lu_implicit_example_complex_double_SOURCES = \
  662. lu/lu_example_complex_double.c \
  663. lu/zlu_implicit.c \
  664. lu/zlu_implicit_pivot.c \
  665. lu/zlu_kernels.c \
  666. lu/blas_complex.c \
  667. common/blas.c
  668. lu_lu_implicit_example_complex_double_LDADD = \
  669. $(STARPU_BLAS_LDFLAGS)
  670. endif
  671. endif
  672. ################
  673. # Heat example #
  674. ################
  675. if !NO_BLAS_LIB
  676. heat_heat_SOURCES = \
  677. heat/heat.c \
  678. heat/dw_factolu.c \
  679. heat/dw_factolu_tag.c \
  680. heat/dw_factolu_grain.c \
  681. heat/dw_sparse_cg.c \
  682. heat/heat_display.c \
  683. heat/lu_kernels_model.c \
  684. heat/dw_sparse_cg_kernels.c \
  685. heat/dw_factolu_kernels.c \
  686. common/blas.c
  687. heat_heat_LDADD = \
  688. $(STARPU_OPENGL_RENDER_LDFLAGS) \
  689. $(STARPU_BLAS_LDFLAGS)
  690. endif
  691. ##############
  692. # CG example #
  693. ##############
  694. if !NO_BLAS_LIB
  695. cg_cg_SOURCES = \
  696. cg/cg.c \
  697. cg/cg_kernels.c \
  698. common/blas.c
  699. cg_cg_LDADD = \
  700. $(STARPU_BLAS_LDFLAGS)
  701. endif
  702. ################
  703. # SPMD example #
  704. ################
  705. spmd_vector_scal_spmd_SOURCES = \
  706. spmd/vector_scal_spmd.c
  707. ################
  708. # SpMV example #
  709. ################
  710. spmv_spmv_SOURCES = \
  711. spmv/spmv.c \
  712. spmv/spmv_kernels.c
  713. if STARPU_USE_CUDA
  714. spmv_spmv_SOURCES += \
  715. spmv/spmv_cuda.cu
  716. endif
  717. if ATLAS_BLAS_LIB
  718. spmv_dw_block_spmv_SOURCES = \
  719. spmv/dw_block_spmv.c \
  720. spmv/dw_block_spmv_kernels.c \
  721. spmv/matrix_market/mm_to_bcsr.c \
  722. spmv/matrix_market/mmio.c
  723. spmv_dw_block_spmv_LDADD = \
  724. $(STARPU_BLAS_LDFLAGS)
  725. endif
  726. ###########################
  727. # C++ Incrementer example #
  728. ###########################
  729. cpp_incrementer_cpp_SOURCES = \
  730. cpp/incrementer_cpp.cpp
  731. if STARPU_USE_CUDA
  732. cpp_incrementer_cpp_SOURCES += \
  733. incrementer/incrementer_kernels.cu
  734. endif
  735. if STARPU_USE_OPENCL
  736. cpp_incrementer_cpp_SOURCES += \
  737. incrementer/incrementer_kernels_opencl.c
  738. endif
  739. ###########################
  740. # C++ Add vectors example #
  741. ###########################
  742. cpp_add_vectors_SOURCES = \
  743. cpp/add_vectors.cpp
  744. cpp_add_vectors_interface_SOURCES = \
  745. cpp/add_vectors_interface.cpp
  746. if STARPU_HAVE_CXX11
  747. cpp_add_vectors_cpp11_SOURCES = \
  748. cpp/add_vectors_cpp11.cpp
  749. endif
  750. #######################
  751. # Incrementer example #
  752. #######################
  753. incrementer_incrementer_SOURCES = \
  754. incrementer/incrementer.c
  755. if STARPU_USE_CUDA
  756. incrementer_incrementer_SOURCES += \
  757. incrementer/incrementer_kernels.cu
  758. endif
  759. if STARPU_USE_OPENCL
  760. incrementer_incrementer_SOURCES += \
  761. incrementer/incrementer_kernels_opencl.c
  762. nobase_STARPU_OPENCL_DATA_DATA += \
  763. incrementer/incrementer_kernels_opencl_kernel.cl
  764. endif
  765. ##################
  766. # Binary example #
  767. ##################
  768. binary_binary_SOURCES = \
  769. binary/binary.c
  770. if STARPU_USE_OPENCL
  771. binary_binary_SOURCES += \
  772. incrementer/incrementer_kernels_opencl.c
  773. endif
  774. #####################
  775. # interface example #
  776. #####################
  777. interface_complex_SOURCES = \
  778. interface/complex.c \
  779. interface/complex_interface.c
  780. if STARPU_USE_CUDA
  781. interface_complex_SOURCES += \
  782. interface/complex_kernels.cu
  783. endif
  784. if STARPU_USE_OPENCL
  785. interface_complex_SOURCES +=\
  786. interface/complex_kernels_opencl.c
  787. nobase_STARPU_OPENCL_DATA_DATA += \
  788. interface/complex_kernels.cl
  789. endif
  790. ######################
  791. # matVecMult example #
  792. ######################
  793. if STARPU_USE_OPENCL
  794. nobase_STARPU_OPENCL_DATA_DATA += \
  795. matvecmult/matvecmult_kernel.cl
  796. endif
  797. #######################
  798. # dot_product example #
  799. #######################
  800. reductions_dot_product_SOURCES = \
  801. reductions/dot_product.c
  802. if STARPU_USE_CUDA
  803. reductions_dot_product_SOURCES += \
  804. reductions/dot_product_kernels.cu
  805. endif
  806. if STARPU_USE_OPENCL
  807. nobase_STARPU_OPENCL_DATA_DATA += \
  808. reductions/dot_product_opencl_kernels.cl
  809. endif
  810. ##################
  811. # Mandelbrot Set #
  812. ##################
  813. examplebin_PROGRAMS += \
  814. mandelbrot/mandelbrot
  815. mandelbrot_mandelbrot_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS)
  816. if HAVE_X11
  817. mandelbrot_mandelbrot_CPPFLAGS += $(X_CFLAGS)
  818. mandelbrot_mandelbrot_LDADD = $(X_PRE_LIBS) $(X_LIBS) -lX11 $(X_EXTRA_LIBS)
  819. endif
  820. ####################
  821. # Image downscaler #
  822. ####################
  823. examplebin_PROGRAMS += \
  824. ppm_downscaler/ppm_downscaler \
  825. ppm_downscaler/yuv_downscaler
  826. ################
  827. # Top Examples #
  828. ################
  829. examplebin_PROGRAMS += \
  830. top/hello_world_top
  831. top_hello_world_top_SOURCES = \
  832. top/hello_world_top.c
  833. ######
  834. # Pi #
  835. ######
  836. if !STARPU_HAVE_WINDOWS
  837. examplebin_PROGRAMS += \
  838. pi/pi \
  839. pi/pi_redux
  840. pi_pi_SOURCES = \
  841. pi/pi.c \
  842. pi/SobolQRNG/sobol_gold.c \
  843. pi/SobolQRNG/sobol_primitives.c
  844. if STARPU_USE_CUDA
  845. pi_pi_SOURCES += \
  846. pi/pi_kernel.cu \
  847. pi/SobolQRNG/sobol_gpu.cu
  848. endif
  849. pi_pi_redux_SOURCES = \
  850. pi/pi_redux.c
  851. if STARPU_USE_CUDA
  852. pi_pi_redux_SOURCES += \
  853. pi/pi_redux_kernel.cu
  854. pi_pi_redux_LDADD = \
  855. $(STARPU_CURAND_LDFLAGS)
  856. endif
  857. endif
  858. ###########################
  859. # OpenGL interoperability #
  860. ###########################
  861. if HAVE_OPENGL
  862. examplebin_PROGRAMS += \
  863. gl_interop/gl_interop \
  864. gl_interop/gl_interop_idle
  865. gl_interop_gl_interop_SOURCES = \
  866. gl_interop/gl_interop.c
  867. gl_interop_gl_interop_LDADD = \
  868. $(STARPU_OPENGL_RENDER_LDFLAGS)
  869. gl_interop_gl_interop_idle_SOURCES = \
  870. gl_interop/gl_interop_idle.c
  871. gl_interop_gl_interop_idle_LDADD = \
  872. $(STARPU_OPENGL_RENDER_LDFLAGS)
  873. endif
  874. ####################
  875. # pipeline example #
  876. ####################
  877. if !NO_BLAS_LIB
  878. pipeline_pipeline_SOURCES = \
  879. pipeline/pipeline.c \
  880. common/blas.c
  881. pipeline_pipeline_LDADD = \
  882. $(STARPU_BLAS_LDFLAGS)
  883. endif
  884. ##################
  885. # openmp example #
  886. ##################
  887. if STARPU_HAVE_OPENMP
  888. openmp_vector_scal_omp_CFLAGS = \
  889. $(AM_CFLAGS) -fopenmp
  890. sched_ctx_parallel_code_CFLAGS = \
  891. $(AM_CFLAGS) -fopenmp
  892. sched_ctx_sched_ctx_without_sched_policy_CFLAGS = \
  893. $(AM_CFLAGS) -fopenmp
  894. sched_ctx_nested_sched_ctxs_CFLAGS = \
  895. $(AM_CFLAGS) -fopenmp
  896. sched_ctx_parallel_tasks_reuse_handle_CFLAGS = \
  897. $(AM_CFLAGS) -fopenmp
  898. endif
  899. if STARPU_HAVE_FC
  900. # Fortran90 example
  901. # - list explicit dependences to control proper module files generation
  902. # - the overriding rule fully disables the corresponing default rule, thus
  903. # the default rule body must be copied entirely
  904. mod_types.mod: mod_types.o
  905. mod_compute.mod: mod_compute.o
  906. mod_interface.mod: mod_interface.o
  907. starpu_mod.mod: starpu_mod.o
  908. starpu_mod.o: $(top_srcdir)/include/starpu_mod.f90
  909. $(AM_V_FC)$(FC) $(fortran90_f90_example_FCFLAGS) $(FCFLAGS) -c -o $@ '$(top_srcdir)/'include/starpu_mod.f90
  910. mod_compute.o: $(top_srcdir)/examples/fortran90/mod_compute.f90 mod_types.mod mod_interface.mod starpu_mod.mod
  911. $(AM_V_FC)$(FC) $(fortran90_f90_example_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'fortran90/mod_compute.f90' || echo '$(srcdir)/'`fortran90/mod_compute.f90
  912. 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
  913. $(AM_V_FC)$(FC) $(fortran90_f90_example_FCFLAGS) $(FCFLAGS) -c -o $@ `test -f 'fortran90/f90_example.f90' || echo '$(srcdir)/'`fortran90/f90_example.f90
  914. # Native Fortran example
  915. # - list explicit dependences to control proper module files generation
  916. # - the overriding rule fully disables the corresponing default rule, thus
  917. # the default rule body must be copied entirely
  918. nf_types.mod: nf_types.o
  919. nf_compute.mod: nf_compute.o
  920. fstarpu_mod.mod: fstarpu_mod.o
  921. nf_codelets.mod: nf_codelets.o
  922. nf_dynbuf_cl.mod: nf_dynbuf_cl.o
  923. nf_varbuf_cl.mod: nf_varbuf_cl.o
  924. nf_sched_ctx_cl.mod: nf_sched_ctx_cl.o
  925. nf_partition_cl.mod: nf_partition_cl.o
  926. fstarpu_mod.o: $(top_srcdir)/include/fstarpu_mod.f90
  927. $(AM_V_FC)$(FC) $(native_fortran_nf_vector_FCFLAGS) $(FCFLAGS) -c -o $@ '$(top_srcdir)/'include/fstarpu_mod.f90
  928. nf_codelets.o: $(top_srcdir)/examples/native_fortran/nf_codelets.f90 fstarpu_mod.mod
  929. $(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
  930. nf_vector.o: $(top_srcdir)/examples/native_fortran/nf_vector.f90 nf_codelets.mod fstarpu_mod.mod
  931. $(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
  932. nf_matrix.o: $(top_srcdir)/examples/native_fortran/nf_matrix.f90 nf_codelets.mod fstarpu_mod.mod
  933. $(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
  934. nf_compute.o: $(top_srcdir)/examples/native_fortran/nf_compute.f90 nf_types.mod fstarpu_mod.mod
  935. $(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
  936. nf_example.o: $(top_srcdir)/examples/native_fortran/nf_example.f90 nf_types.mod nf_compute.mod fstarpu_mod.mod
  937. $(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
  938. nf_dynbuf_cl.o: $(top_srcdir)/examples/native_fortran/nf_dynbuf_cl.f90 nf_types.mod fstarpu_mod.mod
  939. $(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
  940. nf_dynbuf.o: $(top_srcdir)/examples/native_fortran/nf_dynbuf.f90 nf_types.mod nf_dynbuf_cl.mod fstarpu_mod.mod
  941. $(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
  942. nf_varbuf_cl.o: $(top_srcdir)/examples/native_fortran/nf_varbuf_cl.f90 nf_types.mod fstarpu_mod.mod
  943. $(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
  944. nf_varbuf.o: $(top_srcdir)/examples/native_fortran/nf_varbuf.f90 nf_types.mod nf_varbuf_cl.mod fstarpu_mod.mod
  945. $(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
  946. nf_sched_ctx_cl.o: $(top_srcdir)/examples/native_fortran/nf_sched_ctx_cl.f90 nf_types.mod fstarpu_mod.mod
  947. $(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
  948. nf_sched_ctx.o: $(top_srcdir)/examples/native_fortran/nf_sched_ctx.f90 nf_types.mod nf_sched_ctx_cl.mod fstarpu_mod.mod
  949. $(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
  950. nf_partition_cl.o: $(top_srcdir)/examples/native_fortran/nf_partition_cl.f90 nf_types.mod fstarpu_mod.mod
  951. $(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
  952. nf_partition.o: $(top_srcdir)/examples/native_fortran/nf_partition.f90 nf_types.mod nf_partition_cl.mod fstarpu_mod.mod
  953. $(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
  954. endif