Makefile.am 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009, 2010-2011 Université de Bordeaux 1
  4. # Copyright (C) 2010, 2011, 2012 Centre National de la Recherche Scientifique
  5. # Copyright (C) 2011 Télécom-SudParis
  6. #
  7. # StarPU is free software; you can redistribute it and/or modify
  8. # it under the terms of the GNU Lesser General Public License as published by
  9. # the Free Software Foundation; either version 2.1 of the License, or (at
  10. # your option) any later version.
  11. #
  12. # StarPU is distributed in the hope that it will be useful, but
  13. # WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  15. #
  16. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  17. AM_CFLAGS = $(MAGMA_CFLAGS) $(HWLOC_CFLAGS) -Wall $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS)
  18. LIBS = $(top_builddir)/src/libstarpu-@STARPU_EFFECTIVE_VERSION@.la $(MAGMA_LIBS) $(HWLOC_LIBS) @LIBS@
  19. AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/examples/ -I$(top_builddir)/include
  20. AM_LDFLAGS = $(STARPU_CUDA_LDFLAGS) $(STARPU_OPENCL_LDFLAGS)
  21. SUBDIRS = stencil
  22. if STARPU_HAVE_FFTW
  23. if STARPU_HAVE_FFTWF
  24. SUBDIRS += starpufft
  25. endif
  26. endif
  27. BUILT_SOURCES =
  28. if STARPU_USE_OPENCL
  29. nobase_STARPU_OPENCL_DATA_DATA =
  30. endif
  31. EXTRA_DIST = \
  32. basic_examples/vector_scal_opencl_kernel.cl \
  33. basic_examples/multiformat_opencl_kernel.cl \
  34. basic_examples/multiformat_conversion_codelets_opencl_kernel.cl \
  35. common/blas_model.c \
  36. spmv/spmv_cuda.cu \
  37. spmv/spmv_opencl.cl \
  38. gordon/null_kernel_gordon.c \
  39. mult/xgemm.c \
  40. lu/xlu.c \
  41. lu/xlu_pivot.c \
  42. lu/xlu_implicit.c \
  43. lu/xlu_implicit_pivot.c \
  44. lu/xlu_kernels.c \
  45. lu/lu_example.c \
  46. incrementer/incrementer_kernels_opencl_kernel.cl \
  47. basic_examples/variable_kernels_opencl_kernel.cl \
  48. matvecmult/matvecmult_kernel.cl \
  49. basic_examples/block_opencl_kernel.cl \
  50. openmp/vector_scal.c \
  51. filters/fblock_opencl_kernel.cl
  52. CLEANFILES = \
  53. gordon/null_kernel_gordon.spuelf
  54. CLEANFILES += *.gcno *.gcda *.linkinfo
  55. if STARPU_USE_CUDA
  56. NVCCFLAGS += --compiler-options -fno-strict-aliasing -I$(top_srcdir)/include/ -I$(top_builddir)/include/ -I$(top_srcdir)/examples/ $(HWLOC_CFLAGS) -arch sm_13
  57. .cu.o:
  58. $(NVCC) $< -c -o $@ $(NVCCFLAGS)
  59. endif
  60. if STARPU_USE_GORDON
  61. SPU_CC ?= spu-gcc
  62. SPU_LD ?= spu-ld
  63. SPULDFLAGS =
  64. SPULIBS = -lblas #-lc -lgloss -lc
  65. .c.spuo:
  66. $(MKDIR_P) `dirname $@`
  67. $(SPU_CC) -c -fpic $< -o $@
  68. .spuo.spuelf:
  69. $(MKDIR_P) `dirname $@`
  70. $(SPU_LD) $(SPULDFLAGS) $< -o $@ $(SPULIBS)
  71. BUILT_SOURCES += \
  72. gordon/null_kernel_gordon.spuelf
  73. endif
  74. if STARPU_HAVE_ICC
  75. .icc.o:
  76. $(ICC) -x c $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  77. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $< -c -o $@
  78. endif
  79. examplebindir = $(libdir)/starpu/examples/
  80. examplebin_PROGRAMS =
  81. noinst_HEADERS = \
  82. cg/cg.h \
  83. heat/lu_kernels_model.h \
  84. heat/dw_sparse_cg.h \
  85. heat/heat.h \
  86. heat/dw_factolu.h \
  87. lu/xlu.h \
  88. lu/xlu_kernels.h \
  89. lu/float.h \
  90. lu/double.h \
  91. lu/complex_float.h \
  92. lu/complex_double.h \
  93. lu/blas_complex.h \
  94. cholesky/cholesky.h \
  95. common/blas_model.h \
  96. common/blas.h \
  97. mult/simple.h \
  98. mult/double.h \
  99. gordon/null.h \
  100. fortran/bindings/StarPU_fortran.h \
  101. ppm_downscaler/ppm_downscaler.h \
  102. ppm_downscaler/yuv_downscaler.h \
  103. spmv/matrix_market/mmio.h \
  104. spmv/matrix_market/mm_to_bcsr.h \
  105. spmv/spmv.h \
  106. spmv/dw_block_spmv.h \
  107. basic_examples/multiformat_types.h
  108. #####################################
  109. # What to install and what to check #
  110. #####################################
  111. STARPU_EXAMPLES =
  112. TESTS = $(STARPU_EXAMPLES)
  113. if STARPU_HAVE_WINDOWS
  114. check_PROGRAMS = $(STARPU_EXAMPLES)
  115. else
  116. check_PROGRAMS = $(LOADER) $(STARPU_EXAMPLES)
  117. endif
  118. if !STARPU_HAVE_WINDOWS
  119. ## test loader program
  120. LOADER = loader
  121. loader_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -I$(top_builddir)/src/
  122. LOADER_BIN = $(abs_top_builddir)/examples/$(LOADER)
  123. loader_SOURCES = ../tests/loader.c
  124. TESTS_ENVIRONMENT = $(LOADER_BIN)
  125. endif
  126. examplebin_PROGRAMS += \
  127. basic_examples/hello_world \
  128. basic_examples/vector_scal \
  129. basic_examples/mult \
  130. basic_examples/block \
  131. basic_examples/variable \
  132. basic_examples/multiformat \
  133. filters/fvector \
  134. filters/fblock \
  135. filters/fmatrix \
  136. tag_example/tag_example \
  137. tag_example/tag_example3 \
  138. tag_example/tag_example2 \
  139. tag_example/tag_restartable \
  140. spmv/spmv \
  141. callback/callback \
  142. incrementer/incrementer \
  143. matvecmult/matvecmult \
  144. profiling/profiling \
  145. scheduler/dummy_sched \
  146. reductions/dot_product \
  147. reductions/minmax_reduction \
  148. mandelbrot/mandelbrot \
  149. ppm_downscaler/ppm_downscaler \
  150. ppm_downscaler/yuv_downscaler
  151. if STARPU_HAVE_F77_H
  152. examplebin_PROGRAMS += \
  153. basic_examples/vector_scal_fortran
  154. endif
  155. if !NO_BLAS_LIB
  156. examplebin_PROGRAMS += \
  157. axpy/axpy \
  158. mult/sgemm \
  159. mult/dgemm \
  160. cholesky/cholesky_tag \
  161. cholesky/cholesky_tile_tag \
  162. cholesky/cholesky_grain_tag \
  163. cholesky/cholesky_implicit \
  164. lu/lu_example_float \
  165. lu/lu_example_double \
  166. lu/lu_implicit_example_float \
  167. lu/lu_implicit_example_double \
  168. heat/heat \
  169. cg/cg
  170. endif
  171. if MKL_BLAS_LIB
  172. examplebin_PROGRAMS += \
  173. lu/lu_example_complex_float \
  174. lu/lu_example_complex_double \
  175. lu/lu_implicit_example_complex_float \
  176. lu/lu_implicit_example_complex_double
  177. endif
  178. if ATLAS_BLAS_LIB
  179. examplebin_PROGRAMS += \
  180. spmv/dw_block_spmv
  181. endif
  182. STARPU_EXAMPLES += \
  183. basic_examples/hello_world \
  184. basic_examples/vector_scal \
  185. basic_examples/mult \
  186. basic_examples/block \
  187. basic_examples/variable \
  188. basic_examples/multiformat \
  189. filters/fvector \
  190. filters/fblock \
  191. filters/fmatrix \
  192. tag_example/tag_example \
  193. tag_example/tag_example3 \
  194. tag_example/tag_example2 \
  195. tag_example/tag_restartable \
  196. spmv/spmv \
  197. callback/callback \
  198. incrementer/incrementer \
  199. matvecmult/matvecmult \
  200. profiling/profiling \
  201. scheduler/dummy_sched \
  202. reductions/dot_product \
  203. reductions/minmax_reduction
  204. if STARPU_HAVE_F77_H
  205. STARPU_EXAMPLES += \
  206. basic_examples/vector_scal_fortran
  207. endif
  208. if !NO_BLAS_LIB
  209. STARPU_EXAMPLES += \
  210. axpy/axpy \
  211. mult/sgemm \
  212. mult/dgemm \
  213. cholesky/cholesky_tag \
  214. cholesky/cholesky_tile_tag \
  215. cholesky/cholesky_grain_tag \
  216. cholesky/cholesky_implicit \
  217. lu/lu_example_float \
  218. lu/lu_example_double \
  219. lu/lu_implicit_example_float \
  220. lu/lu_implicit_example_double \
  221. heat/heat \
  222. cg/cg
  223. endif
  224. if MKL_BLAS_LIB
  225. STARPU_EXAMPLES += \
  226. lu/lu_example_complex_float \
  227. lu/lu_example_complex_double \
  228. lu/lu_implicit_example_complex_float \
  229. lu/lu_implicit_example_complex_double
  230. endif
  231. if ATLAS_BLAS_LIB
  232. STARPU_EXAMPLES += \
  233. spmv/dw_block_spmv
  234. endif
  235. ##################
  236. # Basic examples #
  237. ##################
  238. basic_examples_vector_scal_SOURCES = \
  239. basic_examples/vector_scal.c \
  240. basic_examples/vector_scal_cpu.c
  241. if STARPU_HAVE_ICC
  242. basic_examples_vector_scal_SOURCES += \
  243. basic_examples/vector_scal_cpu_icc.icc
  244. basic_examples/vector_scal_cpu_icc.o: CFLAGS += -Dscal_cpu_func=scal_cpu_func_icc -Dscal_sse_func=scal_sse_func_icc
  245. endif
  246. if STARPU_USE_CUDA
  247. basic_examples_vector_scal_SOURCES += \
  248. basic_examples/vector_scal_cuda.cu
  249. endif
  250. if STARPU_USE_OPENCL
  251. basic_examples_vector_scal_SOURCES += \
  252. basic_examples/vector_scal_opencl.c
  253. nobase_STARPU_OPENCL_DATA_DATA += \
  254. basic_examples/vector_scal_opencl_kernel.cl
  255. endif
  256. if STARPU_HAVE_F77_H
  257. basic_examples_vector_scal_fortran_SOURCES = \
  258. basic_examples/vector_scal_fortran.F \
  259. basic_examples/vector_scal_c.c \
  260. basic_examples/vector_scal_cpu.c
  261. if STARPU_USE_CUDA
  262. basic_examples_vector_scal_fortran_SOURCES += \
  263. basic_examples/vector_scal_cuda.cu
  264. basic_examples_vector_scal_fortran_LDADD = \
  265. $(STARPU_CUDA_FORTRAN_LDFLAGS)
  266. endif
  267. endif
  268. #######################
  269. # Multiformat example #
  270. #######################
  271. basic_examples_multiformat_SOURCES = \
  272. basic_examples/multiformat.c \
  273. basic_examples/multiformat_conversion_codelets.c
  274. if STARPU_USE_CUDA
  275. basic_examples_multiformat_SOURCES+= \
  276. basic_examples/multiformat_cuda.cu \
  277. basic_examples/multiformat_conversion_codelets_cuda.cu
  278. endif
  279. if STARPU_USE_OPENCL
  280. basic_examples_multiformat_SOURCES+= \
  281. basic_examples/multiformat_opencl.c \
  282. basic_examples/multiformat_conversion_codelets_opencl.c
  283. nobase_STARPU_OPENCL_DATA_DATA+= \
  284. basic_examples/multiformat_opencl_kernel.cl \
  285. basic_examples/multiformat_conversion_codelets_opencl_kernel.cl
  286. endif
  287. #################
  288. # block example #
  289. #################
  290. basic_examples_block_SOURCES = \
  291. basic_examples/block.c \
  292. basic_examples/block_cpu.c
  293. if STARPU_USE_CUDA
  294. basic_examples_block_SOURCES += \
  295. basic_examples/block_cuda.cu
  296. endif
  297. if STARPU_USE_OPENCL
  298. basic_examples_block_SOURCES += \
  299. basic_examples/block_opencl.c
  300. nobase_STARPU_OPENCL_DATA_DATA += \
  301. basic_examples/block_opencl_kernel.cl
  302. endif
  303. ####################
  304. # Variable example #
  305. ####################
  306. basic_examples_variable_SOURCES = \
  307. basic_examples/variable.c \
  308. basic_examples/variable_kernels_cpu.c
  309. if STARPU_USE_CUDA
  310. basic_examples_variable_SOURCES += \
  311. basic_examples/variable_kernels.cu
  312. endif
  313. if STARPU_USE_OPENCL
  314. basic_examples_variable_SOURCES += \
  315. basic_examples/variable_kernels_opencl.c
  316. nobase_STARPU_OPENCL_DATA_DATA += \
  317. basic_examples/variable_kernels_opencl_kernel.cl
  318. endif
  319. ###########
  320. # Filters #
  321. ###########
  322. filters_fblock_SOURCES = \
  323. filters/fblock.c \
  324. filters/fblock_cpu.c
  325. if STARPU_USE_CUDA
  326. filters_fblock_SOURCES += \
  327. filters/fblock_cuda.cu
  328. endif
  329. if STARPU_USE_OPENCL
  330. filters_fblock_SOURCES += \
  331. filters/fblock_opencl.c
  332. nobase_STARPU_OPENCL_DATA_DATA += \
  333. filters/fblock_opencl_kernel.cl
  334. endif
  335. ################
  336. # AXPY example #
  337. ################
  338. if !NO_BLAS_LIB
  339. axpy_axpy_SOURCES = \
  340. axpy/axpy.c \
  341. common/blas.c
  342. axpy_axpy_LDADD = \
  343. $(STARPU_BLAS_LDFLAGS)
  344. endif
  345. ################
  346. # Mult example #
  347. ################
  348. if !NO_BLAS_LIB
  349. mult_sgemm_SOURCES = \
  350. mult/sgemm.c \
  351. common/blas.c
  352. mult_sgemm_LDADD = \
  353. $(STARPU_BLAS_LDFLAGS)
  354. mult_dgemm_SOURCES = \
  355. mult/dgemm.c \
  356. common/blas.c
  357. mult_dgemm_LDADD = \
  358. $(STARPU_BLAS_LDFLAGS)
  359. endif
  360. ####################
  361. # Cholesky example #
  362. ####################
  363. if !NO_BLAS_LIB
  364. cholesky_cholesky_tag_SOURCES = \
  365. cholesky/cholesky_tag.c \
  366. cholesky/cholesky_models.c \
  367. cholesky/cholesky_kernels.c \
  368. common/blas.c
  369. cholesky_cholesky_tag_LDADD = \
  370. $(STARPU_BLAS_LDFLAGS)
  371. cholesky_cholesky_tile_tag_SOURCES = \
  372. cholesky/cholesky_tile_tag.c \
  373. cholesky/cholesky_models.c \
  374. cholesky/cholesky_kernels.c \
  375. common/blas.c
  376. cholesky_cholesky_tile_tag_LDADD = \
  377. $(STARPU_BLAS_LDFLAGS)
  378. cholesky_cholesky_grain_tag_SOURCES = \
  379. cholesky/cholesky_grain_tag.c \
  380. cholesky/cholesky_models.c \
  381. cholesky/cholesky_kernels.c \
  382. common/blas.c
  383. cholesky_cholesky_grain_tag_LDADD = \
  384. $(STARPU_BLAS_LDFLAGS)
  385. cholesky_cholesky_implicit_SOURCES = \
  386. cholesky/cholesky_implicit.c \
  387. cholesky/cholesky_models.c \
  388. cholesky/cholesky_kernels.c \
  389. common/blas.c
  390. cholesky_cholesky_implicit_LDADD = \
  391. $(STARPU_BLAS_LDFLAGS)
  392. endif
  393. ##############
  394. # LU example #
  395. ##############
  396. if !NO_BLAS_LIB
  397. lu_lu_example_float_SOURCES = \
  398. lu/lu_example_float.c \
  399. lu/slu.c \
  400. lu/slu_pivot.c \
  401. lu/slu_kernels.c \
  402. common/blas.c
  403. lu_lu_example_float_LDADD = \
  404. $(STARPU_BLAS_LDFLAGS)
  405. lu_lu_example_double_SOURCES = \
  406. lu/lu_example_double.c \
  407. lu/dlu.c \
  408. lu/dlu_pivot.c \
  409. lu/dlu_kernels.c \
  410. common/blas.c
  411. lu_lu_example_double_LDADD = \
  412. $(STARPU_BLAS_LDFLAGS)
  413. lu_lu_implicit_example_float_SOURCES = \
  414. lu/lu_example_float.c \
  415. lu/slu_implicit.c \
  416. lu/slu_implicit_pivot.c \
  417. lu/slu_kernels.c \
  418. common/blas.c
  419. lu_lu_implicit_example_float_LDADD = \
  420. $(STARPU_BLAS_LDFLAGS)
  421. lu_lu_implicit_example_double_SOURCES = \
  422. lu/lu_example_double.c \
  423. lu/dlu_implicit.c \
  424. lu/dlu_implicit_pivot.c \
  425. lu/dlu_kernels.c \
  426. common/blas.c
  427. lu_lu_implicit_example_double_LDADD = \
  428. $(STARPU_BLAS_LDFLAGS)
  429. if MKL_BLAS_LIB
  430. lu_lu_example_complex_float_SOURCES = \
  431. lu/lu_example_complex_float.c \
  432. lu/clu.c \
  433. lu/clu_pivot.c \
  434. lu/clu_kernels.c \
  435. lu/blas_complex.c \
  436. common/blas.c
  437. lu_lu_example_complex_float_LDADD = \
  438. $(STARPU_BLAS_LDFLAGS)
  439. lu_lu_implicit_example_complex_float_SOURCES = \
  440. lu/lu_example_complex_float.c \
  441. lu/clu_implicit.c \
  442. lu/clu_implicit_pivot.c \
  443. lu/clu_kernels.c \
  444. lu/blas_complex.c \
  445. common/blas.c
  446. lu_lu_implicit_example_complex_float_LDADD = \
  447. $(STARPU_BLAS_LDFLAGS)
  448. lu_lu_example_complex_double_SOURCES = \
  449. lu/lu_example_complex_double.c \
  450. lu/zlu.c \
  451. lu/zlu_pivot.c \
  452. lu/zlu_kernels.c \
  453. lu/blas_complex.c \
  454. common/blas.c
  455. lu_lu_example_complex_double_LDADD = \
  456. $(STARPU_BLAS_LDFLAGS)
  457. lu_lu_implicit_example_complex_double_SOURCES = \
  458. lu/lu_example_complex_double.c \
  459. lu/zlu_implicit.c \
  460. lu/zlu_implicit_pivot.c \
  461. lu/zlu_kernels.c \
  462. lu/blas_complex.c \
  463. common/blas.c
  464. lu_lu_implicit_example_complex_double_LDADD = \
  465. $(STARPU_BLAS_LDFLAGS)
  466. endif
  467. endif
  468. ################
  469. # Heat example #
  470. ################
  471. if !NO_BLAS_LIB
  472. heat_heat_SOURCES = \
  473. heat/heat.c \
  474. heat/dw_factolu.c \
  475. heat/dw_factolu_tag.c \
  476. heat/dw_factolu_grain.c \
  477. heat/dw_sparse_cg.c \
  478. heat/heat_display.c \
  479. heat/lu_kernels_model.c \
  480. heat/dw_sparse_cg_kernels.c \
  481. heat/dw_factolu_kernels.c \
  482. common/blas.c
  483. heat_heat_LDADD = \
  484. $(STARPU_OPENGL_RENDER_LDFLAGS) \
  485. $(STARPU_BLAS_LDFLAGS)
  486. endif
  487. ##############
  488. # CG example #
  489. ##############
  490. if !NO_BLAS_LIB
  491. cg_cg_SOURCES = \
  492. cg/cg.c \
  493. cg/cg_kernels.c \
  494. common/blas.c
  495. if STARPU_USE_CUDA
  496. cg_cg_SOURCES += \
  497. cg/cg_dot_kernel.cu
  498. endif
  499. cg_cg_LDADD = \
  500. $(STARPU_BLAS_LDFLAGS)
  501. endif
  502. ################
  503. # SpMV example #
  504. ################
  505. spmv_spmv_SOURCES = \
  506. spmv/spmv.c \
  507. spmv/spmv_kernels.c
  508. if STARPU_USE_CUDA
  509. spmv_spmv_SOURCES += \
  510. spmv/spmv_cuda.cu
  511. endif
  512. if ATLAS_BLAS_LIB
  513. spmv_dw_block_spmv_SOURCES = \
  514. spmv/dw_block_spmv.c \
  515. spmv/dw_block_spmv_kernels.c \
  516. spmv/matrix_market/mm_to_bcsr.c \
  517. spmv/matrix_market/mmio.c
  518. spmv_dw_block_spmv_LDADD = \
  519. $(STARPU_BLAS_LDFLAGS)
  520. endif
  521. #######################
  522. # Incrementer example #
  523. #######################
  524. incrementer_incrementer_SOURCES = \
  525. incrementer/incrementer.c
  526. if STARPU_USE_CUDA
  527. incrementer_incrementer_SOURCES += \
  528. incrementer/incrementer_kernels.cu
  529. endif
  530. if STARPU_USE_OPENCL
  531. incrementer_incrementer_SOURCES += \
  532. incrementer/incrementer_kernels_opencl.c
  533. nobase_STARPU_OPENCL_DATA_DATA += \
  534. incrementer/incrementer_kernels_opencl_kernel.cl
  535. endif
  536. ######################
  537. # matVecMult example #
  538. ######################
  539. if STARPU_USE_OPENCL
  540. nobase_STARPU_OPENCL_DATA_DATA += \
  541. matvecmult/matvecmult_kernel.cl
  542. endif
  543. #######################
  544. # dot_product example #
  545. #######################
  546. reductions_dot_product_SOURCES = \
  547. reductions/dot_product.c
  548. if STARPU_USE_CUDA
  549. reductions_dot_product_SOURCES += \
  550. reductions/dot_product_kernels.cu
  551. endif
  552. ##################
  553. # Mandelbrot Set #
  554. ##################
  555. mandelbrot_mandelbrot_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS)
  556. if HAVE_X11
  557. mandelbrot_mandelbrot_CPPFLAGS += $(X_CFLAGS)
  558. mandelbrot_mandelbrot_LDADD = $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS)
  559. endif
  560. ################
  561. # Top Examples #
  562. ################
  563. examplebin_PROGRAMS += \
  564. top/hello_world_top
  565. top_hello_world_top_SOURCES = \
  566. top/hello_world_top.c