Makefile.am 31 KB

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