Makefile.am 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-2014 Université de Bordeaux 1
  4. # Copyright (C) 2010, 2011, 2012, 2013, 2014 Centre National de la Recherche Scientifique
  5. # Copyright (C) 2010, 2011, 2012 Institut National de Recherche en Informatique et Automatique
  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 = $(HWLOC_CFLAGS) $(FXT_CFLAGS) -Wall $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(STARPU_COI_CPPFLAGS) $(STARPU_SCIF_CPPFLAGS) $(GLOBAL_AM_CFLAGS) -Wno-unused
  18. LIBS = $(top_builddir)/src/@LIBSTARPU_LINK@ $(HWLOC_LIBS) $(FXT_LIBS) @LIBS@
  19. AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_builddir)/src -I$(top_srcdir)/src/
  20. AM_LDFLAGS = @STARPU_EXPORT_DYNAMIC@ $(STARPU_OPENCL_LDFLAGS) $(STARPU_CUDA_LDFLAGS) $(STARPU_COI_LDFLAGS) $(STARPU_SCIF_LDFLAGS) $(FXT_LDFLAGS)
  21. EXTRA_DIST = \
  22. helper.h \
  23. datawizard/scal.h \
  24. datawizard/mpi_like.h \
  25. microbenchs/tasks_size_overhead.sh \
  26. microbenchs/tasks_size_overhead.gp \
  27. datawizard/scratch_opencl_kernel.cl \
  28. datawizard/sync_and_notify_data_opencl_codelet.cl\
  29. datawizard/opencl_codelet_unsigned_inc_kernel.cl \
  30. coverage/coverage.sh \
  31. datawizard/acquire_release_opencl_kernel.cl \
  32. datawizard/interfaces/test_interfaces.h \
  33. datawizard/interfaces/bcsr/bcsr_opencl_kernel.cl \
  34. datawizard/interfaces/coo/coo_opencl_kernel.cl \
  35. datawizard/interfaces/matrix/matrix_opencl_kernel.cl \
  36. datawizard/interfaces/variable/variable_opencl_kernel.cl \
  37. datawizard/interfaces/vector/test_vector_opencl_kernel.cl \
  38. datawizard/interfaces/multiformat/multiformat_types.h \
  39. datawizard/interfaces/multiformat/multiformat_opencl_kernel.cl \
  40. datawizard/interfaces/multiformat/multiformat_conversion_codelets_kernel.cl \
  41. datawizard/interfaces/multiformat/advanced/generic.h \
  42. datawizard/interfaces/csr/csr_opencl_kernel.cl \
  43. datawizard/interfaces/block/block_opencl_kernel.cl \
  44. perfmodels/opencl_memset_kernel.cl
  45. CLEANFILES = \
  46. *.gcno *.gcda *.linkinfo core starpu_idle_microsec.log
  47. BUILT_SOURCES =
  48. SUBDIRS =
  49. examplebindir = $(libdir)/starpu/examples
  50. if STARPU_USE_OPENCL
  51. nobase_STARPU_OPENCL_DATA_DATA =
  52. endif
  53. if STARPU_USE_CUDA
  54. # TODO define NVCCFLAGS
  55. NVCC ?= nvcc
  56. NVCCFLAGS += -I$(top_srcdir)/include/ -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_builddir)/src/common -I$(top_builddir)/include $(HWLOC_CFLAGS) $(SIMGRID_CFLAGS)
  57. .cu.cubin:
  58. $(MKDIR_P) `dirname $@`
  59. $(NVCC) -cubin $< -o $@ --compiler-options -fno-strict-aliasing $(NVCCFLAGS)
  60. .cu.o:
  61. $(MKDIR_P) `dirname $@`
  62. $(NVCC) $< -c -o $@ --compiler-options -fno-strict-aliasing $(NVCCFLAGS) -I${includedir}
  63. endif
  64. testbindir = $(libdir)/starpu/tests
  65. #####################################
  66. # What to install and what to check #
  67. #####################################
  68. if !STARPU_HAVE_WINDOWS
  69. ## test loader program
  70. if !STARPU_CROSS_COMPILING
  71. LOADER = loader
  72. LOADER_BIN = $(abs_top_builddir)/tests/$(LOADER)
  73. else
  74. LOADER =
  75. LOADER_BIN = $(top_builddir)/tests/loader-cross.sh
  76. endif
  77. if STARPU_HAVE_AM111
  78. TESTS_ENVIRONMENT = top_builddir="$(abs_top_builddir)" top_srcdir="$(abs_top_srcdir)"
  79. LOG_COMPILER = $(LOADER_BIN)
  80. else
  81. TESTS_ENVIRONMENT = top_builddir="$(abs_top_builddir)" top_srcdir="$(abs_top_srcdir)" $(LOADER_BIN)
  82. endif
  83. endif
  84. TESTS = $(noinst_PROGRAMS)
  85. if STARPU_COVERAGE_ENABLED
  86. TESTS += coverage/coverage.sh
  87. endif
  88. XFAIL_TESTS= errorcheck/invalid_blocking_calls
  89. noinst_PROGRAMS = \
  90. main/deprecated_func \
  91. main/deprecated_buffer \
  92. main/driver_api/init_run_deinit \
  93. main/driver_api/run_driver \
  94. main/deploop \
  95. main/restart \
  96. main/execute_on_a_specific_worker \
  97. main/insert_task \
  98. main/insert_task_nullcodelet \
  99. main/insert_task_array \
  100. main/multithreaded \
  101. main/multithreaded_init \
  102. main/starpu_task_bundle \
  103. main/starpu_task_wait_for_all \
  104. main/starpu_task_wait \
  105. main/static_restartable \
  106. main/static_restartable_using_initializer\
  107. main/static_restartable_tag \
  108. main/regenerate \
  109. main/wait_all_regenerable_tasks \
  110. main/subgraph_repeat \
  111. main/subgraph_repeat_tag \
  112. main/subgraph_repeat_regenerate \
  113. main/subgraph_repeat_regenerate_tag \
  114. main/empty_task \
  115. main/empty_task_sync_point \
  116. main/empty_task_sync_point_tasks \
  117. main/empty_task_chain \
  118. main/tag_wait_api \
  119. main/task_wait_api \
  120. main/declare_deps_in_callback \
  121. main/declare_deps_after_submission \
  122. main/declare_deps_after_submission_synchronous \
  123. main/get_current_task \
  124. main/starpu_init \
  125. main/starpu_worker_exists \
  126. main/submit \
  127. main/pause_resume \
  128. main/codelet_null_callback \
  129. datawizard/allocate \
  130. datawizard/acquire_cb \
  131. datawizard/acquire_cb_insert \
  132. datawizard/acquire_release \
  133. datawizard/acquire_release2 \
  134. datawizard/commute \
  135. datawizard/copy \
  136. datawizard/data_implicit_deps \
  137. datawizard/data_lookup \
  138. datawizard/scratch \
  139. datawizard/sync_and_notify_data \
  140. datawizard/sync_and_notify_data_implicit\
  141. datawizard/dsm_stress \
  142. datawizard/double_parameter \
  143. datawizard/write_only_tmp_buffer \
  144. datawizard/data_invalidation \
  145. datawizard/dining_philosophers \
  146. datawizard/manual_reduction \
  147. datawizard/readers_and_writers \
  148. datawizard/unpartition \
  149. datawizard/user_interaction_implicit \
  150. datawizard/sync_with_data_with_mem \
  151. datawizard/sync_with_data_with_mem_non_blocking\
  152. datawizard/sync_with_data_with_mem_non_blocking_implicit\
  153. datawizard/mpi_like \
  154. datawizard/mpi_like_async \
  155. datawizard/critical_section_with_void_interface\
  156. datawizard/increment_init \
  157. datawizard/increment_redux \
  158. datawizard/increment_redux_v2 \
  159. datawizard/increment_redux_lazy \
  160. datawizard/handle_to_pointer \
  161. datawizard/lazy_allocation \
  162. datawizard/lazy_unregister \
  163. datawizard/interfaces/copy_interfaces \
  164. datawizard/interfaces/block/block_interface \
  165. datawizard/interfaces/bcsr/bcsr_interface \
  166. datawizard/interfaces/coo/coo_interface \
  167. datawizard/interfaces/csr/csr_interface \
  168. datawizard/interfaces/matrix/matrix_interface \
  169. datawizard/interfaces/multiformat/multiformat_interface \
  170. datawizard/interfaces/multiformat/advanced/multiformat_cuda_opencl \
  171. datawizard/interfaces/multiformat/advanced/multiformat_data_release \
  172. datawizard/interfaces/multiformat/advanced/multiformat_worker \
  173. datawizard/interfaces/multiformat/advanced/multiformat_handle_conversion \
  174. datawizard/interfaces/multiformat/advanced/same_handle \
  175. datawizard/interfaces/variable/variable_interface \
  176. datawizard/interfaces/vector/test_vector_interface \
  177. datawizard/interfaces/void/void_interface \
  178. datawizard/in_place_partition \
  179. datawizard/partition_lazy \
  180. datawizard/gpu_register \
  181. datawizard/wt_host \
  182. datawizard/wt_broadcast \
  183. datawizard/readonly \
  184. datawizard/specific_node \
  185. disk/disk_copy \
  186. disk/disk_compute \
  187. errorcheck/starpu_init_noworker \
  188. errorcheck/invalid_blocking_calls \
  189. errorcheck/invalid_tasks \
  190. helper/cublas_init \
  191. helper/starpu_data_cpy \
  192. helper/pinned_memory \
  193. helper/execute_on_all \
  194. helper/starpu_create_sync_task \
  195. microbenchs/async_tasks_overhead \
  196. microbenchs/sync_tasks_overhead \
  197. microbenchs/tasks_overhead \
  198. microbenchs/tasks_size_overhead \
  199. microbenchs/prefetch_data_on_node \
  200. microbenchs/redundant_buffer \
  201. microbenchs/local_pingpong \
  202. microbenchs/matrix_as_vector \
  203. openmp/init_exit_01 \
  204. openmp/init_exit_02 \
  205. openmp/environment \
  206. openmp/api_01 \
  207. openmp/parallel_01 \
  208. openmp/parallel_02 \
  209. openmp/parallel_03 \
  210. openmp/parallel_barrier_01 \
  211. openmp/parallel_master_01 \
  212. openmp/parallel_master_inline_01 \
  213. openmp/parallel_single_wait_01 \
  214. openmp/parallel_single_nowait_01 \
  215. openmp/parallel_single_inline_01 \
  216. openmp/parallel_single_copyprivate_01 \
  217. openmp/parallel_single_copyprivate_inline_01 \
  218. openmp/parallel_critical_01 \
  219. openmp/parallel_critical_inline_01 \
  220. openmp/parallel_critical_named_01 \
  221. openmp/parallel_critical_named_inline_01\
  222. openmp/parallel_simple_lock_01 \
  223. openmp/parallel_nested_lock_01 \
  224. openmp/parallel_for_01 \
  225. openmp/parallel_for_02 \
  226. openmp/parallel_for_ordered_01 \
  227. openmp/parallel_sections_01 \
  228. openmp/parallel_sections_combined_01 \
  229. openmp/task_01 \
  230. openmp/task_02 \
  231. openmp/taskwait_01 \
  232. openmp/taskgroup_01 \
  233. overlap/overlap \
  234. overlap/gpu_concurrency \
  235. parallel_tasks/explicit_combined_worker \
  236. parallel_tasks/parallel_kernels \
  237. parallel_tasks/parallel_kernels_spmd \
  238. parallel_tasks/spmd_peager \
  239. parallel_tasks/cuda_only \
  240. perfmodels/regression_based \
  241. perfmodels/non_linear_regression_based \
  242. perfmodels/feed \
  243. perfmodels/user_base \
  244. perfmodels/valid_model \
  245. perfmodels/value_nan \
  246. sched_policies/data_locality \
  247. sched_policies/execute_all_tasks \
  248. sched_policies/prio \
  249. sched_policies/simple_deps \
  250. sched_policies/simple_cpu_gpu_sched
  251. if STARPU_LONG_CHECK
  252. noinst_PROGRAMS += \
  253. main/tag_task_data_deps \
  254. datawizard/reclaim
  255. endif
  256. examplebin_PROGRAMS = \
  257. microbenchs/tasks_size_overhead \
  258. microbenchs/local_pingpong
  259. examplebin_SCRIPTS = \
  260. microbenchs/tasks_size_overhead.gp \
  261. microbenchs/tasks_size_overhead.sh
  262. if STARPU_HAVE_WINDOWS
  263. check_PROGRAMS = $(noinst_PROGRAMS)
  264. else
  265. check_PROGRAMS = $(LOADER) $(noinst_PROGRAMS)
  266. endif
  267. #######################
  268. # Source files #
  269. #######################
  270. datawizard_acquire_release_SOURCES = \
  271. datawizard/acquire_release.c
  272. if STARPU_USE_CUDA
  273. datawizard_acquire_release_SOURCES += \
  274. datawizard/acquire_release_cuda.cu
  275. endif
  276. if STARPU_USE_OPENCL
  277. datawizard_acquire_release_SOURCES += \
  278. datawizard/acquire_release_opencl.c
  279. nobase_STARPU_OPENCL_DATA_DATA += \
  280. datawizard/acquire_release_opencl_kernel.cl
  281. endif
  282. datawizard_acquire_release2_SOURCES = \
  283. datawizard/acquire_release2.c
  284. if STARPU_USE_CUDA
  285. datawizard_acquire_release2_SOURCES += \
  286. datawizard/acquire_release_cuda.cu
  287. endif
  288. if STARPU_USE_OPENCL
  289. datawizard_acquire_release2_SOURCES += \
  290. datawizard/acquire_release_opencl.c
  291. endif
  292. datawizard_scratch_SOURCES = \
  293. datawizard/scratch.c
  294. if STARPU_USE_CUDA
  295. datawizard_scratch_SOURCES += \
  296. datawizard/scratch_cuda.cu
  297. endif
  298. if STARPU_USE_OPENCL
  299. datawizard_scratch_SOURCES += \
  300. datawizard/scratch_opencl.c
  301. nobase_STARPU_OPENCL_DATA_DATA += \
  302. datawizard/scratch_opencl_kernel.cl
  303. endif
  304. datawizard_mpi_like_SOURCES = \
  305. datawizard/mpi_like.c
  306. if STARPU_USE_CUDA
  307. datawizard_mpi_like_SOURCES += \
  308. datawizard/cuda_codelet_unsigned_inc.cu
  309. endif
  310. if STARPU_USE_OPENCL
  311. datawizard_mpi_like_SOURCES += \
  312. datawizard/opencl_codelet_unsigned_inc.c
  313. nobase_STARPU_OPENCL_DATA_DATA+= \
  314. datawizard/opencl_codelet_unsigned_inc_kernel.cl
  315. endif
  316. datawizard_mpi_like_async_SOURCES = \
  317. datawizard/mpi_like_async.c
  318. if STARPU_USE_CUDA
  319. datawizard_mpi_like_async_SOURCES += \
  320. datawizard/cuda_codelet_unsigned_inc.cu
  321. endif
  322. if STARPU_USE_OPENCL
  323. datawizard_mpi_like_async_SOURCES += \
  324. datawizard/opencl_codelet_unsigned_inc.c
  325. endif
  326. datawizard_sync_and_notify_data_SOURCES = \
  327. datawizard/sync_and_notify_data.c
  328. if STARPU_USE_CUDA
  329. datawizard_sync_and_notify_data_SOURCES += \
  330. datawizard/sync_and_notify_data_kernels.cu
  331. endif
  332. if STARPU_USE_OPENCL
  333. datawizard_sync_and_notify_data_SOURCES += \
  334. datawizard/sync_and_notify_data_opencl.c
  335. nobase_STARPU_OPENCL_DATA_DATA += \
  336. datawizard/sync_and_notify_data_opencl_codelet.cl
  337. endif
  338. datawizard_sync_and_notify_data_implicit_SOURCES = \
  339. datawizard/sync_and_notify_data_implicit.c
  340. if STARPU_USE_CUDA
  341. datawizard_sync_and_notify_data_implicit_SOURCES += \
  342. datawizard/sync_and_notify_data_kernels.cu
  343. endif
  344. if STARPU_USE_OPENCL
  345. datawizard_sync_and_notify_data_implicit_SOURCES += \
  346. datawizard/sync_and_notify_data_opencl.c
  347. endif
  348. datawizard_in_place_partition_SOURCES = \
  349. datawizard/in_place_partition.c \
  350. datawizard/scal.c
  351. if STARPU_USE_CUDA
  352. datawizard_in_place_partition_SOURCES += \
  353. datawizard/scal_cuda.cu
  354. endif
  355. if STARPU_USE_OPENCL
  356. datawizard_in_place_partition_SOURCES += \
  357. datawizard/scal_opencl.cl
  358. endif
  359. datawizard_partition_lazy_SOURCES = \
  360. datawizard/partition_lazy.c \
  361. datawizard/scal.c
  362. if STARPU_USE_CUDA
  363. datawizard_partition_lazy_SOURCES += \
  364. datawizard/scal_cuda.cu
  365. endif
  366. if STARPU_USE_OPENCL
  367. datawizard_partition_lazy_SOURCES += \
  368. datawizard/scal_opencl.cl
  369. endif
  370. datawizard_gpu_register_SOURCES = \
  371. datawizard/gpu_register.c \
  372. datawizard/scal.c
  373. if STARPU_USE_CUDA
  374. datawizard_gpu_register_SOURCES += \
  375. datawizard/scal_cuda.cu
  376. endif
  377. if STARPU_USE_OPENCL
  378. datawizard_gpu_register_SOURCES += \
  379. datawizard/scal_opencl.cl
  380. endif
  381. datawizard_wt_host_SOURCES = \
  382. datawizard/wt_host.c
  383. datawizard_wt_broadcast_SOURCES = \
  384. datawizard/wt_broadcast.c
  385. datawizard_specific_node_SOURCES = \
  386. datawizard/specific_node.c
  387. if STARPU_USE_CUDA
  388. datawizard_specific_node_SOURCES += \
  389. datawizard/cuda_codelet_unsigned_inc.cu
  390. endif
  391. if STARPU_USE_OPENCL
  392. datawizard_specific_node_SOURCES += \
  393. datawizard/opencl_codelet_unsigned_inc.c
  394. endif
  395. main_deprecated_func_CFLAGS = $(AM_CFLAGS) -Wno-deprecated-declarations
  396. main_deprecated_buffer_CFLAGS = $(AM_CFLAGS) -Wno-deprecated-declarations
  397. main_subgraph_repeat_SOURCES = \
  398. main/subgraph_repeat.c
  399. if STARPU_USE_CUDA
  400. main_subgraph_repeat_SOURCES += \
  401. main/increment.cu
  402. endif
  403. main_subgraph_repeat_tag_SOURCES = \
  404. main/subgraph_repeat_tag.c
  405. if STARPU_USE_CUDA
  406. main_subgraph_repeat_tag_SOURCES += \
  407. main/increment.cu
  408. endif
  409. main_subgraph_repeat_regenerate_SOURCES = \
  410. main/subgraph_repeat.c
  411. if STARPU_USE_CUDA
  412. main_subgraph_repeat_regenerate_SOURCES += \
  413. main/increment.cu
  414. endif
  415. main_subgraph_repeat_regenerate_tag_SOURCES = \
  416. main/subgraph_repeat_regenerate_tag.c
  417. if STARPU_USE_CUDA
  418. main_subgraph_repeat_regenerate_tag_SOURCES += \
  419. main/increment.cu
  420. endif
  421. openmp_init_exit_01_SOURCES = \
  422. openmp/init_exit_01.c
  423. openmp_init_exit_02_SOURCES = \
  424. openmp/init_exit_02.c
  425. openmp_environment_SOURCES = \
  426. openmp/environment.c
  427. openmp_api_01_SOURCES = \
  428. openmp/api_01.c
  429. openmp_parallel_01_SOURCES = \
  430. openmp/parallel_01.c
  431. openmp_parallel_02_SOURCES = \
  432. openmp/parallel_02.c
  433. openmp_parallel_03_SOURCES = \
  434. openmp/parallel_03.c
  435. openmp_parallel_barrier_01_SOURCES = \
  436. openmp/parallel_barrier_01.c
  437. openmp_parallel_master_01_SOURCES = \
  438. openmp/parallel_master_01.c
  439. openmp_parallel_master_inline_01_SOURCES = \
  440. openmp/parallel_master_inline_01.c
  441. openmp_parallel_single_wait_01_SOURCES = \
  442. openmp/parallel_single_wait_01.c
  443. openmp_parallel_single_nowait_01_SOURCES = \
  444. openmp/parallel_single_nowait_01.c
  445. openmp_parallel_single_inline_01_SOURCES = \
  446. openmp/parallel_single_inline_01.c
  447. openmp_parallel_single_copyprivate_01_SOURCES = \
  448. openmp/parallel_single_copyprivate_01.c
  449. openmp_parallel_single_copyprivate_inline_01_SOURCES = \
  450. openmp/parallel_single_copyprivate_inline_01.c
  451. openmp_parallel_critical_01_SOURCES = \
  452. openmp/parallel_critical_01.c
  453. openmp_parallel_critical_inline_01_SOURCES = \
  454. openmp/parallel_critical_inline_01.c
  455. openmp_parallel_critical_named_01_SOURCES = \
  456. openmp/parallel_critical_named_01.c
  457. openmp_parallel_critical_named_inline_01_SOURCES = \
  458. openmp/parallel_critical_named_inline_01.c
  459. openmp_parallel_simple_lock_01_SOURCES = \
  460. openmp/parallel_simple_lock_01.c
  461. openmp_parallel_nested_lock_01_SOURCES = \
  462. openmp/parallel_nested_lock_01.c
  463. openmp_parallel_for_01_SOURCES = \
  464. openmp/parallel_for_01.c
  465. openmp_parallel_for_02_SOURCES = \
  466. openmp/parallel_for_02.c
  467. openmp_parallel_for_ordered_01_SOURCES = \
  468. openmp/parallel_for_ordered_01.c
  469. openmp_parallel_sections_01_SOURCES = \
  470. openmp/parallel_sections_01.c
  471. openmp_parallel_sections_combined_01_SOURCES = \
  472. openmp/parallel_sections_combined_01.c
  473. openmp_task_01_SOURCES = \
  474. openmp/task_01.c
  475. openmp_task_02_SOURCES = \
  476. openmp/task_02.c
  477. openmp_taskwait_01_SOURCES = \
  478. openmp/taskwait_01.c
  479. openmp_taskgroup_01_SOURCES = \
  480. openmp/taskgroup_01.c
  481. ###################
  482. # Block interface #
  483. ###################
  484. datawizard_interfaces_block_block_interface_SOURCES= \
  485. datawizard/interfaces/test_interfaces.c \
  486. datawizard/interfaces/block/block_interface.c
  487. if STARPU_USE_CUDA
  488. datawizard_interfaces_block_block_interface_SOURCES+= \
  489. datawizard/interfaces/block/block_cuda.cu
  490. endif
  491. if STARPU_USE_OPENCL
  492. datawizard_interfaces_block_block_interface_SOURCES+= \
  493. datawizard/interfaces/block/block_opencl.c
  494. nobase_STARPU_OPENCL_DATA_DATA += \
  495. datawizard/interfaces/block/block_opencl_kernel.cl
  496. endif
  497. ##################
  498. # BSCR interface #
  499. ##################
  500. datawizard_interfaces_bcsr_bcsr_interface_SOURCES= \
  501. datawizard/interfaces/test_interfaces.c \
  502. datawizard/interfaces/bcsr/bcsr_interface.c
  503. if STARPU_USE_CUDA
  504. datawizard_interfaces_bcsr_bcsr_interface_SOURCES+= \
  505. datawizard/interfaces/bcsr/bcsr_cuda.cu
  506. endif
  507. if STARPU_USE_OPENCL
  508. datawizard_interfaces_bcsr_bcsr_interface_SOURCES+= \
  509. datawizard/interfaces/bcsr/bcsr_opencl.c
  510. nobase_STARPU_OPENCL_DATA_DATA += \
  511. datawizard/interfaces/bcsr/bcsr_opencl_kernel.cl
  512. endif
  513. #################
  514. # COO interface #
  515. #################
  516. datawizard_interfaces_coo_coo_interface_SOURCES= \
  517. datawizard/interfaces/test_interfaces.c \
  518. datawizard/interfaces/coo/coo_interface.c
  519. if STARPU_USE_CUDA
  520. datawizard_interfaces_coo_coo_interface_SOURCES+= \
  521. datawizard/interfaces/coo/coo_cuda.cu
  522. endif
  523. if STARPU_USE_OPENCL
  524. datawizard_interfaces_coo_coo_interface_SOURCES+= \
  525. datawizard/interfaces/coo/coo_opencl.c
  526. nobase_STARPU_OPENCL_DATA_DATA += \
  527. datawizard/interfaces/coo/coo_opencl_kernel.cl
  528. endif
  529. #################
  530. # CSR interface #
  531. #################
  532. datawizard_interfaces_csr_csr_interface_SOURCES= \
  533. datawizard/interfaces/test_interfaces.c \
  534. datawizard/interfaces/csr/csr_interface.c
  535. if STARPU_USE_CUDA
  536. datawizard_interfaces_csr_csr_interface_SOURCES+= \
  537. datawizard/interfaces/csr/csr_cuda.cu
  538. endif
  539. if STARPU_USE_OPENCL
  540. datawizard_interfaces_csr_csr_interface_SOURCES+= \
  541. datawizard/interfaces/csr/csr_opencl.c
  542. nobase_STARPU_OPENCL_DATA_DATA += \
  543. datawizard/interfaces/csr/csr_opencl_kernel.cl
  544. endif
  545. datawizard_interfaces_vector_test_vector_interface_SOURCES = \
  546. datawizard/interfaces/vector/test_vector_interface.c \
  547. datawizard/interfaces/test_interfaces.c
  548. if STARPU_USE_CUDA
  549. datawizard_interfaces_vector_test_vector_interface_SOURCES += \
  550. datawizard/interfaces/vector/test_vector_cuda.cu
  551. endif
  552. if STARPU_USE_OPENCL
  553. datawizard_interfaces_vector_test_vector_interface_SOURCES += \
  554. datawizard/interfaces/vector/test_vector_opencl.c
  555. nobase_STARPU_OPENCL_DATA_DATA += \
  556. datawizard/interfaces/vector/test_vector_opencl_kernel.cl
  557. endif
  558. ####################
  559. # Matrix interface #
  560. ####################
  561. datawizard_interfaces_matrix_matrix_interface_SOURCES= \
  562. datawizard/interfaces/test_interfaces.c \
  563. datawizard/interfaces/matrix/matrix_interface.c
  564. if STARPU_USE_CUDA
  565. datawizard_interfaces_matrix_matrix_interface_SOURCES+= \
  566. datawizard/interfaces/matrix/matrix_cuda.cu
  567. endif
  568. if STARPU_USE_OPENCL
  569. datawizard_interfaces_matrix_matrix_interface_SOURCES+= \
  570. datawizard/interfaces/matrix/matrix_opencl.c
  571. nobase_STARPU_OPENCL_DATA_DATA+= \
  572. datawizard/interfaces/matrix/matrix_opencl_kernel.cl
  573. endif
  574. #########################
  575. # Multiformat interface #
  576. #########################
  577. datawizard_interfaces_multiformat_multiformat_interface_SOURCES = \
  578. datawizard/interfaces/test_interfaces.c \
  579. datawizard/interfaces/multiformat/multiformat_interface.c \
  580. datawizard/interfaces/multiformat/multiformat_conversion_codelets.c
  581. if STARPU_USE_CUDA
  582. datawizard_interfaces_multiformat_multiformat_interface_SOURCES+= \
  583. datawizard/interfaces/multiformat/multiformat_cuda.cu \
  584. datawizard/interfaces/multiformat/multiformat_conversion_codelets_cuda.cu
  585. endif
  586. if STARPU_USE_OPENCL
  587. datawizard_interfaces_multiformat_multiformat_interface_SOURCES+= \
  588. datawizard/interfaces/multiformat/multiformat_opencl.c \
  589. datawizard/interfaces/multiformat/multiformat_conversion_codelets_opencl.c
  590. nobase_STARPU_OPENCL_DATA_DATA += \
  591. datawizard/interfaces/multiformat/multiformat_opencl_kernel.cl \
  592. datawizard/interfaces/multiformat/multiformat_conversion_codelets_kernel.cl
  593. endif
  594. datawizard_interfaces_multiformat_advanced_multiformat_cuda_opencl_SOURCES=\
  595. datawizard/interfaces/multiformat/advanced/generic.c \
  596. datawizard/interfaces/multiformat/advanced/multiformat_cuda_opencl.c
  597. datawizard_interfaces_multiformat_advanced_multiformat_data_release_SOURCES = \
  598. datawizard/interfaces/multiformat/advanced/generic.c \
  599. datawizard/interfaces/multiformat/advanced/multiformat_data_release.c
  600. datawizard_interfaces_multiformat_advanced_multiformat_worker_SOURCES=\
  601. datawizard/interfaces/multiformat/advanced/generic.c \
  602. datawizard/interfaces/multiformat/advanced/multiformat_worker.c
  603. datawizard_interfaces_multiformat_advanced_multiformat_handle_conversion_SOURCES = \
  604. datawizard/interfaces/multiformat/advanced/generic.c \
  605. datawizard/interfaces/multiformat/advanced/multiformat_handle_conversion.c
  606. datawizard_interfaces_multiformat_advanced_same_handle_SOURCES= \
  607. datawizard/interfaces/multiformat/advanced/generic.c \
  608. datawizard/interfaces/multiformat/advanced/same_handle.c
  609. datawizard_interfaces_variable_variable_interface_SOURCES= \
  610. datawizard/interfaces/test_interfaces.c \
  611. datawizard/interfaces/variable/variable_interface.c
  612. if STARPU_USE_CUDA
  613. datawizard_interfaces_variable_variable_interface_SOURCES+= \
  614. datawizard/interfaces/variable/variable_cuda.cu
  615. endif
  616. if STARPU_USE_OPENCL
  617. datawizard_interfaces_variable_variable_interface_SOURCES+= \
  618. datawizard/interfaces/variable/variable_opencl.c
  619. nobase_STARPU_OPENCL_DATA_DATA += \
  620. datawizard/interfaces/variable/variable_opencl_kernel.cl
  621. endif
  622. ##################
  623. # Void interface #
  624. ##################
  625. datawizard_interfaces_void_void_interface_SOURCES=\
  626. datawizard/interfaces/test_interfaces.c \
  627. datawizard/interfaces/void/void_interface.c
  628. overlap_gpu_concurrency_SOURCES=\
  629. overlap/gpu_concurrency.c
  630. if STARPU_USE_CUDA
  631. overlap_gpu_concurrency_SOURCES+=\
  632. overlap/long_kernel.cu
  633. endif
  634. perfmodels_regression_based_SOURCES=\
  635. perfmodels/regression_based.c
  636. if STARPU_USE_OPENCL
  637. perfmodels_regression_based_SOURCES+=\
  638. perfmodels/opencl_memset.c
  639. nobase_STARPU_OPENCL_DATA_DATA += \
  640. perfmodels/opencl_memset_kernel.cl
  641. endif
  642. perfmodels_non_linear_regression_based_SOURCES=\
  643. perfmodels/non_linear_regression_based.c
  644. if STARPU_USE_OPENCL
  645. perfmodels_non_linear_regression_based_SOURCES+=\
  646. perfmodels/opencl_memset.c
  647. endif
  648. perfmodels_feed_SOURCES=\
  649. perfmodels/feed.c
  650. sched_policies_execute_all_tasks_LDFLAGS = $(AM_LDFLAGS) -lm
  651. showcheck:
  652. -cat $(TEST_LOGS) /dev/null