Makefile.am 31 KB

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