Makefile.am 30 KB

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