Makefile.am 30 KB

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