ChangeLog 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-2021 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
  4. #
  5. # StarPU is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU Lesser General Public License as published by
  7. # the Free Software Foundation; either version 2.1 of the License, or (at
  8. # your option) any later version.
  9. #
  10. # StarPU is distributed in the hope that it will be useful, but
  11. # WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. #
  14. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  15. #
  16. StarPU 1.4.0 (git revision xxxx)
  17. ==============================================
  18. New features:
  19. * Fault tolerance support with starpu_task_ft_failed().
  20. * Julia programming interface.
  21. * Add get_max_size method to data interfaces for applications using data with
  22. variable size to express their maximal potential size.
  23. * New offline tool to draw graph showing elapsed time between sent
  24. or received data and their use by tasks
  25. * Add 4D tensor data interface.
  26. * New sched_tasks.rec trace file which monitors task scheduling push/pop actions
  27. * New STARPU_MPI_MEM_THROTTLE environment variable to throttle mpi
  28. submission according to memory use.
  29. * New number_events.data trace file which monitors number of events in trace
  30. files. This file can be parsed by the new script
  31. starpu_fxt_number_events_to_names.py to convert event keys to event names.
  32. * New STARPU_PER_WORKER perfmodel.
  33. * Add energy accounting in the simgrid mode: starpu_energy_use() and
  34. starpu_energy_used().
  35. * New function starpu_mpi_get_thread_cpuid() to know where is bound the MPI
  36. thread.
  37. * New function starpu_get_pu_os_index() to convert logical index of a PU to
  38. its OS index.
  39. * New function starpu_get_hwloc_topology() to get the hwloc topology used by
  40. StarPU.
  41. * Add a task prefetch level, to improve retaining data in accelerators so we
  42. can make prefetch more aggressive.
  43. * Add starpu_data_dup_ro().
  44. * Add starpu_data_release_to() and starpu_data_release_to_on_node().
  45. * Add profiling based on papi performance counters.
  46. * Add an experimental python interface (not actually parallel yet)
  47. * Add task submission file+line in traces.
  48. * Add papi- and nvml-based energy measurement.
  49. * Add starpu_mpi_datatype_node_register and
  50. starpu_mpi_interface_datatype_node_register which will be needed for
  51. MPI/NUMA/GPUDirect.
  52. * Add peek_data interface method.
  53. * Add STARPU_MPI_REDUX
  54. * Add starpu_data_query_status2 function.
  55. * Add a StarPU Eclipse Plugin
  56. Small features:
  57. * New configure option --with-check-cflags to define flags for C,
  58. CXX and Fortran compilers
  59. * FxT is now automatically enabled at build-time, but not enabled at
  60. run-time by default any more, STARPU_FXT_TRACE needs to be explicitly set to
  61. 1 to enable FxT trace recording.
  62. * Deprecate starpu_free() and add new function starpu_free_noflag()
  63. to specify allocated size.
  64. Small changes:
  65. * Add a synthetic energy efficiency testcase.
  66. * Make reduction methods want the commute flag.
  67. * Delete old MIC driver code
  68. * Rename
  69. - starpu_conf::sched_policy_init to starpu_conf::sched_policy_callback
  70. and
  71. - starpu_sched_ctx_get_sched_policy_init() to starpu_sched_ctx_get_sched_policy_callback()
  72. as the callback function may not only be used for init purposes
  73. - Change the default value for configure option --enable-maxcpus to
  74. auto. it allows StarPU to automatically use the number of CPUs
  75. on the build machine.
  76. - New option --worker for tool starpu_machine_display to only
  77. display workers of a specific type
  78. StarPU 1.3.8
  79. ====================================================================
  80. Small features:
  81. * A codelet can now define a callback function pointer which will be
  82. automatically called when the task does not define itself a
  83. callback function, in that case, it can still be called from the
  84. task callback function.
  85. * New STARPU_WORKERS_COREID, STARPU_MAIN_THREAD_COREID and
  86. STARPU_MPI_THREAD_COREID environment variables to bind threads to cores
  87. instead of hyperthreads.
  88. * New STARPU_TASK_PROGRESS environment variable to show task progression.
  89. * Add STARPU_SIMGRID environment variable guard against native builds.
  90. * Add starpu_cuda_get_nvmldev function.
  91. * Add starpu_sched_tree_deinitialize function.
  92. * Add STARPU_SCHED_SORTED_ABOVE and STARPU_SCHED_SORTED_BELOW environment
  93. variables.
  94. * Add STARPU_SCHED_SIMPLE_PRE_DECISION.
  95. * Add starpu_bcsr_filter_canonical_block_get_nchildren.
  96. * Add unregister_data_handle handle ops.
  97. StarPU 1.3.7
  98. ====================================================================
  99. Small changes:
  100. * Simgrid: bug fix for setting network/weight-S to 0.0
  101. StarPU 1.3.6 (git revision fb9fbed81410d9f0ebbff5bdad1352df4705efe8)
  102. ====================================================================
  103. Small features:
  104. * New STARPU_BACKOFF_MIN and STARPU_BACKOFF_MAX environment variables to the
  105. exponential backoff limits of the number of cycles to pause while drivers
  106. are spinning.
  107. * Add STARPU_DISPLAY_BINDINGS environment variable and
  108. starpu_display_bindings() function to display all bindings on the machine by
  109. calling hwloc-ps
  110. * New function starpu_get_pu_os_index() to convert logical index of a PU to
  111. its OS index.
  112. * New function starpu_get_hwloc_topology() to get the hwloc topology used by
  113. StarPU.
  114. StarPU 1.3.5 (git revision 5f7458799f548026fab357b18541bb462dde2b53)
  115. ====================================================================
  116. Small features:
  117. * New environment variable STARPU_FXT_SUFFIX to set the filename in
  118. which to save the fxt trace
  119. * New option -d for starpu_fxt_tool to specify in which directory to
  120. generate files
  121. Small changes:
  122. * Move MPI cache functions into the public API
  123. * Add STARPU_MPI_NOBIND environment variable.
  124. StarPU 1.3.4 (git revision c37a5d024cd997596da41f765557c58099baf896)
  125. ====================================================================
  126. Small features:
  127. * New environment variables STARPU_BUS_STATS_FILE and
  128. STARPU_WORKER_STATS_FILE to specify files in which to display
  129. statistics about data transfers and workers.
  130. * Add starpu_bcsr_filter_vertical_block filtering function.
  131. * Add starpu_interface_copy2d, 3d, and 4d to easily request data copies from
  132. data interfaces.
  133. * Move optimized cuda 2d copy from interfaces to new
  134. starpu_cuda_copy2d_async_sync and starpu_cuda_copy3d_async_sync, and use
  135. them from starpu_interface_copy2d and 3d.
  136. * New function starpu_task_watchdog_set_hook to specify a function
  137. to be called when the watchdog is raised
  138. * Add STARPU_LIMIT_CPU_NUMA_MEM environment variable.
  139. * Add STARPU_WORKERS_GETBIND environment variable.
  140. * Add STARPU_SCHED_SIMPLE_DECIDE_ALWAYS modular scheduler flag.
  141. * And STARPU_LIMIT_BANDWIDTH environment variable.
  142. * Add field starpu_conf::precedence_over_environment_variables to ignore
  143. environment variables when parameters are set directly in starpu_conf
  144. * Add starpu_data_get_coordinates_array
  145. * MPI: new functions starpu_mpi_interface_datatype_register() and
  146. starpu_mpi_interface_datatype_unregister() which take a enum
  147. starpu_data_interface_id instead of a starpu_data_handle_t
  148. * New script starpu_env to set up StarPU environment variables
  149. Small changes:
  150. * New configure option --disable-build-doc-pdf
  151. StarPU 1.3.3 (git revision 11afc5b007fe1ab1c729b55b47a5a98ef7f3cfad)
  152. ====================================================================
  153. New features:
  154. * New semantic for starpu_task_insert() and alike parameters
  155. STARPU_CALLBACK_ARG, STARPU_PROLOGUE_CALLBACK_ARG, and
  156. STARPU_PROLOGUE_CALLBACK_POP_ARG which set respectively
  157. starpu_task::callback_arg_free,
  158. starpu_task::prologue_callback_arg_free and
  159. starpu_task::prologue_callback_pop_arg_free to 1 when used.
  160. New parameters STARPU_CALLBACK_ARG_NFREE,
  161. STARPU_CALLBACK_WITH_ARG_NFREE, STARPU_PROLOGUE_CALLBACK_ARG_NFREE, and
  162. STARPU_PROLOGUE_CALLBACK_POP_ARG_NFREE which set the corresponding
  163. fields of starpu_task to 0.
  164. * starpufft: Support 3D.
  165. * New modular-eager-prio scheduler.
  166. * Add 'ready' heuristic to modular schedulers.
  167. * New modular-heteroprio scheduler.
  168. * Add STARPU_TASK_SCHED_DATA
  169. * Add support for staging schedulers.
  170. * New modular-heteroprio-heft scheduler.
  171. * New dmdap "data-aware performance model (priority)" scheduler
  172. Changes:
  173. * Modification in the Native Fortran interface of the functions
  174. fstarpu_mpi_task_insert, fstarpu_mpi_task_build and
  175. fstarpu_mpi_task_post_build to only take 1 parameter being the MPI
  176. communicator, the codelet and the various parameters for the task.
  177. Small features:
  178. * New starpu_task_insert() and alike parameter STARPU_TASK_WORKERIDS
  179. allowing to set the fields starpu_task::workerids_len and
  180. starpu_task::workerids
  181. * New starpu_task_insert() and alike parameters
  182. STARPU_SEQUENTIAL_CONSISTENCY, STARPU_TASK_NO_SUBMITORDER and
  183. STARPU_TASK_PROFILING_INFO
  184. * New function starpu_create_callback_task() which creates and
  185. submits an empty task with the specified callback
  186. * Use the S4U interface of Simgrid instead of xbt and MSG.
  187. Small changes:
  188. * Default modular worker queues to 2 tasks unless it's an heft
  189. scheduler
  190. * Separate out STATUS_SLEEPING_SCHEDULING state from
  191. STATUS_SLEEPING state
  192. When running the scheduler while being idle, workers do not go in
  193. the STATUS_SCHEDULING state, so that that time is considered as
  194. idle time instead of overhead.
  195. StarPU 1.3.2 (git revision af22a20fc00a37addf3cc6506305f89feed940b0)
  196. ====================================================================
  197. Small changes:
  198. * Improve OpenMP support to detect the environment is valid before
  199. launching OpenMP
  200. * Delete old code (drivers gordon, scc, starpu-top, and plugin gcc)
  201. and update authors file accordingly
  202. * Add Heteroprio documentation (including a simple example)
  203. * Add a progression hook, to be called when workers are idle, which
  204. is used in the NewMadeleine implementation of StarPU-MPI to ensure
  205. communications progress.
  206. StarPU 1.3.1 (git revision 01949488b4f8e6fe26d2c200293b8aae5876b038)
  207. ====================================================================
  208. Small features:
  209. * Add starpu_filter_nparts_compute_chunk_size_and_offset helper.
  210. * Add starpu_bcsr_filter_canonical_block_child_ops.
  211. Small changes:
  212. * Improve detection of NVML availability. Do not only check the
  213. library is available, also check the compiled code can be run.
  214. StarPU 1.3.0 (git revision 24ca83c6dbb102e1cfc41db3bb21c49662067062)
  215. ====================================================================
  216. New features:
  217. * New scheduler 'heteroprio' with heterogeneous priorities
  218. * Support priorities for data transfers.
  219. * Add support for multiple linear regression performance models
  220. - Bump performance model file format version to 45.
  221. * Add MPI Master-Slave support to use the cores of remote nodes. Use the
  222. --enable-mpi-master-slave option to activate it.
  223. * Add STARPU_CUDA_THREAD_PER_DEV environment variable to support driving all
  224. GPUs from only one thread when almost all kernels are asynchronous.
  225. * Add starpu_replay tool to replay tasks.rec files with Simgrid.
  226. * Add experimental support of NUMA nodes. Use STARPU_USE_NUMA to activate it.
  227. * Add a new set of functions to make Out-of-Core based on HDF5 Library.
  228. * Add a new implementation of StarPU-MPI on top of NewMadeleine
  229. * Add optional callbacks to notify an external resource manager
  230. about workers going to sleep and waking up
  231. * Add implicit support for asynchronous partition planning. This means one
  232. does not need to call starpu_data_partition_submit() etc. explicitly any
  233. more, StarPU will make the appropriate calls as needed.
  234. * Add starpu_task_notify_ready_soon_register() to be notified when it is
  235. determined when a task will be ready an estimated amount of time from now.
  236. * New StarPU-MPI initialization function (starpu_mpi_init_conf())
  237. which allows StarPU-MPI to manage reserving a core for the MPI thread, or
  238. merging it with CPU driver 0.
  239. * Add possibility to delay the termination of a task with the
  240. functions starpu_task_end_dep_add() which specifies the number of
  241. calls to the function starpu_task_end_dep_release() needed to
  242. trigger the task termination, or with starpu_task_declare_end_deps_array()
  243. and starpu_task_declare_end_deps() to just declare termination dependencies
  244. between tasks.
  245. * Add possibility to define the sequential consistency at the task level
  246. for each handle used by the task.
  247. * Add STARPU_SPECIFIC_NODE_LOCAL, STARPU_SPECIFIC_NODE_CPU, and
  248. STARPU_SPECIFIC_NODE_SLOW as generic values for codelet specific memory
  249. nodes which can be used instead of exact node numbers.
  250. * Add starpu_get_next_bindid() and starpu_bind_thread_on() to allow
  251. binding an application-started thread on a free core. Use it in
  252. StarPU-MPI to automatically bind the MPI thread on an available core.
  253. * Add STARPU_RESERVE_NCPU environment variable and
  254. starpu_config::reserve_ncpus field to make StarPU use a few cores
  255. less.
  256. * Add STARPU_MAIN_THREAD_BIND environment variable to make StarPU reserve a
  257. core for the main thread.
  258. * New StarPU-RM resource management module to share processor cores and
  259. accelerator devices with other parallel runtime systems. Use
  260. --enable-starpurm option to activate it.
  261. * New schedulers modular-gemm, modular-pheft, modular-prandom and
  262. modular-prandom-prio
  263. * Add STARPU_MATRIX_SET_NX/NY/LD and STARPU_VECTOR_SET_NX to change a matrix
  264. tile or vector size without reallocating the buffer.
  265. * Application can change the allocation used by StarPU with
  266. starpu_malloc_set_hooks()
  267. * XML output for starpu_perfmodel_display and starpu_perfmodel_dump_xml()
  268. function
  269. Small features:
  270. * Scheduling contexts may now be associated a user data pointer at creation
  271. time, that can later be recalled through starpu_sched_ctx_get_user_data().
  272. * New environment variables STARPU_SIMGRID_TASK_SUBMIT_COST and
  273. STARPU_SIMGRID_FETCHING_INPUT_COST to simulate the cost of task
  274. submission and data fetching in simgrid mode.
  275. This provides more accurate simgrid predictions, especially for the
  276. beginning of the execution and regarding data transfers.
  277. * New environment variable STARPU_SIMGRID_SCHED_COST to take into
  278. account the time to perform scheduling when running in SimGrid mode.
  279. * New configure option --enable-mpi-pedantic-isend (disabled by
  280. default) to acquire data in STARPU_RW (instead of STARPU_R) before
  281. performing MPI_Isend() call
  282. * New function starpu_worker_display_names() to display the names of
  283. all the workers of a specified type.
  284. * Arbiters now support concurrent read access.
  285. * Add a field starpu_task::where similar to starpu_codelet::where
  286. which allows to restrict where to execute a task. Also add
  287. STARPU_TASK_WHERE to be used when calling starpu_task_insert().
  288. * Add SubmitOrder trace field.
  289. * Add workerids and workerids_len task fields.
  290. * Add priority management to StarPU-MPI. Can be disabled with
  291. the STARPU_MPI_PRIORITIES environment variable.
  292. * Add STARPU_MAIN_THREAD_CPUID and STARPU_MPI_THREAD_CPUID environment
  293. variables.
  294. * Add disk to disk copy functions and support asynchronous full read/write
  295. in disk backends.
  296. * New starpu_task_insert() parameter STARPU_CL_ARGS_NFREE which allows
  297. to set codelet parameters but without freeing them.
  298. * New starpu_task_insert() parameter STARPU_TASK_DEPS_ARRAY which
  299. allows to declare task dependencies similarly to
  300. starpu_task_declare_deps_array()
  301. * Add dependency backward information in debugging mode for gdb's
  302. starpu-print-task
  303. * Add sched_data field in starpu_task structure.
  304. * New starpu_fxt_tool option -label-deps to label dependencies on
  305. the output graph
  306. * New environment variable STARPU_GENERATE_TRACE_OPTIONS to specify
  307. fxt options (to be used with STARPU_GENERATE_TRACE)
  308. * New function starpu_task_set() similar as starpu_task_build() but
  309. with a task object given as the first parameter
  310. * New functions
  311. starpu_data_partition_submit_sequential_consistency() and
  312. starpu_data_unpartition_submit_sequential_consistency()
  313. * Add a new value STARPU_TASK_SYNCHRONOUS to be used in
  314. starpu_task_insert() to define if the task is (or not) synchronous
  315. * Add memory states events in the traces.
  316. * Add starpu_sched_component_estimated_end_min_add() to fix termination
  317. estimations in modular schedulers.
  318. * New function starpu_data_partition_not_automatic() to disable the
  319. automatic partitioning of a data handle for which a asynchronous
  320. plan has previously been submitted
  321. * Add starpu_task_declare_deps()
  322. * New function starpu_data_unpartition_submit_sequential_consistency_cb()
  323. to specify a callback for the task submitting the unpartitioning
  324. * New tool starpu_mpi_comm_trace.py to draw heatmap of MPI
  325. communications
  326. * Support for ARM performance libraries
  327. * Add functionality to disable signal catching either through field
  328. starpu_conf::catch_signals or through the environment variable
  329. STARPU_CATCH_SIGNALS
  330. * Support for OpenMP Taskloop directive
  331. * Optional data interface init function (used by the vector and
  332. matrix interfaces)
  333. Changes:
  334. * Vastly improve simgrid simulation time.
  335. * Switch default scheduler to lws.
  336. * Add "to" parameter to pull_task and can_push methods of
  337. components.
  338. * Deprecate starpu_data_interface_ops::handle_to_pointer interface
  339. operation in favor of new starpu_data_interface_ops::to_pointer
  340. operation.
  341. * Sort data access requests by priority.
  342. * Cluster support is disabled by default, unless the configure
  343. option --enable-cluster is specified
  344. * For unpack operations, move the memory deallocation from
  345. starpu_data_unpack() to the interface function
  346. starpu_data_interface_ops::unpack_data(). Pack and unpack
  347. functions of predefined interfaces
  348. use public API starpu_malloc_on_node_flags() and
  349. starpu_free_on_node_flags() to allocate and de-allocate memory
  350. Small changes:
  351. * Use asynchronous transfers for task data fetches with were not prefetched.
  352. * Allow to call starpu_sched_ctx_set_policy_data on the main
  353. scheduler context
  354. * Fonction starpu_is_initialized() is moved to the public API.
  355. * Fix code to allow to submit tasks to empty contexts
  356. * STARPU_COMM_STATS also displays the bandwidth
  357. * Update data interfaces implementations to only use public API
  358. StarPU 1.2.11 (git revision xxx)
  359. ====================================================================
  360. Small features:
  361. * Add starpu_tag_notify_restart_from_apps().
  362. StarPU 1.2.10 (git revision beb6ac9cc07dc9ae1c838a38d11ed2dae3775996)
  363. ====================================================================
  364. Small features:
  365. * New script starpu_env to set up StarPU environment variables
  366. * New configure option --disable-build-doc-pdf
  367. StarPU 1.2.9 (git revision 3aca8da3138a99e93d7f93905d2543bd6f1ea1df)
  368. ====================================================================
  369. Small changes:
  370. * Add STARPU_SIMGRID_TRANSFER_COST environment variable to easily disable
  371. data transfer costs.
  372. * New dmdap "data-aware performance model (priority)" scheduler
  373. * Modification in the Native Fortran interface of the functions
  374. fstarpu_mpi_task_insert, fstarpu_mpi_task_build and
  375. fstarpu_mpi_task_post_build to only take 1 parameter being the MPI
  376. communicator, the codelet and the various parameters for the task.
  377. StarPU 1.2.8 (git revision f66374c9ad39aefb7cf5dfc31f9ab3d756bcdc3c)
  378. ====================================================================
  379. Small features:
  380. * Minor fixes
  381. StarPU 1.2.7 (git revision 07cb7533c22958a76351bec002955f0e2818c530)
  382. ====================================================================
  383. Small features:
  384. * Add STARPU_HWLOC_INPUT environment variable to save initialization time.
  385. * Add starpu_data_set/get_ooc_flag.
  386. * Use starpu_mpi_tag_t (int64_t) for MPI communication tag
  387. StarPU 1.2.6 (git revision 23049adea01837479f309a75c002dacd16eb34ad)
  388. ====================================================================
  389. Small changes:
  390. * Fix crash for lws scheduler
  391. * Avoid making hwloc load PCI topology when CUDA is not enabled
  392. StarPU 1.2.5 (git revision 22f32916916d158e3420033aa160854d1dd341bd)
  393. ====================================================================
  394. Small features:
  395. * Add a new value STARPU_TASK_COLOR to be used in
  396. starpu_task_insert() to pick up the color of a task in dag.dot
  397. * Add starpu_data_pointer_is_inside().
  398. Changes:
  399. * Do not export -lcuda -lcudart -lOpenCL in *starpu*.pc.
  400. StarPU 1.2.4 (git revision 255cf98175ef462749780f30bfed21452b74b594)
  401. ====================================================================
  402. Small features:
  403. * Catch of signals SIGINT and SIGSEGV to dump fxt trace files.
  404. * New configure option --disable-icc to disable the compilation of
  405. specific ICC examples
  406. * Add starpu_codelet_pack_arg_init, starpu_codelet_pack_arg,
  407. starpu_codelet_pack_arg_fini for more fine-grain packing capabilities.
  408. * Add starpu_task_insert_data_make_room,
  409. starpu_task_insert_data_process_arg,
  410. starpu_task_insert_data_process_array_arg,
  411. starpu_task_insert_data_process_mode_array_arg
  412. * Do not show internal tasks in fxt dag by default. Allow to hide
  413. acquisitions too.
  414. * Add a way to choose the dag.dot colors.
  415. StarPU 1.2.3 (git revision 586ba6452a8eef99f275c891ce08933ae542c6c2)
  416. ====================================================================
  417. New features:
  418. * Add per-node MPI data.
  419. Small features:
  420. * When debug is enabled, starpu data accessors first check the
  421. validity of the data interface type
  422. * Print disk bus performances when STARPU_BUS_STATS is set
  423. * Add starpu_vector_filter_list_long filter.
  424. * Data interfaces now define a name through the struct starpu_data_interface_ops
  425. * StarPU-MPI :
  426. - allow predefined data interface not to define a mpi datatype and
  427. to be exchanged through pack/unpack operations
  428. - New function starpu_mpi_comm_get_attr() which allows to return
  429. the value of the attribute STARPU_MPI_TAG_UB, i.e the upper
  430. bound for tag value.
  431. - New configure option enable-mpi-verbose to manage the display of
  432. extra MPI debug messages.
  433. * Add STARPU_WATCHDOG_DELAY environment variable.
  434. * Add a 'waiting' worker status
  435. * Allow new value 'extra' for configure option --enable-verbose
  436. Small changes:
  437. * Add data_unregister event in traces
  438. * StarPU-MPI
  439. - push detached requests at the back of the testing list, so they
  440. are tested last since they will most probably finish latest
  441. * Automatically initialize handles on data acquisition when
  442. reduction methods are provided, and make sure a handle is
  443. initialized before trying to read it.
  444. StarPU 1.2.2 (git revision a0b01437b7b91f33fb3ca36bdea35271cad34464)
  445. ===================================================================
  446. New features:
  447. * Add starpu_data_acquire_try and starpu_data_acquire_on_node_try.
  448. * Add NVCC_CC environment variable.
  449. * Add -no-flops and -no-events options to starpu_fxt_tool to make
  450. traces lighter
  451. * Add starpu_cusparse_init/shutdown/get_local_handle for proper CUDA
  452. overlapping with cusparse.
  453. * Allow precise debugging by setting STARPU_TASK_BREAK_ON_PUSH,
  454. STARPU_TASK_BREAK_ON_SCHED, STARPU_TASK_BREAK_ON_POP, and
  455. STARPU_TASK_BREAK_ON_EXEC environment variables, with the job_id
  456. of a task. StarPU will raise SIGTRAP when the task is being
  457. scheduled, pushed, or popped by the scheduler.
  458. Small features:
  459. * New function starpu_worker_get_job_id(struct starpu_task *task)
  460. which returns the job identifier for a given task
  461. * Show package/numa topology in starpu_machine_display
  462. * MPI: Add mpi communications in dag.dot
  463. * Add STARPU_PERF_MODEL_HOMOGENEOUS_CPU environment variable to
  464. allow having one perfmodel per CPU core
  465. * Add starpu_perfmodel_arch_comb_fetch function.
  466. * Add starpu_mpi_get_data_on_all_nodes_detached function.
  467. Small changes:
  468. * Output generated through STARPU_MPI_COMM has been modified to
  469. allow easier automated checking
  470. * MPI: Fix reactivity of the beginning of the application, when a
  471. lot of ready requests have to be processed at the same time, we
  472. want to poll the pending requests from time to time.
  473. * MPI: Fix gantt chart for starpu_mpi_irecv: it should use the
  474. termination time of the request, not the submission time.
  475. * MPI: Modify output generated through STARPU_MPI_COMM to allow
  476. easier automated checking
  477. * MPI: enable more tests in simgrid mode
  478. * Use assumed-size instead of assumed-shape arrays for native
  479. fortran API, for better backward compatibility.
  480. * Fix odd ordering of CPU workers on CPUs due to GPUs stealing some
  481. cores
  482. StarPU 1.2.1 (git revision 473acaec8a1fb4f4c73d8b868e4f044b736b41ea)
  483. ====================================================================
  484. New features:
  485. * Add starpu_fxt_trace_user_event_string.
  486. * Add starpu_tasks_rec_complete tool to add estimation times in tasks.rec
  487. files.
  488. * Add STARPU_FXT_TRACE environment variable.
  489. * Add starpu_data_set_user_data and starpu_data_get_user_data.
  490. * Add STARPU_MPI_FAKE_SIZE and STARPU_MPI_FAKE_RANK to allow simulating
  491. execution of just one MPI node.
  492. * Add STARPU_PERF_MODEL_HOMOGENEOUS_CUDA/OPENCL/MIC/SCC to share performance
  493. models between devices, making calibration much faster.
  494. * Add modular-heft-prio scheduler.
  495. * Add starpu_cublas_get_local_handle helper.
  496. * Add starpu_data_set_name, starpu_data_set_coordinates_array, and
  497. starpu_data_set_coordinates to describe data, and starpu_iteration_push and
  498. starpu_iteration_pop to describe tasks, for better offline traces analysis.
  499. * New function starpu_bus_print_filenames() to display filenames
  500. storing bandwidth/affinity/latency information, available through
  501. tools/starpu_machine_display -i
  502. * Add support for Ayudame version 2.x debugging library.
  503. * Add starpu_sched_ctx_get_workers_list_raw, much less costly than
  504. starpu_sched_ctx_get_workers_list
  505. * Add starpu_task_get_name and use it to warn about dmda etc. using
  506. a dumb policy when calibration is not finished
  507. * MPI: Add functions to test for cached values
  508. Changes:
  509. * Fix performance regression of lws for small tasks.
  510. * Improve native Fortran support for StarPU
  511. Small changes:
  512. * Fix type of data home node to allow users to pass -1 to define
  513. temporary data
  514. * Fix compatibility with simgrid 3.14
  515. StarPU 1.2.0 (git revision 5a86e9b61cd01b7797e18956283cc6ea22adfe11)
  516. ====================================================================
  517. New features:
  518. * MIC Xeon Phi support
  519. * SCC support
  520. * New function starpu_sched_ctx_exec_parallel_code to execute a
  521. parallel code on the workers of the given scheduler context
  522. * MPI:
  523. - New internal communication system : a unique tag called
  524. is now used for all communications, and a system
  525. of hashmaps on each node which stores pending receives has been
  526. implemented. Every message is now coupled with an envelope, sent
  527. before the corresponding data, which allows the receiver to
  528. allocate data correctly, and to submit the matching receive of
  529. the envelope.
  530. - New function
  531. starpu_mpi_irecv_detached_sequential_consistency which
  532. allows to enable or disable the sequential consistency for
  533. the given data handle (sequential consistency will be
  534. enabled or disabled based on the value of the function
  535. parameter and the value of the sequential consistency
  536. defined for the given data)
  537. - New functions starpu_mpi_task_build() and
  538. starpu_mpi_task_post_build()
  539. - New flag STARPU_NODE_SELECTION_POLICY to specify a policy for
  540. selecting a node to execute the codelet when several nodes
  541. own data in W mode.
  542. - New selection node policies can be un/registered with the
  543. functions starpu_mpi_node_selection_register_policy() and
  544. starpu_mpi_node_selection_unregister_policy()
  545. - New environment variable STARPU_MPI_COMM which enables
  546. basic tracing of communications.
  547. - New function starpu_mpi_init_comm() which allows to specify
  548. a MPI communicator.
  549. * New STARPU_COMMUTE flag which can be passed along STARPU_W or STARPU_RW to
  550. let starpu commute write accesses.
  551. * Out-of-core support, through registration of disk areas as additional memory
  552. nodes. It can be enabled programmatically or through the STARPU_DISK_SWAP*
  553. environment variables.
  554. * Reclaiming is now periodically done before memory becomes full. This can
  555. be controlled through the STARPU_*_AVAILABLE_MEM environment variables.
  556. * New hierarchical schedulers which allow the user to easily build
  557. its own scheduler, by coding itself each "box" it wants, or by
  558. combining existing boxes in StarPU to build it. Hierarchical
  559. schedulers have very interesting scalability properties.
  560. * Add STARPU_CUDA_ASYNC and STARPU_OPENCL_ASYNC flags to allow asynchronous
  561. CUDA and OpenCL kernel execution.
  562. * Add STARPU_CUDA_PIPELINE and STARPU_OPENCL_PIPELINE to specify how
  563. many asynchronous tasks are submitted in advance on CUDA and
  564. OpenCL devices. Setting the value to 0 forces a synchronous
  565. execution of all tasks.
  566. * Add CUDA concurrent kernel execution support through
  567. the STARPU_NWORKER_PER_CUDA environment variable.
  568. * Add CUDA and OpenCL kernel submission pipelining, to overlap costs and allow
  569. concurrent kernel execution on Fermi cards.
  570. * New locality work stealing scheduler (lws).
  571. * Add STARPU_VARIABLE_NBUFFERS to be set in cl.nbuffers, and nbuffers and
  572. modes field to the task structure, which permit to define codelets taking a
  573. variable number of data.
  574. * Add support for implementing OpenMP runtimes on top of StarPU
  575. * New performance model format to better represent parallel tasks.
  576. Used to provide estimations for the execution times of the
  577. parallel tasks on scheduling contexts or combined workers.
  578. * starpu_data_idle_prefetch_on_node and
  579. starpu_idle_prefetch_task_input_on_node allow to queue prefetches to be done
  580. only when the bus is idle.
  581. * Make starpu_data_prefetch_on_node not forcibly flush data out, introduce
  582. starpu_data_fetch_on_node for that.
  583. * Add data access arbiters, to improve parallelism of concurrent data
  584. accesses, notably with STARPU_COMMUTE.
  585. * Anticipative writeback, to flush dirty data asynchronously before the
  586. GPU device is full. Disabled by default. Use STARPU_MINIMUM_CLEAN_BUFFERS
  587. and STARPU_TARGET_CLEAN_BUFFERS to enable it.
  588. * Add starpu_data_wont_use to advise that a piece of data will not be used
  589. in the close future.
  590. * Enable anticipative writeback by default.
  591. * New scheduler 'dmdasd' that considers priority when deciding on
  592. which worker to schedule
  593. * Add the capability to define specific MPI datatypes for
  594. StarPU user-defined interfaces.
  595. * Add tasks.rec trace output to make scheduling analysis easier.
  596. * Add Fortran 90 module and example using it
  597. * New StarPU-MPI gdb debug functions
  598. * Generate animated html trace of modular schedulers.
  599. * Add asynchronous partition planning. It only supports coherency through
  600. the home node of data for now.
  601. * Add STARPU_MALLOC_SIMULATION_FOLDED flag to save memory when simulating.
  602. * Include application threads in the trace.
  603. * Add starpu_task_get_task_scheduled_succs to get successors of a task.
  604. * Add graph inspection facility for schedulers.
  605. * New STARPU_LOCALITY flag to mark data which should be taken into account
  606. by schedulers for improving locality.
  607. * Experimental support for data locality in ws and lws.
  608. * Add a preliminary framework for native Fortran support for StarPU
  609. Small features:
  610. * Tasks can now have a name (via the field const char *name of
  611. struct starpu_task)
  612. * New functions starpu_data_acquire_cb_sequential_consistency() and
  613. starpu_data_acquire_on_node_cb_sequential_consistency() which allows
  614. to enable or disable sequential consistency
  615. * New configure option --enable-fxt-lock which enables additional
  616. trace events focused on locks behaviour during the execution
  617. * Functions starpu_insert_task and starpu_mpi_insert_task are
  618. renamed in starpu_task_insert and starpu_mpi_task_insert. Old
  619. names are kept to avoid breaking old codes.
  620. * New configure option --enable-calibration-heuristic which allows
  621. the user to set the maximum authorized deviation of the
  622. history-based calibrator.
  623. * Allow application to provide the task footprint itself.
  624. * New function starpu_sched_ctx_display_workers() to display worker
  625. information belonging to a given scheduler context
  626. * The option --enable-verbose can be called with
  627. --enable-verbose=extra to increase the verbosity
  628. * Add codelet size, footprint and tag id in the paje trace.
  629. * Add STARPU_TAG_ONLY, to specify a tag for traces without making StarPU
  630. manage the tag.
  631. * On Linux x86, spinlocks now block after a hundred tries. This avoids
  632. typical 10ms pauses when the application thread tries to submit tasks.
  633. * New function char *starpu_worker_get_type_as_string(enum starpu_worker_archtype type)
  634. * Improve static scheduling by adding support for specifying the task
  635. execution order.
  636. * Add starpu_worker_can_execute_task_impl and
  637. starpu_worker_can_execute_task_first_impl to optimize getting the
  638. working implementations
  639. * Add STARPU_MALLOC_NORECLAIM flag to allocate without running a reclaim if
  640. the node is out of memory.
  641. * New flag STARPU_DATA_MODE_ARRAY for the function family
  642. starpu_task_insert to allow to define a array of data handles
  643. along with their access modes.
  644. * New configure option --enable-new-check to enable new testcases
  645. which are known to fail
  646. * Add starpu_memory_allocate and _deallocate to let the application declare
  647. its own allocation to the reclaiming engine.
  648. * Add STARPU_SIMGRID_CUDA_MALLOC_COST and STARPU_SIMGRID_CUDA_QUEUE_COST to
  649. disable CUDA costs simulation in simgrid mode.
  650. * Add starpu_task_get_task_succs to get the list of children of a given
  651. task.
  652. * Add starpu_malloc_on_node_flags, starpu_free_on_node_flags, and
  653. starpu_malloc_on_node_set_default_flags to control the allocation flags
  654. used for allocations done by starpu.
  655. * Ranges can be provided in STARPU_WORKERS_CPUID
  656. * Add starpu_fxt_autostart_profiling to be able to avoid autostart.
  657. * Add arch_cost_function perfmodel function field.
  658. * Add STARPU_TASK_BREAK_ON_SCHED, STARPU_TASK_BREAK_ON_PUSH, and
  659. STARPU_TASK_BREAK_ON_POP environment variables to debug schedulers.
  660. * Add starpu_sched_display tool.
  661. * Add starpu_memory_pin and starpu_memory_unpin to pin memory allocated
  662. another way than starpu_malloc.
  663. * Add STARPU_NOWHERE to create synchronization tasks with data.
  664. * Document how to switch between differents views of the same data.
  665. * Add STARPU_NAME to specify a task name from a starpu_task_insert call.
  666. * Add configure option to disable fortran --disable-fortran
  667. * Add configure option to give path for smpirun executable --with-smpirun
  668. * Add configure option to disable the build of tests --disable-build-tests
  669. * Add starpu-all-tasks debugging support
  670. * New function
  671. void starpu_opencl_load_program_source_malloc(const char *source_file_name, char **located_file_name, char **located_dir_name, char **opencl_program_source)
  672. which allocates the pointers located_file_name, located_dir_name
  673. and opencl_program_source.
  674. * Add submit_hook and do_schedule scheduler methods.
  675. * Add starpu_sleep.
  676. * Add starpu_task_list_ismember.
  677. * Add _starpu_fifo_pop_this_task.
  678. * Add STARPU_MAX_MEMORY_USE environment variable.
  679. * Add starpu_worker_get_id_check().
  680. * New function starpu_mpi_wait_for_all(MPI_Comm comm) that allows to
  681. wait until all StarPU tasks and communications for the given
  682. communicator are completed.
  683. * New function starpu_codelet_unpack_args_and_copyleft() which
  684. allows to copy in a new buffer values which have not been unpacked by
  685. the current call
  686. * Add STARPU_CODELET_SIMGRID_EXECUTE flag.
  687. * Add STARPU_CODELET_SIMGRID_EXECUTE_AND_INJECT flag.
  688. * Add STARPU_CL_ARGS flag to starpu_task_insert() and
  689. starpu_mpi_task_insert() functions call
  690. Changes:
  691. * Data interfaces (variable, vector, matrix and block) now define
  692. pack und unpack functions
  693. * StarPU-MPI: Fix for being able to receive data which have not yet
  694. been registered by the application (i.e it did not call
  695. starpu_data_set_tag(), data are received as a raw memory)
  696. * StarPU-MPI: Fix for being able to receive data with the same tag
  697. from several nodes (see mpi/tests/gather.c)
  698. * Remove the long-deprecated cost_model fields and task->buffers field.
  699. * Fix complexity of implicit task/data dependency, from quadratic to linear.
  700. Small changes:
  701. * Rename function starpu_trace_user_event() as
  702. starpu_fxt_trace_user_event()
  703. * "power" is renamed into "energy" wherever it applies, notably energy
  704. consumption performance models
  705. * Update starpu_task_build() to set starpu_task::cl_arg_free to 1 if
  706. some arguments of type ::STARPU_VALUE are given.
  707. * Simplify performance model loading API
  708. * Better semantic for environment variables STARPU_NMIC and
  709. STARPU_NMICDEVS, the number of devices and the number of cores.
  710. STARPU_NMIC will be the number of devices, and STARPU_NMICCORES
  711. will be the number of cores per device.
  712. StarPU 1.1.8 (git revision f7b7abe9f86361cbc96f2b51c6ad7336b7d1d628)
  713. ====================================================================
  714. The scheduling context release
  715. Small changes:
  716. * Fix compatibility with simgrid 3.14
  717. * Fix lock ordering for memory reclaiming
  718. StarPU 1.1.7 (git revision 341044b67809892cf4a388e482766beb50256907)
  719. ====================================================================
  720. The scheduling context release
  721. Small changes:
  722. * Fix type of data home node to allow users to pass -1 to define
  723. temporary data
  724. StarPU 1.1.6 (git revision cdffbd5f5447e4d076d659232b3deb14f3c20da6)
  725. ====================================================================
  726. The scheduling context release
  727. Small features:
  728. * Add starpu_task_get_task_succs to get the list of children of a given
  729. task.
  730. * Ranges can be provided in STARPU_WORKERS_CPUID
  731. Small changes:
  732. * Various fixes for MacOS and windows systems
  733. StarPU 1.1.5 (git revision 20469c6f3e7ecd6c0568c8e4e4b5b652598308d8xxx)
  734. =======================================================================
  735. The scheduling context release
  736. New features:
  737. * Add starpu_memory_pin and starpu_memory_unpin to pin memory allocated
  738. another way than starpu_malloc.
  739. * Add starpu_task_wait_for_n_submitted() and
  740. STARPU_LIMIT_MAX_NSUBMITTED_TASKS/STARPU_LIMIT_MIN_NSUBMITTED_TASKS to
  741. easily control the number of submitted tasks by making task submission
  742. block.
  743. * Add STARPU_NOWHERE to create synchronization tasks with data.
  744. * Document how to switch between differents views of the same data.
  745. * Add Fortran 90 module and example using it
  746. StarPU 1.1.4 (git revision 2a3d30b28d6d099d271134a786335acdbb3931a3)
  747. ====================================================================
  748. The scheduling context release
  749. New features:
  750. * Fix and actually enable the cache allocation.
  751. * Enable allocation cache in main RAM when STARPU_LIMIT_CPU_MEM is set by
  752. the user.
  753. * New MPI functions starpu_mpi_issend and starpu_mpi_issend_detached
  754. to send data using a synchronous and non-blocking mode (internally
  755. uses MPI_Issend)
  756. * New data access mode flag STARPU_SSEND to be set when calling
  757. starpu_mpi_insert_task to specify the data has to be sent using a
  758. synchronous and non-blocking mode
  759. * New environment variable STARPU_PERF_MODEL_DIR which can be set to
  760. specify a directory where to store performance model files in.
  761. When unset, the files are stored in $STARPU_HOME/.starpu/sampling
  762. * MPI:
  763. - New function starpu_mpi_data_register_comm to register a data
  764. with another communicator than MPI_COMM_WORLD
  765. - New functions starpu_mpi_data_set_rank() and starpu_mpi_data_set_tag()
  766. which call starpu_mpi_data_register_comm()
  767. Small features:
  768. * Add starpu_memory_wait_available() to wait for a given size to become
  769. available on a given node.
  770. * New environment variable STARPU_RAND_SEED to set the seed used for random
  771. numbers.
  772. * New function starpu_mpi_cache_set() to enable or disable the
  773. communication cache at runtime
  774. * Add starpu_paje_sort which sorts Pajé traces.
  775. Changes:
  776. * Fix complexity of implicit task/data dependency, from quadratic to linear.
  777. StarPU 1.1.3 (git revision 11afc5b007fe1ab1c729b55b47a5a98ef7f3cfad)
  778. ====================================================================
  779. The scheduling context release
  780. New features:
  781. * One can register an existing on-GPU buffer to be used by a handle.
  782. * Add the starpu_paje_summary statistics tool.
  783. * Enable gpu-gpu transfers for matrices.
  784. * Let interfaces declare which transfers they allow with the can_copy
  785. methode.
  786. Small changes:
  787. * Lock performance model files while writing and reading them to avoid
  788. issues on parallel launches, MPI runs notably.
  789. * Lots of build fixes for icc on Windows.
  790. StarPU 1.1.2 (git revision d14c550798630bbc4f3da2b07d793c47e3018f02)
  791. ====================================================================
  792. The scheduling context release
  793. New features:
  794. * The reduction init codelet is automatically used to initialize temporary
  795. buffers.
  796. * Traces now include a "scheduling" state, to show the overhead of the
  797. scheduler.
  798. * Add STARPU_CALIBRATE_MINIMUM environment variable to specify the minimum
  799. number of calibration measurements.
  800. * Add STARPU_TRACE_BUFFER_SIZE environment variable to specify the size of
  801. the trace buffer.
  802. StarPU 1.1.1 (git revision dab2e51117fac5bef767f3a6b7677abb2147d2f2)
  803. ====================================================================
  804. The scheduling context release
  805. New features:
  806. * MPI:
  807. - New variable STARPU_MPI_CACHE_STATS to print statistics on
  808. cache holding received data.
  809. - New function starpu_mpi_data_register() which sets the rank
  810. and tag of a data, and also allows to automatically clear
  811. the MPI communication cache when unregistering the data. It
  812. should be called instead of both calling
  813. starpu_data_set_tag() and starpu_data_set_rank()
  814. * Use streams for all CUDA transfers, even initiated by CPUs.
  815. * Add paje traces statistics tools.
  816. * Use streams for GPUA->GPUB and GPUB->GPUA transfers.
  817. Small features:
  818. * New STARPU_EXECUTE_ON_WORKER flag to specify the worker on which
  819. to execute the task.
  820. * New STARPU_DISABLE_PINNING environment variable to disable host memory
  821. pinning.
  822. * New STARPU_DISABLE_KERNELS environment variable to disable actual kernel
  823. execution.
  824. * New starpu_memory_get_total function to get the size of a memory node.
  825. * New starpu_parallel_task_barrier_init_n function to let a scheduler decide
  826. a set of workers without going through combined workers.
  827. Changes:
  828. * Fix simgrid execution.
  829. * Rename starpu_get_nready_tasks_of_sched_ctx to starpu_sched_ctx_get_nready_tasks
  830. * Rename starpu_get_nready_flops_of_sched_ctx to starpu_sched_ctx_get_nready_flops
  831. * New functions starpu_pause() and starpu_resume()
  832. * New codelet specific_nodes field to specify explicit target nodes for data.
  833. * StarPU-MPI: Fix overzealous allocation of memory.
  834. * Interfaces: Allow interface implementation to change pointers at will, in
  835. unpack notably.
  836. Small changes:
  837. * Use big fat abortions when one tries to make a task or callback
  838. sleep, instead of just returning EDEADLCK which few people will test
  839. * By default, StarPU FFT examples are not compiled and checked, the
  840. configure option --enable-starpufft-examples needs to be specified
  841. to change this behaviour.
  842. StarPU 1.1.0 (git revision 3c4bc72ccef30e767680cad3d749c4e9010d4476)
  843. ====================================================================
  844. The scheduling context release
  845. New features:
  846. * OpenGL interoperability support.
  847. * Capability to store compiled OpenCL kernels on the file system
  848. * Capability to load compiled OpenCL kernels
  849. * Performance models measurements can now be provided explicitly by
  850. applications.
  851. * Capability to emit communication statistics when running MPI code
  852. * Add starpu_data_unregister_submit, starpu_data_acquire_on_node and
  853. starpu_data_invalidate_submit
  854. * New functionnality to wrapper starpu_insert_task to pass a array of
  855. data_handles via the parameter STARPU_DATA_ARRAY
  856. * Enable GPU-GPU direct transfers.
  857. * GCC plug-in
  858. - Add `registered' attribute
  859. - A new pass was added that warns about the use of possibly
  860. unregistered memory buffers.
  861. * SOCL
  862. - Manual mapping of commands on specific devices is now
  863. possible
  864. - SOCL does not require StarPU CPU tasks anymore. CPU workers
  865. are automatically disabled to enhance performance of OpenCL
  866. CPU devices
  867. * New interface: COO matrix.
  868. * Data interfaces: The pack operation of user-defined data interface
  869. defines a new parameter count which should be set to the size of
  870. the buffer created by the packing of the data.
  871. * MPI:
  872. - Communication statistics for MPI can only be enabled at
  873. execution time by defining the environment variable
  874. STARPU_COMM_STATS
  875. - Communication cache mechanism is enabled by default, and can
  876. only be disabled at execution time by setting the
  877. environment variable STARPU_MPI_CACHE to 0.
  878. - Initialisation functions starpu_mpi_initialize_extended()
  879. and starpu_mpi_initialize() have been made deprecated. One
  880. should now use starpu_mpi_init(int *, char ***, int). The
  881. last parameter indicates if MPI should be initialised.
  882. - Collective detached operations have new parameters, a
  883. callback function and a argument. This is to be consistent
  884. with the detached point-to-point communications.
  885. - When exchanging user-defined data interfaces, the size of
  886. the data is the size returned by the pack operation, i.e
  887. data with dynamic size can now be exchanged with StarPU-MPI.
  888. * Add experimental simgrid support, to simulate execution with various
  889. number of CPUs, GPUs, amount of memory, etc.
  890. * Add support for OpenCL simulators (which provide simulated execution time)
  891. * Add support for Temanejo, a task graph debugger
  892. * Theoretical bound lp output now includes data transfer time.
  893. * Update OpenCL driver to only enable CPU devices (the environment
  894. variable STARPU_OPENCL_ONLY_ON_CPUS must be set to a positive
  895. value when executing an application)
  896. * Add Scheduling contexts to separate computation resources
  897. - Scheduling policies take into account the set of resources corresponding
  898. to the context it belongs to
  899. - Add support to dynamically change scheduling contexts
  900. (Create and Delete a context, Add Workers to a context, Remove workers from a context)
  901. - Add support to indicate to which contexts the tasks are submitted
  902. * Add the Hypervisor to manage the Scheduling Contexts automatically
  903. - The Contexts can be registered to the Hypervisor
  904. - Only the registered contexts are managed by the Hypervisor
  905. - The Hypervisor can detect the initial distribution of resources of
  906. a context and constructs it consequently (the cost of execution is required)
  907. - Several policies can adapt dynamically the distribution of resources
  908. in contexts if the initial one was not appropriate
  909. - Add a platform to implement new policies of redistribution
  910. of resources
  911. * Implement a memory manager which checks the global amount of
  912. memory available on devices, and checks there is enough memory
  913. before doing an allocation on the device.
  914. * Discard environment variable STARPU_LIMIT_GPU_MEM and define
  915. instead STARPU_LIMIT_CUDA_MEM and STARPU_LIMIT_OPENCL_MEM
  916. * Introduce new variables STARPU_LIMIT_CUDA_devid_MEM and
  917. STARPU_LIMIT_OPENCL_devid_MEM to limit memory per specific device
  918. * Introduce new variable STARPU_LIMIT_CPU_MEM to limit memory for
  919. the CPU devices
  920. * New function starpu_malloc_flags to define a memory allocation with
  921. constraints based on the following values:
  922. - STARPU_MALLOC_PINNED specifies memory should be pinned
  923. - STARPU_MALLOC_COUNT specifies the memory allocation should be in
  924. the limits defined by the environment variables STARPU_LIMIT_xxx
  925. (see above). When no memory is left, starpu_malloc_flag tries
  926. to reclaim memory from StarPU and returns -ENOMEM on failure.
  927. * starpu_malloc calls starpu_malloc_flags with a value of flag set
  928. to STARPU_MALLOC_PINNED
  929. * Define new function starpu_free_flags similarly to starpu_malloc_flags
  930. * Define new public API starpu_pthread which is similar to the
  931. pthread API. It is provided with 2 implementations: a pthread one
  932. and a Simgrid one. Applications using StarPU and wishing to use
  933. the Simgrid StarPU features should use it.
  934. * Allow to have a dynamically allocated number of buffers per task,
  935. and so overwrite the value defined --enable-maxbuffers=XXX
  936. * Performance models files are now stored in a directory whose name
  937. include the version of the performance model format. The version
  938. number is also written in the file itself.
  939. When updating the format, the internal variable
  940. _STARPU_PERFMODEL_VERSION should be updated. It is then possible
  941. to switch easily between differents versions of StarPU having
  942. different performance model formats.
  943. * Tasks can now define a optional prologue callback which is executed
  944. on the host when the task becomes ready for execution, before getting
  945. scheduled.
  946. * Small CUDA allocations (<= 4MiB) are now batched to avoid the huge
  947. cudaMalloc overhead.
  948. * Prefetching is now done for all schedulers when it can be done whatever
  949. the scheduling decision.
  950. * Add a watchdog which permits to easily trigger a crash when StarPU gets
  951. stuck.
  952. * Document how to migrate data over MPI.
  953. * New function starpu_wakeup_worker() to be used by schedulers to
  954. wake up a single worker (instead of all workers) when submitting a
  955. single task.
  956. * The functions starpu_sched_set/get_min/max_priority set/get the
  957. priorities of the current scheduling context, i.e the one which
  958. was set by a call to starpu_sched_ctx_set_context() or the initial
  959. context if the function has not been called yet.
  960. * Fix for properly dealing with NAN on windows systems
  961. Small features:
  962. * Add starpu_worker_get_by_type and starpu_worker_get_by_devid
  963. * Add starpu_fxt_stop_profiling/starpu_fxt_start_profiling which permits to
  964. pause trace recording.
  965. * Add trace_buffer_size configuration field to permit to specify the tracing
  966. buffer size.
  967. * Add starpu_codelet_profile and starpu_codelet_histo_profile, tools which draw
  968. the profile of a codelet.
  969. * File STARPU-REVISION --- containing the SVN revision number from which
  970. StarPU was compiled --- is installed in the share/doc/starpu directory
  971. * starpu_perfmodel_plot can now directly draw GFlops curves.
  972. * New configure option --enable-mpi-progression-hook to enable the
  973. activity polling method for StarPU-MPI.
  974. * Permit to disable sequential consistency for a given task.
  975. * New macro STARPU_RELEASE_VERSION
  976. * New function starpu_get_version() to return as 3 integers the
  977. release version of StarPU.
  978. * Enable by default data allocation cache
  979. * New function starpu_perfmodel_directory() to print directory
  980. storing performance models. Available through the new option -d of
  981. the tool starpu_perfmodel_display
  982. * New batch files to execute StarPU applications under Microsoft
  983. Visual Studio (They are installed in path_to_starpu/bin/msvc)/
  984. * Add cl_arg_free, callback_arg_free, prologue_callback_arg_free fields to
  985. enable automatic free(cl_arg); free(callback_arg);
  986. free(prologue_callback_arg) on task destroy.
  987. * New function starpu_task_build
  988. * New configure options --with-simgrid-dir
  989. --with-simgrid-include-dir and --with-simgrid-lib-dir to specify
  990. the location of the SimGrid library
  991. Changes:
  992. * Rename all filter functions to follow the pattern
  993. starpu_DATATYPE_filter_FILTERTYPE. The script
  994. tools/dev/rename_filter.sh is provided to update your existing
  995. applications to use new filters function names.
  996. * Renaming of diverse functions and datatypes. The script
  997. tools/dev/rename.sh is provided to update your existing
  998. applications to use the new names. It is also possible to compile
  999. with the pkg-config package starpu-1.0 to keep using the old
  1000. names. It is however recommended to update your code and to use
  1001. the package starpu-1.1.
  1002. * Fix the block filter functions.
  1003. * Fix StarPU-MPI on Darwin.
  1004. * The FxT code can now be used on systems other than Linux.
  1005. * Keep only one hashtable implementation common/uthash.h
  1006. * The cache of starpu_mpi_insert_task is fixed and thus now enabled by
  1007. default.
  1008. * Improve starpu_machine_display output.
  1009. * Standardize objects name in the performance model API
  1010. * SOCL
  1011. - Virtual SOCL device has been removed
  1012. - Automatic scheduling still available with command queues not
  1013. assigned to any device
  1014. - Remove modified OpenCL headers. ICD is now the only supported
  1015. way to use SOCL.
  1016. - SOCL test suite is only run when environment variable
  1017. SOCL_OCL_LIB_OPENCL is defined. It should contain the location
  1018. of the libOpenCL.so file of the OCL ICD implementation.
  1019. * Fix main memory leak on multiple unregister/re-register.
  1020. * Improve hwloc detection by configure
  1021. * Cell:
  1022. - It is no longer possible to enable the cell support via the
  1023. gordon driver
  1024. - Data interfaces no longer define functions to copy to and from
  1025. SPU devices
  1026. - Codelet no longer define pointer for Gordon implementations
  1027. - Gordon workers are no longer enabled
  1028. - Gordon performance models are no longer enabled
  1029. * Fix data transfer arrows in paje traces
  1030. * The "heft" scheduler no longer exists. Users should now pick "dmda"
  1031. instead.
  1032. * StarPU can now use poti to generate paje traces.
  1033. * Rename scheduling policy "parallel greedy" to "parallel eager"
  1034. * starpu_scheduler.h is no longer automatically included by
  1035. starpu.h, it has to be manually included when needed
  1036. * New batch files to run StarPU applications with Microsoft Visual C
  1037. * Add examples/release/Makefile to test StarPU examples against an
  1038. installed version of StarPU. That can also be used to test
  1039. examples using a previous API.
  1040. * Tutorial is installed in ${docdir}/tutorial
  1041. * Schedulers eager_central_policy, dm and dmda no longer erroneously respect
  1042. priorities. dmdas has to be used to respect priorities.
  1043. * StarPU-MPI: Fix potential bug for user-defined datatypes. As MPI
  1044. can reorder messages, we need to make sure the sending of the size
  1045. of the data has been completed.
  1046. * Documentation is now generated through doxygen.
  1047. * Modification of perfmodels output format for future improvements.
  1048. * Fix for properly dealing with NAN on windows systems
  1049. * Function starpu_sched_ctx_create() now takes a variable argument
  1050. list to define the scheduler to be used, and the minimum and
  1051. maximum priority values
  1052. * The functions starpu_sched_set/get_min/max_priority set/get the
  1053. priorities of the current scheduling context, i.e the one which
  1054. was set by a call to starpu_sched_ctx_set_context() or the initial
  1055. context if the function was not called yet.
  1056. * MPI: Fix of the livelock issue discovered while executing applications
  1057. on a CPU+GPU cluster of machines by adding a maximum trylock
  1058. threshold before a blocking lock.
  1059. Small changes:
  1060. * STARPU_NCPU should now be used instead of STARPU_NCPUS. STARPU_NCPUS is
  1061. still available for compatibility reasons.
  1062. * include/starpu.h includes all include/starpu_*.h files, applications
  1063. therefore only need to have #include <starpu.h>
  1064. * Active task wait is now included in blocked time.
  1065. * Fix GCC plugin linking issues starting with GCC 4.7.
  1066. * Fix forcing calibration of never-calibrated archs.
  1067. * CUDA applications are no longer compiled with the "-arch sm_13"
  1068. option. It is specifically added to applications which need it.
  1069. * Explicitly name the non-sleeping-non-running time "Overhead", and use
  1070. another color in vite traces.
  1071. * Use C99 variadic macro support, not GNU.
  1072. * Fix performance regression: dmda queues were inadvertently made
  1073. LIFOs in r9611.
  1074. StarPU 1.0.3 (git revision 25f8b3a7b13050e99bf1725ca6f52cfd62e7a861)
  1075. ====================================================================
  1076. Changes:
  1077. * Several bug fixes in the build system
  1078. * Bug fixes in source code for non-Linux systems
  1079. * Fix generating FXT traces bigger than 64MiB.
  1080. * Improve ENODEV error detections in StarPU FFT
  1081. StarPU 1.0.2 (git revision 6f95de279d6d796a39debe8d6c5493b3bdbe0c37)
  1082. ====================================================================
  1083. Changes:
  1084. * Add starpu_block_shadow_filter_func_vector and an example.
  1085. * Add tag dependency in trace-generated DAG.
  1086. * Fix CPU binding for optimized CPU-GPU transfers.
  1087. * Fix parallel tasks CPU binding and combined worker generation.
  1088. * Fix generating FXT traces bigger than 64MiB.
  1089. StarPU 1.0.1 (git revision 97ea6e15a273e23e4ddabf491b0f9481373ca01a)
  1090. ====================================================================
  1091. Changes:
  1092. * hwloc support. Warn users when hwloc is not found on the system and
  1093. produce error when not explicitely disabled.
  1094. * Several bug fixes
  1095. * GCC plug-in
  1096. - Add `#pragma starpu release'
  1097. - Fix bug when using `acquire' pragma with function parameters
  1098. - Slightly improve test suite coverage
  1099. - Relax the GCC version check
  1100. * Update SOCL to use new API
  1101. * Documentation improvement.
  1102. StarPU 1.0.0 (git revision d3ad9ca318ec9acfeaf8eb7d8a018b09e4722292)
  1103. ====================================================================
  1104. The extensions-again release
  1105. New features:
  1106. * Add SOCL, an OpenCL interface on top of StarPU.
  1107. * Add a gcc plugin to extend the C interface with pragmas which allows to
  1108. easily define codelets and issue tasks.
  1109. * Add reduction mode to starpu_mpi_insert_task.
  1110. * A new multi-format interface permits to use different binary formats
  1111. on CPUs & GPUs, the conversion functions being provided by the
  1112. application and called by StarPU as needed (and as less as
  1113. possible).
  1114. * Deprecate cost_model, and introduce cost_function, which is provided
  1115. with the whole task structure, the target arch and implementation
  1116. number.
  1117. * Permit the application to provide its own size base for performance
  1118. models.
  1119. * Applications can provide several implementations of a codelet for the
  1120. same architecture.
  1121. * Add a StarPU-Top feedback and steering interface.
  1122. * Permit to specify MPI tags for more efficient starpu_mpi_insert_task
  1123. Changes:
  1124. * Fix several memory leaks and race conditions
  1125. * Make environment variables take precedence over the configuration
  1126. passed to starpu_init()
  1127. * Libtool interface versioning has been included in libraries names
  1128. (libstarpu-1.0.so, libstarpumpi-1.0.so,
  1129. libstarpufft-1.0.so, libsocl-1.0.so)
  1130. * Install headers under $includedir/starpu/1.0.
  1131. * Make where field for struct starpu_codelet optional. When unset, its
  1132. value will be automatically set based on the availability of the
  1133. different XXX_funcs fields of the codelet.
  1134. * Define access modes for data handles into starpu_codelet and no longer
  1135. in starpu_task. Hence mark (struct starpu_task).buffers as
  1136. deprecated, and add (struct starpu_task).handles and (struct
  1137. starpu_codelet).modes
  1138. * Fields xxx_func of struct starpu_codelet are made deprecated. One
  1139. should use fields xxx_funcs instead.
  1140. * Some types were renamed for consistency. when using pkg-config libstarpu,
  1141. starpu_deprecated_api.h is automatically included (after starpu.h) to
  1142. keep compatibility with existing software. Other changes are mentioned
  1143. below, compatibility is also preserved for them.
  1144. To port code to use new names (this is not mandatory), the
  1145. tools/dev/rename.sh script can be used, and pkg-config starpu-1.0 should
  1146. be used.
  1147. * The communication cost in the heft and dmda scheduling strategies now
  1148. take into account the contention brought by the number of GPUs. This
  1149. changes the meaning of the beta factor, whose default 1.0 value should
  1150. now be good enough in most case.
  1151. Small features:
  1152. * Allow users to disable asynchronous data transfers between CPUs and
  1153. GPUs.
  1154. * Update OpenCL driver to enable CPU devices (the environment variable
  1155. STARPU_OPENCL_ON_CPUS must be set to a positive value when
  1156. executing an application)
  1157. * struct starpu_data_interface_ops --- operations on a data
  1158. interface --- define a new function pointer allocate_new_data
  1159. which creates a new data interface of the given type based on
  1160. an existing handle
  1161. * Add a field named magic to struct starpu_task which is set when
  1162. initialising the task. starpu_task_submit will fail if the
  1163. field does not have the right value. This will hence avoid
  1164. submitting tasks which have not been properly initialised.
  1165. * Add a hook function pre_exec_hook in struct starpu_sched_policy.
  1166. The function is meant to be called in drivers. Schedulers
  1167. can use it to be notified when a task is about being computed.
  1168. * Add codelet execution time statistics plot.
  1169. * Add bus speed in starpu_machine_display.
  1170. * Add a STARPU_DATA_ACQUIRE_CB which permits to inline the code to be
  1171. done.
  1172. * Add gdb functions.
  1173. * Add complex support to LU example.
  1174. * Permit to use the same data several times in write mode in the
  1175. parameters of the same task.
  1176. Small changes:
  1177. * Increase default value for STARPU_MAXCPUS -- Maximum number of
  1178. CPUs supported -- to 64.
  1179. * Add man pages for some of the tools
  1180. * Add C++ application example in examples/cpp/
  1181. * Add an OpenMP fork-join example.
  1182. * Documentation improvement.
  1183. StarPU 0.9 (git revision 12bba8528fc0d85367d885cddc383ba54efca464)
  1184. ==================================================================
  1185. The extensions release
  1186. * Provide the STARPU_REDUX data access mode
  1187. * Externalize the scheduler API.
  1188. * Add theoretical bound computation
  1189. * Add the void interface
  1190. * Add power consumption optimization
  1191. * Add parallel task support
  1192. * Add starpu_mpi_insert_task
  1193. * Add profiling information interface.
  1194. * Add STARPU_LIMIT_GPU_MEM environment variable.
  1195. * OpenCL fixes
  1196. * MPI fixes
  1197. * Improve optimization documentation
  1198. * Upgrade to hwloc 1.1 interface
  1199. * Add fortran example
  1200. * Add mandelbrot OpenCL example
  1201. * Add cg example
  1202. * Add stencil MPI example
  1203. * Initial support for CUDA4
  1204. StarPU 0.4 (git revision ad8d8be3619f211f228c141282d7d504646fc2a6)
  1205. ==================================================================
  1206. The API strengthening release
  1207. * Major API improvements
  1208. - Provide the STARPU_SCRATCH data access mode
  1209. - Rework data filter interface
  1210. - Rework data interface structure
  1211. - A script that automatically renames old functions to accomodate with the new
  1212. API is available from https://scm.gforge.inria.fr/svn/starpu/scripts/renaming
  1213. (login: anonsvn, password: anonsvn)
  1214. * Implement dependencies between task directly (eg. without tags)
  1215. * Implicit data-driven task dependencies simplifies the design of
  1216. data-parallel algorithms
  1217. * Add dynamic profiling capabilities
  1218. - Provide per-task feedback
  1219. - Provide per-worker feedback
  1220. - Provide feedback about memory transfers
  1221. * Provide a library to help accelerating MPI applications
  1222. * Improve data transfers overhead prediction
  1223. - Transparently benchmark buses to generate performance models
  1224. - Bind accelerator-controlling threads with respect to NUMA locality
  1225. * Improve StarPU's portability
  1226. - Add OpenCL support
  1227. - Add support for Windows
  1228. StarPU 0.2.901 aka 0.3-rc1 (git revision 991f2abb772c17c3d45bbcf27f46197652e6a3ef)
  1229. ==================================================================================
  1230. The asynchronous heterogeneous multi-accelerator release
  1231. * Many API changes and code cleanups
  1232. - Implement starpu_worker_get_id
  1233. - Implement starpu_worker_get_name
  1234. - Implement starpu_worker_get_type
  1235. - Implement starpu_worker_get_count
  1236. - Implement starpu_display_codelet_stats
  1237. - Implement starpu_data_prefetch_on_node
  1238. - Expose the starpu_data_set_wt_mask function
  1239. * Support nvidia (heterogeneous) multi-GPU
  1240. * Add the data request mechanism
  1241. - All data transfers use data requests now
  1242. - Implement asynchronous data transfers
  1243. - Implement prefetch mechanism
  1244. - Chain data requests to support GPU->RAM->GPU transfers
  1245. * Make it possible to bypass the scheduler and to assign a task to a specific
  1246. worker
  1247. * Support restartable tasks to reinstanciate dependencies task graphs
  1248. * Improve performance prediction
  1249. - Model data transfer overhead
  1250. - One model is created for each accelerator
  1251. * Support for CUDA's driver API is deprecated
  1252. * The STARPU_WORKERS_CUDAID and STARPU_WORKERS_CPUID env. variables make it possible to
  1253. specify where to bind the workers
  1254. * Use the hwloc library to detect the actual number of cores
  1255. StarPU 0.2.0 (git revision 73e989f0783e10815aff394f80242760c4ed098c)
  1256. ====================================================================
  1257. The Stabilizing-the-Basics release
  1258. * Various API cleanups
  1259. * Mac OS X is supported now
  1260. * Add dynamic code loading facilities onto Cell's SPUs
  1261. * Improve performance analysis/feedback tools
  1262. * Application can interact with StarPU tasks
  1263. - The application may access/modify data managed by the DSM
  1264. - The application may wait for the termination of a (set of) task(s)
  1265. * An initial documentation is added
  1266. * More examples are supplied
  1267. StarPU 0.1.0 (git revision 911869a96b40c74eb92b30a43d3e08bf445d8078)
  1268. ====================================================================
  1269. First release.
  1270. Status:
  1271. * Only supports Linux platforms yet
  1272. * Supported architectures
  1273. - multicore CPUs
  1274. - NVIDIA GPUs (with CUDA 2.x)
  1275. - experimental Cell/BE support
  1276. Changes:
  1277. * Scheduling facilities
  1278. - run-time selection of the scheduling policy
  1279. - basic auto-tuning facilities
  1280. * Software-based DSM
  1281. - transparent data coherency management
  1282. - High-level expressive interface
  1283. # Local Variables:
  1284. # mode: text
  1285. # coding: utf-8
  1286. # ispell-local-dictionary: "american"
  1287. # End: