ChangeLog 61 KB

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