ChangeLog 66 KB

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