Makefile.am 31 KB

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