Makefile.am 30 KB

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