Makefile.am 30 KB

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