Makefile.am 30 KB

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