Makefile.am 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-2021 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
  4. # Copyright (C) 2013 Thibaut Lambert
  5. #
  6. # StarPU is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; either version 2.1 of the License, or (at
  9. # your option) any later version.
  10. #
  11. # StarPU is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  16. #
  17. include $(top_srcdir)/starpu.mk
  18. CC=$(MPICC)
  19. CCLD=$(MPICC)
  20. FC=$(MPIFORT)
  21. FCLD=$(MPIFORT)
  22. noinst_PROGRAMS =
  23. if STARPU_HAVE_WINDOWS
  24. LOADER_BIN =
  25. else
  26. loader_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_builddir)/src/
  27. if !STARPU_SIMGRID
  28. LOADER = loader
  29. LOADER_BIN = $(abs_top_builddir)/mpi/examples/$(LOADER)
  30. noinst_PROGRAMS += loader
  31. endif
  32. loader_SOURCES = ../../tests/loader.c
  33. endif
  34. if STARPU_SIMGRID
  35. MPI = $(abs_top_builddir)/tools/starpu_smpirun -np 4 -platform $(abs_top_srcdir)/tools/perfmodels/cluster.xml -hostfile $(abs_top_srcdir)/tools/perfmodels/hostfile
  36. else
  37. # we always test on 4 processes, the execution time is not that bigger
  38. if STARPU_QUICK_CHECK
  39. MPI = $(MPIEXEC) $(MPIEXEC_ARGS) -np 4
  40. else
  41. MPI = $(MPIEXEC) $(MPIEXEC_ARGS) -np 4
  42. endif
  43. endif
  44. if STARPU_HAVE_AM111
  45. TESTS_ENVIRONMENT = STARPU_WORKERS_NOBIND=1 STARPU_NCPU=3 top_builddir="$(abs_top_builddir)" top_srcdir="$(abs_top_srcdir)"
  46. LOG_COMPILER = $(MPI) $(LOADER_BIN)
  47. else
  48. TESTS_ENVIRONMENT = STARPU_WORKERS_NOBIND=1 STARPU_NCPU=3 top_builddir="$(abs_top_builddir)" top_srcdir="$(abs_top_srcdir)" $(MPI) $(LOADER_BIN)
  49. endif
  50. if STARPU_MPI_CHECK
  51. TESTS = $(starpu_mpi_EXAMPLES)
  52. endif
  53. check_PROGRAMS = $(LOADER) $(starpu_mpi_EXAMPLES)
  54. starpu_mpi_EXAMPLES =
  55. BUILT_SOURCES =
  56. CLEANFILES = *.gcno *.gcda *.linkinfo starpu_idle_microsec.log *.mod native_fortran/fstarpu_mod.f90 native_fortran/fstarpu_mpi_mod.f90
  57. EXTRA_DIST = \
  58. mpi_lu/mpi_lu-float.h \
  59. mpi_lu/mpi_lu-double.h \
  60. mpi_lu/plu_example.c \
  61. mpi_lu/plu_implicit_example.c \
  62. mpi_lu/plu_outofcore_example.c \
  63. mpi_lu/plu_solve.c \
  64. mpi_lu/pxlu.h \
  65. mpi_lu/pxlu.c \
  66. mpi_lu/pxlu_implicit.c \
  67. mpi_lu/pxlu_kernels.h \
  68. mpi_lu/pxlu_kernels.c \
  69. matrix_decomposition/mpi_cholesky.h \
  70. matrix_decomposition/mpi_cholesky_codelets.h \
  71. matrix_decomposition/mpi_cholesky_kernels.h \
  72. matrix_decomposition/mpi_cholesky_models.h \
  73. matrix_decomposition/mpi_decomposition_params.h \
  74. matrix_decomposition/mpi_decomposition_matrix.h \
  75. user_datatype/my_interface.h \
  76. benchs/abstract_sendrecv_bench.h \
  77. benchs/bench_helper.h \
  78. benchs/gemm_helper.h \
  79. benchs/burst_helper.h \
  80. helper.h
  81. examplebindir = $(libdir)/starpu/mpi
  82. examplebin_PROGRAMS =
  83. if STARPU_USE_CUDA
  84. if STARPU_COVERITY
  85. include $(top_srcdir)/starpu-mynvcc.mk
  86. else
  87. NVCCFLAGS += --compiler-options -fno-strict-aliasing -I$(top_srcdir)/include/ -I$(top_builddir)/include/ $(STARPU_H_CPPFLAGS)
  88. .cu.cubin:
  89. $(V_nvcc) $(NVCC) -cubin $< -o $@ $(NVCCFLAGS)
  90. .cu.o:
  91. $(V_nvcc) $(NVCC) $< -c -o $@ $(NVCCFLAGS)
  92. endif
  93. endif
  94. AM_CFLAGS += $(MAGMA_CFLAGS) -Wno-unused
  95. AM_CXXFLAGS += $(MAGMA_CFLAGS) -Wno-unused
  96. AM_FFLAGS += $(MAGMA_CFLAGS) -Wno-unused -Wno-unused-dummy-argument
  97. AM_FCFLAGS += $(MAGMA_CFLAGS) -Wno-unused -Wno-unused-dummy-argument
  98. AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/examples/ -I$(top_builddir)/include -I$(top_srcdir)/mpi/include $(STARPU_H_CPPFLAGS)
  99. AM_LDFLAGS = @STARPU_EXPORT_DYNAMIC@
  100. LIBS += $(top_builddir)/src/@LIBSTARPU_LINK@ ../src/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.la $(STARPU_EXPORTED_LIBS)
  101. LIBS += $(STARPU_CUDA_LDFLAGS)
  102. LIBS += -lm $(MAGMA_LIBS)
  103. ###################
  104. # Stencil example #
  105. ###################
  106. examplebin_PROGRAMS += \
  107. stencil/stencil5
  108. starpu_mpi_EXAMPLES += \
  109. stencil/stencil5
  110. if STARPU_USE_MPI_MPI
  111. examplebin_PROGRAMS += \
  112. stencil/stencil5_lb
  113. starpu_mpi_EXAMPLES += \
  114. stencil/stencil5_lb
  115. endif
  116. ##################
  117. # Cache examples #
  118. ##################
  119. examplebin_PROGRAMS += \
  120. cache/cache \
  121. cache/cache_disable
  122. starpu_mpi_EXAMPLES += \
  123. cache/cache \
  124. cache/cache_disable
  125. ##################
  126. # MPI LU example #
  127. ##################
  128. if !STARPU_NO_BLAS_LIB
  129. examplebin_PROGRAMS += \
  130. mpi_lu/plu_example_float \
  131. mpi_lu/plu_example_double \
  132. mpi_lu/plu_implicit_example_float \
  133. mpi_lu/plu_implicit_example_double \
  134. mpi_lu/plu_outofcore_example_float \
  135. mpi_lu/plu_outofcore_example_double
  136. if !STARPU_SIMGRID
  137. starpu_mpi_EXAMPLES += \
  138. mpi_lu/plu_example_float \
  139. mpi_lu/plu_example_double \
  140. mpi_lu/plu_implicit_example_float \
  141. mpi_lu/plu_implicit_example_double \
  142. mpi_lu/plu_outofcore_example_float \
  143. mpi_lu/plu_outofcore_example_double
  144. endif
  145. mpi_lu_plu_example_float_LDADD = \
  146. $(STARPU_LIBNUMA_LDFLAGS) \
  147. $(STARPU_BLAS_LDFLAGS) -lm
  148. mpi_lu_plu_example_float_SOURCES = \
  149. mpi_lu/plu_example_float.c \
  150. mpi_lu/plu_solve_float.c \
  151. mpi_lu/pslu_kernels.c \
  152. mpi_lu/pslu.c \
  153. ../../examples/common/blas.c
  154. mpi_lu_plu_example_double_LDADD = \
  155. $(STARPU_LIBNUMA_LDFLAGS) \
  156. $(STARPU_BLAS_LDFLAGS) -lm
  157. mpi_lu_plu_example_double_SOURCES = \
  158. mpi_lu/plu_example_double.c \
  159. mpi_lu/plu_solve_double.c \
  160. mpi_lu/pdlu_kernels.c \
  161. mpi_lu/pdlu.c \
  162. ../../examples/common/blas.c
  163. mpi_lu_plu_implicit_example_float_LDADD = \
  164. $(STARPU_LIBNUMA_LDFLAGS) \
  165. $(STARPU_BLAS_LDFLAGS) -lm
  166. mpi_lu_plu_implicit_example_float_SOURCES = \
  167. mpi_lu/plu_implicit_example_float.c \
  168. mpi_lu/plu_solve_float.c \
  169. mpi_lu/pslu_kernels.c \
  170. mpi_lu/pslu_implicit.c \
  171. ../../examples/common/blas.c
  172. mpi_lu_plu_implicit_example_double_LDADD = \
  173. $(STARPU_LIBNUMA_LDFLAGS) \
  174. $(STARPU_BLAS_LDFLAGS) -lm
  175. mpi_lu_plu_implicit_example_double_SOURCES = \
  176. mpi_lu/plu_implicit_example_double.c \
  177. mpi_lu/plu_solve_double.c \
  178. mpi_lu/pdlu_kernels.c \
  179. mpi_lu/pdlu_implicit.c \
  180. ../../examples/common/blas.c
  181. mpi_lu_plu_outofcore_example_float_LDADD = \
  182. $(STARPU_LIBNUMA_LDFLAGS) \
  183. $(STARPU_BLAS_LDFLAGS) -lm
  184. mpi_lu_plu_outofcore_example_float_SOURCES = \
  185. mpi_lu/plu_outofcore_example_float.c \
  186. mpi_lu/plu_solve_float.c \
  187. mpi_lu/pslu_kernels.c \
  188. mpi_lu/pslu_implicit.c \
  189. ../../examples/common/blas.c
  190. mpi_lu_plu_outofcore_example_double_LDADD = \
  191. $(STARPU_LIBNUMA_LDFLAGS) \
  192. $(STARPU_BLAS_LDFLAGS) -lm
  193. mpi_lu_plu_outofcore_example_double_SOURCES = \
  194. mpi_lu/plu_outofcore_example_double.c \
  195. mpi_lu/plu_solve_double.c \
  196. mpi_lu/pdlu_kernels.c \
  197. mpi_lu/pdlu_implicit.c \
  198. ../../examples/common/blas.c
  199. endif
  200. ########################
  201. # MPI Cholesky example #
  202. ########################
  203. if !STARPU_NO_BLAS_LIB
  204. examplebin_PROGRAMS += \
  205. matrix_decomposition/mpi_cholesky \
  206. matrix_decomposition/mpi_cholesky_distributed
  207. matrix_decomposition_mpi_cholesky_SOURCES = \
  208. matrix_decomposition/mpi_cholesky.c \
  209. matrix_decomposition/mpi_cholesky_models.c \
  210. matrix_decomposition/mpi_cholesky_kernels.c \
  211. matrix_decomposition/mpi_cholesky_codelets.c \
  212. matrix_decomposition/mpi_decomposition_params.c \
  213. matrix_decomposition/mpi_decomposition_matrix.c \
  214. ../../examples/common/blas.c
  215. matrix_decomposition_mpi_cholesky_LDADD = \
  216. $(STARPU_BLAS_LDFLAGS) -lm
  217. matrix_decomposition_mpi_cholesky_distributed_SOURCES = \
  218. matrix_decomposition/mpi_cholesky_distributed.c \
  219. matrix_decomposition/mpi_cholesky_models.c \
  220. matrix_decomposition/mpi_cholesky_kernels.c \
  221. matrix_decomposition/mpi_cholesky_codelets.c \
  222. matrix_decomposition/mpi_decomposition_params.c \
  223. matrix_decomposition/mpi_decomposition_matrix.c \
  224. ../../examples/common/blas.c
  225. matrix_decomposition_mpi_cholesky_distributed_LDADD = \
  226. $(STARPU_BLAS_LDFLAGS) -lm
  227. starpu_mpi_EXAMPLES += \
  228. matrix_decomposition/mpi_cholesky \
  229. matrix_decomposition/mpi_cholesky_distributed
  230. endif
  231. ##############
  232. # CG example #
  233. ##############
  234. if !STARPU_SIMGRID
  235. if !STARPU_NO_BLAS_LIB
  236. examplebin_PROGRAMS += cg/cg
  237. cg_cg_SOURCES = \
  238. cg/cg.c \
  239. ../../examples/common/blas.c
  240. cg_cg_LDADD = \
  241. $(STARPU_BLAS_LDFLAGS)
  242. endif
  243. endif
  244. ###########################
  245. # MPI Matrix mult example #
  246. ###########################
  247. examplebin_PROGRAMS += \
  248. matrix_mult/mm
  249. matrix_mult_mm_SOURCES = \
  250. matrix_mult/mm.c
  251. matrix_mult_mm_LDADD = \
  252. -lm
  253. if !STARPU_SIMGRID
  254. starpu_mpi_EXAMPLES += \
  255. matrix_mult/mm
  256. endif
  257. ########################
  258. # MPI STARPU_MPI_REDUX #
  259. ########################
  260. examplebin_PROGRAMS += \
  261. mpi_redux/mpi_redux
  262. mpi_redux_mpi_redux_SOURCES = \
  263. mpi_redux/mpi_redux.c
  264. mpi_redux_mpi_redux_LDADD = \
  265. -lm
  266. if !STARPU_SIMGRID
  267. starpu_mpi_EXAMPLES += \
  268. mpi_redux/mpi_redux
  269. endif
  270. ##########################################
  271. # Native Fortran MPI Matrix mult example #
  272. ##########################################
  273. if STARPU_HAVE_MPIFORT
  274. if !STARPU_SANITIZE
  275. examplebin_PROGRAMS += \
  276. native_fortran/nf_mm \
  277. native_fortran/nf_mm_task_build \
  278. native_fortran/nf_basic_ring
  279. native_fortran_nf_mm_SOURCES = \
  280. native_fortran/nf_mm_cl.f90 \
  281. native_fortran/fstarpu_mpi_mod.f90 \
  282. native_fortran/fstarpu_mod.f90 \
  283. native_fortran/nf_mm.f90
  284. native_fortran_nf_mm_LDADD = \
  285. -lm
  286. native_fortran_nf_mm_task_build_SOURCES = \
  287. native_fortran/nf_mm_cl.f90 \
  288. native_fortran/fstarpu_mpi_mod.f90 \
  289. native_fortran/fstarpu_mod.f90 \
  290. native_fortran/nf_mm_task_build.f90
  291. native_fortran_nf_mm_task_build_LDADD = \
  292. -lm
  293. native_fortran_nf_basic_ring_SOURCES = \
  294. native_fortran/fstarpu_mpi_mod.f90 \
  295. native_fortran/fstarpu_mod.f90 \
  296. native_fortran/nf_basic_ring.f90
  297. native_fortran_nf_basic_ring_LDADD = \
  298. -lm
  299. if !STARPU_SIMGRID
  300. starpu_mpi_EXAMPLES += \
  301. native_fortran/nf_mm \
  302. native_fortran/nf_mm_task_build \
  303. native_fortran/nf_basic_ring
  304. endif
  305. endif
  306. endif
  307. ########################################
  308. # Native Fortran MPI STARPU_REDUX test #
  309. ########################################
  310. if STARPU_HAVE_MPIFORT
  311. if !STARPU_SANITIZE
  312. examplebin_PROGRAMS += \
  313. native_fortran/nf_mpi_redux
  314. native_fortran_nf_mpi_redux_SOURCES = \
  315. native_fortran/fstarpu_mpi_mod.f90 \
  316. native_fortran/fstarpu_mod.f90 \
  317. native_fortran/nf_mpi_redux.f90
  318. native_fortran_nf_mpi_redux_LDADD = \
  319. -lm
  320. if !STARPU_SIMGRID
  321. starpu_mpi_EXAMPLES += \
  322. native_fortran/nf_mpi_redux
  323. endif
  324. endif
  325. endif
  326. ########################################
  327. # Native Fortran MPI STARPU_REDUX test #
  328. ########################################
  329. if STARPU_HAVE_MPIFORT
  330. if !STARPU_SANITIZE
  331. examplebin_PROGRAMS += \
  332. native_fortran/nf_redux_test
  333. native_fortran_nf_redux_test_SOURCES = \
  334. native_fortran/fstarpu_mpi_mod.f90 \
  335. native_fortran/fstarpu_mod.f90 \
  336. native_fortran/nf_redux_test.f90
  337. native_fortran_nf_redux_test_LDADD = \
  338. -lm
  339. if !STARPU_SIMGRID
  340. starpu_mpi_EXAMPLES += \
  341. native_fortran/nf_redux_test
  342. endif
  343. endif
  344. endif
  345. ###################
  346. # complex example #
  347. ###################
  348. examplebin_PROGRAMS += \
  349. complex/mpi_complex
  350. complex_mpi_complex_SOURCES = \
  351. complex/mpi_complex.c \
  352. ../../examples/interface/complex_interface.c
  353. starpu_mpi_EXAMPLES += \
  354. complex/mpi_complex
  355. #########################
  356. # user_datatype example #
  357. #########################
  358. examplebin_PROGRAMS += \
  359. user_datatype/user_datatype \
  360. user_datatype/user_datatype2 \
  361. user_datatype/user_datatype_early
  362. user_datatype_user_datatype_SOURCES = \
  363. user_datatype/user_datatype.c \
  364. user_datatype/my_interface.c
  365. user_datatype_user_datatype2_SOURCES = \
  366. user_datatype/user_datatype2.c \
  367. user_datatype/my_interface.c
  368. user_datatype_user_datatype_early_SOURCES = \
  369. user_datatype/user_datatype_early.c \
  370. user_datatype/my_interface.c
  371. if !STARPU_SIMGRID
  372. starpu_mpi_EXAMPLES += \
  373. user_datatype/user_datatype2 \
  374. user_datatype/user_datatype_early \
  375. user_datatype/user_datatype
  376. endif
  377. ###################
  378. # comm example #
  379. ###################
  380. examplebin_PROGRAMS += \
  381. comm/comm \
  382. comm/mix_comm
  383. if !STARPU_SIMGRID
  384. starpu_mpi_EXAMPLES += \
  385. comm/comm \
  386. comm/mix_comm
  387. endif
  388. ##################
  389. # filter example #
  390. ##################
  391. examplebin_PROGRAMS += \
  392. filters/filter
  393. if !STARPU_SIMGRID
  394. starpu_mpi_EXAMPLES += \
  395. filters/filter
  396. endif
  397. # Native Fortran example
  398. # - link over source file to build our own object
  399. native_fortran/fstarpu_mod.f90:
  400. @$(MKDIR_P) $(dir $@)
  401. $(V_ln) $(LN_S) $(abs_top_srcdir)/include/$(notdir $@) $@
  402. native_fortran/fstarpu_mpi_mod.f90:
  403. @$(MKDIR_P) $(dir $@)
  404. $(V_ln) $(LN_S) $(abs_top_srcdir)/mpi/include/$(notdir $@) $@
  405. if STARPU_HAVE_MPIFORT
  406. if !STARPU_SANITIZE
  407. # - express the creation of .mod along .o
  408. fstarpu_mod.mod: native_fortran/fstarpu_mod.o
  409. fstarpu_mpi_mod.mod: native_fortran/fstarpu_mpi_mod.o
  410. nf_mm_cl.mod: native_fortran/nf_mm_cl.o
  411. # - list explicit dependences to control proper module files dependencies
  412. native_fortran/fstarpu_mpi_mod.o: fstarpu_mod.mod
  413. native_fortran/nf_mm_cl.o: fstarpu_mod.mod
  414. native_fortran/nf_mm.o: nf_mm_cl.mod fstarpu_mpi_mod.mod fstarpu_mod.mod
  415. native_fortran/nf_mm_task_build.o: nf_mm_cl.mod fstarpu_mpi_mod.mod fstarpu_mod.mod
  416. native_fortran/nf_basic_ring.o: fstarpu_mpi_mod.mod fstarpu_mod.mod
  417. native_fortran/nf_redux_test.o: fstarpu_mpi_mod.mod fstarpu_mod.mod
  418. native_fortran/nf_mpi_redux.o: fstarpu_mpi_mod.mod fstarpu_mod.mod
  419. endif
  420. endif
  421. ##########
  422. # benchs #
  423. ##########
  424. examplebin_PROGRAMS += \
  425. benchs/sendrecv_bench \
  426. benchs/burst
  427. if !STARPU_USE_MPI_MPI
  428. examplebin_PROGRAMS += \
  429. benchs/sendrecv_parallel_tasks_bench
  430. endif
  431. if !STARPU_NO_BLAS_LIB
  432. examplebin_PROGRAMS += \
  433. benchs/sendrecv_gemm_bench \
  434. benchs/burst_gemm
  435. endif
  436. if !STARPU_SIMGRID
  437. starpu_mpi_EXAMPLES += \
  438. benchs/sendrecv_bench \
  439. benchs/burst
  440. if STARPU_MPI_SYNC_CLOCKS
  441. examplebin_PROGRAMS += \
  442. benchs/bcast_bench
  443. starpu_mpi_EXAMPLES += \
  444. benchs/bcast_bench
  445. endif
  446. if !STARPU_USE_MPI_MPI
  447. starpu_mpi_EXAMPLES += \
  448. benchs/sendrecv_parallel_tasks_bench
  449. endif
  450. if !STARPU_NO_BLAS_LIB
  451. starpu_mpi_EXAMPLES += \
  452. benchs/sendrecv_gemm_bench \
  453. benchs/burst_gemm
  454. endif
  455. endif
  456. benchs_sendrecv_bench_SOURCES = benchs/sendrecv_bench.c
  457. benchs_sendrecv_bench_SOURCES += benchs/bench_helper.c
  458. benchs_sendrecv_bench_SOURCES += benchs/abstract_sendrecv_bench.c
  459. benchs_bcast_bench_SOURCES = benchs/bcast_bench.c
  460. benchs_bcast_bench_SOURCES += benchs/bench_helper.c
  461. benchs_bcast_bench_LDADD = $(MPI_SYNC_CLOCKS_LDFLAGS)
  462. benchs_bcast_bench_CFLAGS = $(MPI_SYNC_CLOCKS_CFLAGS)
  463. benchs_sendrecv_parallel_tasks_bench_SOURCES = benchs/sendrecv_parallel_tasks_bench.c
  464. benchs_sendrecv_parallel_tasks_bench_SOURCES += benchs/bench_helper.c
  465. benchs_burst_SOURCES = benchs/burst.c
  466. benchs_burst_SOURCES += benchs/burst_helper.c
  467. if !STARPU_NO_BLAS_LIB
  468. benchs_sendrecv_gemm_bench_SOURCES = benchs/sendrecv_gemm_bench.c
  469. benchs_sendrecv_gemm_bench_SOURCES += benchs/bench_helper.c
  470. benchs_sendrecv_gemm_bench_SOURCES += benchs/gemm_helper.c
  471. benchs_sendrecv_gemm_bench_SOURCES += benchs/abstract_sendrecv_bench.c
  472. benchs_sendrecv_gemm_bench_SOURCES += ../../examples/common/blas.c
  473. benchs_sendrecv_gemm_bench_LDADD = $(STARPU_BLAS_LDFLAGS)
  474. benchs_burst_gemm_SOURCES = benchs/burst_gemm.c
  475. benchs_burst_gemm_SOURCES += benchs/gemm_helper.c
  476. benchs_burst_gemm_SOURCES += benchs/burst_helper.c
  477. benchs_burst_gemm_SOURCES += ../../examples/common/blas.c
  478. benchs_burst_gemm_LDADD = $(STARPU_BLAS_LDFLAGS)
  479. endif