ChangeLog 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-2017 Université de Bordeaux
  4. # Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 CNRS
  5. # Copyright (C) 2014, 2016, 2017 INRIA
  6. #
  7. # StarPU is free software; you can redistribute it and/or modify
  8. # it under the terms of the GNU Lesser General Public License as published by
  9. # the Free Software Foundation; either version 2.1 of the License, or (at
  10. # your option) any later version.
  11. #
  12. # StarPU is distributed in the hope that it will be useful, but
  13. # WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  15. #
  16. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  17. StarPU 1.3.0 (svn revision xxxx)
  18. ==============================================
  19. New features:
  20. * New scheduler with heterogeneous priorities
  21. * Support priorities for data transfers.
  22. * Add support for Ayudame version 2.x debugging library.
  23. * Add support for multiple linear regression performance models
  24. * Add MPI Master-Slave support to use the cores of remote nodes. Use the
  25. --enable-mpi-master-slave option to activate it.
  26. * Add STARPU_CUDA_THREAD_PER_DEV environment variable to support driving all
  27. GPUs from only one thread when almost all kernels are asynchronous.
  28. Small features:
  29. * Scheduling contexts may now be associated a user data pointer at creation
  30. time, that can later be recalled through starpu_sched_ctx_get_user_data().
  31. * Add STARPU_SIMGRID_TASK_SUBMIT_COST and STARPU_SIMGRID_FETCHING_INPUT_COST
  32. to simulate the cost of task submission and data fetching in simgrid mode.
  33. This provides more accurate simgrid predictions, especially for the
  34. beginning of the execution and regarding data transfers.
  35. * STARPU_SIMGRID_SCHED_COST to take into account the time to perform scheduling
  36. when running in SimGrid mode.
  37. * New configure option --enable-mpi-pedantic-isend (disabled by
  38. default) to acquire data in STARPU_RW (instead of STARPU_R) before
  39. performing MPI_Isend call
  40. * New function starpu_worker_display_names to display the names of
  41. all the workers of a specified type.
  42. * Arbiters now support concurrent read access.
  43. Changes:
  44. * Vastly improve simgrid simulation time.
  45. Small changes:
  46. * Use asynchronous transfers for task data fetches with were not prefetched.
  47. * Allow to call starpu_sched_ctx_set_policy_data on the main
  48. scheduler context
  49. StarPU 1.2.2 (svn revision xxx)
  50. ==============================================
  51. New features:
  52. * Add starpu_data_acquire_try and starpu_data_acquire_on_node_try.
  53. * Add NVCC_CC environment variable.
  54. * Add -no-foo options to starpu_fxt_tool to make traces lighter
  55. * Add starpu_cusparse_init/shutdown/get_local_handle for proper CUDA
  56. overlapping with cusparse.
  57. Small changes:
  58. * Output generated through STARPU_MPI_COMM has been modified to
  59. allow easier automated checking
  60. StarPU 1.2.1 (svn revision 20299)
  61. ==============================================
  62. New features:
  63. * Add starpu_fxt_trace_user_event_string.
  64. * Add starpu_tasks_rec_complete tool to add estimation times in tasks.rec
  65. files.
  66. * Add STARPU_FXT_TRACE environment variable.
  67. * Add starpu_data_set_user_data and starpu_data_get_user_data.
  68. * Add STARPU_MPI_FAKE_SIZE and STARPU_MPI_FAKE_RANK to allow simulating
  69. execution of just one MPI node.
  70. * Add STARPU_PERF_MODEL_HOMOGENEOUS_CUDA/OPENCL/MIC/SCC to share performance
  71. models between devices, making calibration much faster.
  72. * Add modular-heft-prio scheduler.
  73. * Add starpu_cublas_get_local_handle helper.
  74. * Add starpu_data_set_name, starpu_data_set_coordinates_array, and
  75. starpu_data_set_coordinates to describe data, and starpu_iteration_push and
  76. starpu_iteration_pop to describe tasks, for better offline traces analysis.
  77. * New function starpu_bus_print_filenames() to display filenames
  78. storing bandwidth/affinity/latency information, available through
  79. tools/starpu_machine_display -i
  80. * Add support for Ayudame version 2.x debugging library.
  81. * Add starpu_sched_ctx_get_workers_list_raw, much less costly than
  82. starpu_sched_ctx_get_workers_list
  83. * Add starpu_task_get_name and use it to warn about dmda etc. using
  84. a dumb policy when calibration is not finished
  85. * MPI: Add functions to test for cached values
  86. Changes:
  87. * Fix performance regression of lws for small tasks.
  88. * Improve native Fortran support for StarPU
  89. Small changes:
  90. * Fix type of data home node to allow users to pass -1 to define
  91. temporary data
  92. * Fix compatibility with simgrid 3.14
  93. StarPU 1.2.0 (svn revision 18521)
  94. ==============================================
  95. New features:
  96. * MIC Xeon Phi support
  97. * SCC support
  98. * New function starpu_sched_ctx_exec_parallel_code to execute a
  99. parallel code on the workers of the given scheduler context
  100. * MPI:
  101. - New internal communication system : a unique tag called
  102. is now used for all communications, and a system
  103. of hashmaps on each node which stores pending receives has been
  104. implemented. Every message is now coupled with an envelope, sent
  105. before the corresponding data, which allows the receiver to
  106. allocate data correctly, and to submit the matching receive of
  107. the envelope.
  108. - New function
  109. starpu_mpi_irecv_detached_sequential_consistency which
  110. allows to enable or disable the sequential consistency for
  111. the given data handle (sequential consistency will be
  112. enabled or disabled based on the value of the function
  113. parameter and the value of the sequential consistency
  114. defined for the given data)
  115. - New functions starpu_mpi_task_build() and
  116. starpu_mpi_task_post_build()
  117. - New flag STARPU_NODE_SELECTION_POLICY to specify a policy for
  118. selecting a node to execute the codelet when several nodes
  119. own data in W mode.
  120. - New selection node policies can be un/registered with the
  121. functions starpu_mpi_node_selection_register_policy() and
  122. starpu_mpi_node_selection_unregister_policy()
  123. - New environment variable STARPU_MPI_COMM which enables
  124. basic tracing of communications.
  125. - New function starpu_mpi_init_comm() which allows to specify
  126. a MPI communicator.
  127. * New STARPU_COMMUTE flag which can be passed along STARPU_W or STARPU_RW to
  128. let starpu commute write accesses.
  129. * Out-of-core support, through registration of disk areas as additional memory
  130. nodes. It can be enabled programmatically or through the STARPU_DISK_SWAP*
  131. environment variables.
  132. * Reclaiming is now periodically done before memory becomes full. This can
  133. be controlled through the STARPU_*_AVAILABLE_MEM environment variables.
  134. * New hierarchical schedulers which allow the user to easily build
  135. its own scheduler, by coding itself each "box" it wants, or by
  136. combining existing boxes in StarPU to build it. Hierarchical
  137. schedulers have very interesting scalability properties.
  138. * Add STARPU_CUDA_ASYNC and STARPU_OPENCL_ASYNC flags to allow asynchronous
  139. CUDA and OpenCL kernel execution.
  140. * Add STARPU_CUDA_PIPELINE and STARPU_OPENCL_PIPELINE to specify how
  141. many asynchronous tasks are submitted in advance on CUDA and
  142. OpenCL devices. Setting the value to 0 forces a synchronous
  143. execution of all tasks.
  144. * Add CUDA concurrent kernel execution support through
  145. the STARPU_NWORKER_PER_CUDA environment variable.
  146. * Add CUDA and OpenCL kernel submission pipelining, to overlap costs and allow
  147. concurrent kernel execution on Fermi cards.
  148. * New locality work stealing scheduler (lws).
  149. * Add STARPU_VARIABLE_NBUFFERS to be set in cl.nbuffers, and nbuffers and
  150. modes field to the task structure, which permit to define codelets taking a
  151. variable number of data.
  152. * Add support for implementing OpenMP runtimes on top of StarPU
  153. * New performance model format to better represent parallel tasks.
  154. Used to provide estimations for the execution times of the
  155. parallel tasks on scheduling contexts or combined workers.
  156. * starpu_data_idle_prefetch_on_node and
  157. starpu_idle_prefetch_task_input_on_node allow to queue prefetches to be done
  158. only when the bus is idle.
  159. * Make starpu_data_prefetch_on_node not forcibly flush data out, introduce
  160. starpu_data_fetch_on_node for that.
  161. * Add data access arbiters, to improve parallelism of concurrent data
  162. accesses, notably with STARPU_COMMUTE.
  163. * Anticipative writeback, to flush dirty data asynchronously before the
  164. GPU device is full. Disabled by default. Use STARPU_MINIMUM_CLEAN_BUFFERS
  165. and STARPU_TARGET_CLEAN_BUFFERS to enable it.
  166. * Add starpu_data_wont_use to advise that a piece of data will not be used
  167. in the close future.
  168. * Enable anticipative writeback by default.
  169. * New scheduler 'dmdasd' that considers priority when deciding on
  170. which worker to schedule
  171. * Add the capability to define specific MPI datatypes for
  172. StarPU user-defined interfaces.
  173. * Add tasks.rec trace output to make scheduling analysis easier.
  174. * Add Fortran 90 module and example using it
  175. * New StarPU-MPI gdb debug functions
  176. * Generate animated html trace of modular schedulers.
  177. * Add asynchronous partition planning. It only supports coherency through
  178. the home node of data for now.
  179. * Add STARPU_MALLOC_SIMULATION_FOLDED flag to save memory when simulating.
  180. * Include application threads in the trace.
  181. * Add starpu_task_get_task_scheduled_succs to get successors of a task.
  182. * Add graph inspection facility for schedulers.
  183. * New STARPU_LOCALITY flag to mark data which should be taken into account
  184. by schedulers for improving locality.
  185. * Experimental support for data locality in ws and lws.
  186. * Add a preliminary framework for native Fortran support for StarPU
  187. Small features:
  188. * Tasks can now have a name (via the field const char *name of
  189. struct starpu_task)
  190. * New functions starpu_data_acquire_cb_sequential_consistency() and
  191. starpu_data_acquire_on_node_cb_sequential_consistency() which allows
  192. to enable or disable sequential consistency
  193. * New configure option --enable-fxt-lock which enables additional
  194. trace events focused on locks behaviour during the execution
  195. * Functions starpu_insert_task and starpu_mpi_insert_task are
  196. renamed in starpu_task_insert and starpu_mpi_task_insert. Old
  197. names are kept to avoid breaking old codes.
  198. * New configure option --enable-calibration-heuristic which allows
  199. the user to set the maximum authorized deviation of the
  200. history-based calibrator.
  201. * Allow application to provide the task footprint itself.
  202. * New function starpu_sched_ctx_display_workers() to display worker
  203. information belonging to a given scheduler context
  204. * The option --enable-verbose can be called with
  205. --enable-verbose=extra to increase the verbosity
  206. * Add codelet size, footprint and tag id in the paje trace.
  207. * Add STARPU_TAG_ONLY, to specify a tag for traces without making StarPU
  208. manage the tag.
  209. * On Linux x86, spinlocks now block after a hundred tries. This avoids
  210. typical 10ms pauses when the application thread tries to submit tasks.
  211. * New function char *starpu_worker_get_type_as_string(enum starpu_worker_archtype type)
  212. * Improve static scheduling by adding support for specifying the task
  213. execution order.
  214. * Add starpu_worker_can_execute_task_impl and
  215. starpu_worker_can_execute_task_first_impl to optimize getting the
  216. working implementations
  217. * Add STARPU_MALLOC_NORECLAIM flag to allocate without running a reclaim if
  218. the node is out of memory.
  219. * New flag STARPU_DATA_MODE_ARRAY for the function family
  220. starpu_task_insert to allow to define a array of data handles
  221. along with their access modes.
  222. * New configure option --enable-new-check to enable new testcases
  223. which are known to fail
  224. * Add starpu_memory_allocate and _deallocate to let the application declare
  225. its own allocation to the reclaiming engine.
  226. * Add STARPU_SIMGRID_CUDA_MALLOC_COST and STARPU_SIMGRID_CUDA_QUEUE_COST to
  227. disable CUDA costs simulation in simgrid mode.
  228. * Add starpu_task_get_task_succs to get the list of children of a given
  229. task.
  230. * Add starpu_malloc_on_node_flags, starpu_free_on_node_flags, and
  231. starpu_malloc_on_node_set_default_flags to control the allocation flags
  232. used for allocations done by starpu.
  233. * Ranges can be provided in STARPU_WORKERS_CPUID
  234. * Add starpu_fxt_autostart_profiling to be able to avoid autostart.
  235. * Add arch_cost_function perfmodel function field.
  236. * Add STARPU_TASK_BREAK_ON_SCHED, STARPU_TASK_BREAK_ON_PUSH, and
  237. STARPU_TASK_BREAK_ON_POP environment variables to debug schedulers.
  238. * Add starpu_sched_display tool.
  239. * Add starpu_memory_pin and starpu_memory_unpin to pin memory allocated
  240. another way than starpu_malloc.
  241. * Add STARPU_NOWHERE to create synchronization tasks with data.
  242. * Document how to switch between differents views of the same data.
  243. * Add STARPU_NAME to specify a task name from a starpu_task_insert call.
  244. * Add configure option to disable fortran --disable-fortran
  245. * Add configure option to give path for smpirun executable --with-smpirun
  246. * Add configure option to disable the build of tests --disable-build-tests
  247. * Add starpu-all-tasks debugging support
  248. * New function
  249. void starpu_opencl_load_program_source_malloc(const char *source_file_name, char **located_file_name, char **located_dir_name, char **opencl_program_source)
  250. which allocates the pointers located_file_name, located_dir_name
  251. and opencl_program_source.
  252. * Add submit_hook and do_schedule scheduler methods.
  253. * Add starpu_sleep.
  254. * Add starpu_task_list_ismember.
  255. * Add _starpu_fifo_pop_this_task.
  256. * Add STARPU_MAX_MEMORY_USE environment variable.
  257. * Add starpu_worker_get_id_check().
  258. * New function starpu_mpi_wait_for_all(MPI_Comm comm) that allows to
  259. wait until all StarPU tasks and communications for the given
  260. communicator are completed.
  261. * New function starpu_codelet_unpack_args_and_copyleft() which
  262. allows to copy in a new buffer values which have not been unpacked by
  263. the current call
  264. * Add STARPU_CODELET_SIMGRID_EXECUTE flag.
  265. * Add STARPU_CODELET_SIMGRID_EXECUTE_AND_INJECT flag.
  266. * Add STARPU_CL_ARGS flag to starpu_task_insert() and
  267. starpu_mpi_task_insert() functions call
  268. Changes:
  269. * Data interfaces (variable, vector, matrix and block) now define
  270. pack und unpack functions
  271. * StarPU-MPI: Fix for being able to receive data which have not yet
  272. been registered by the application (i.e it did not call
  273. starpu_data_set_tag(), data are received as a raw memory)
  274. * StarPU-MPI: Fix for being able to receive data with the same tag
  275. from several nodes (see mpi/tests/gather.c)
  276. * Remove the long-deprecated cost_model fields and task->buffers field.
  277. * Fix complexity of implicit task/data dependency, from quadratic to linear.
  278. Small changes:
  279. * Rename function starpu_trace_user_event() as
  280. starpu_fxt_trace_user_event()
  281. * "power" is renamed into "energy" wherever it applies, notably energy
  282. consumption performance models
  283. * Update starpu_task_build() to set starpu_task::cl_arg_free to 1 if
  284. some arguments of type ::STARPU_VALUE are given.
  285. * Simplify performance model loading API
  286. * Better semantic for environment variables STARPU_NMIC and
  287. STARPU_NMICDEVS, the number of devices and the number of cores.
  288. STARPU_NMIC will be the number of devices, and STARPU_NMICCORES
  289. will be the number of cores per device.
  290. StarPU 1.1.5 (svn revision xxx)
  291. ==============================================
  292. The scheduling context release
  293. * Add starpu_memory_pin and starpu_memory_unpin to pin memory allocated
  294. another way than starpu_malloc.
  295. * Add starpu_task_wait_for_n_submitted() and
  296. STARPU_LIMIT_MAX_NSUBMITTED_TASKS/STARPU_LIMIT_MIN_NSUBMITTED_TASKS to
  297. easily control the number of submitted tasks by making task submission
  298. block.
  299. StarPU 1.1.4 (svn revision 14856)
  300. ==============================================
  301. The scheduling context release
  302. New features:
  303. * Fix and actually enable the cache allocation.
  304. * Enable allocation cache in main RAM when STARPU_LIMIT_CPU_MEM is set by
  305. the user.
  306. * New MPI functions starpu_mpi_issend and starpu_mpi_issend_detached
  307. to send data using a synchronous and non-blocking mode (internally
  308. uses MPI_Issend)
  309. * New data access mode flag STARPU_SSEND to be set when calling
  310. starpu_mpi_insert_task to specify the data has to be sent using a
  311. synchronous and non-blocking mode
  312. * New environment variable STARPU_PERF_MODEL_DIR which can be set to
  313. specify a directory where to store performance model files in.
  314. When unset, the files are stored in $STARPU_HOME/.starpu/sampling
  315. * MPI:
  316. - New function starpu_mpi_data_register_comm to register a data
  317. with another communicator than MPI_COMM_WORLD
  318. - New functions starpu_mpi_data_set_rank() and starpu_mpi_data_set_tag()
  319. which call starpu_mpi_data_register_comm()
  320. Small features:
  321. * Add starpu_memory_wait_available() to wait for a given size to become
  322. available on a given node.
  323. * New environment variable STARPU_RAND_SEED to set the seed used for random
  324. numbers.
  325. * New function starpu_mpi_cache_set() to enable or disable the
  326. communication cache at runtime
  327. * Add starpu_paje_sort which sorts Pajé traces.
  328. Changes:
  329. * Fix complexity of implicit task/data dependency, from quadratic to linear.
  330. StarPU 1.1.3 (svn revision 13450)
  331. ==============================================
  332. The scheduling context release
  333. New features:
  334. * One can register an existing on-GPU buffer to be used by a handle.
  335. * Add the starpu_paje_summary statistics tool.
  336. * Enable gpu-gpu transfers for matrices.
  337. * Let interfaces declare which transfers they allow with the can_copy
  338. methode.
  339. Small changes:
  340. * Lock performance model files while writing and reading them to avoid
  341. issues on parallel launches, MPI runs notably.
  342. * Lots of build fixes for icc on Windows.
  343. StarPU 1.1.2 (svn revision 13011)
  344. ==============================================
  345. The scheduling context release
  346. New features:
  347. * The reduction init codelet is automatically used to initialize temporary
  348. buffers.
  349. * Traces now include a "scheduling" state, to show the overhead of the
  350. scheduler.
  351. * Add STARPU_CALIBRATE_MINIMUM environment variable to specify the minimum
  352. number of calibration measurements.
  353. * Add STARPU_TRACE_BUFFER_SIZE environment variable to specify the size of
  354. the trace buffer.
  355. StarPU 1.1.1 (svn revision 12638)
  356. ==============================================
  357. The scheduling context release
  358. New features:
  359. * MPI:
  360. - New variable STARPU_MPI_CACHE_STATS to print statistics on
  361. cache holding received data.
  362. - New function starpu_mpi_data_register() which sets the rank
  363. and tag of a data, and also allows to automatically clear
  364. the MPI communication cache when unregistering the data. It
  365. should be called instead of both calling
  366. starpu_data_set_tag() and starpu_data_set_rank()
  367. * Use streams for all CUDA transfers, even initiated by CPUs.
  368. * Add paje traces statistics tools.
  369. * Use streams for GPUA->GPUB and GPUB->GPUA transfers.
  370. Small features:
  371. * New STARPU_EXECUTE_ON_WORKER flag to specify the worker on which
  372. to execute the task.
  373. * New STARPU_DISABLE_PINNING environment variable to disable host memory
  374. pinning.
  375. * New STARPU_DISABLE_KERNELS environment variable to disable actual kernel
  376. execution.
  377. * New starpu_memory_get_total function to get the size of a memory node.
  378. * New starpu_parallel_task_barrier_init_n function to let a scheduler decide
  379. a set of workers without going through combined workers.
  380. Changes:
  381. * Fix simgrid execution.
  382. * Rename starpu_get_nready_tasks_of_sched_ctx to starpu_sched_ctx_get_nready_tasks
  383. * Rename starpu_get_nready_flops_of_sched_ctx to starpu_sched_ctx_get_nready_flops
  384. * New functions starpu_pause() and starpu_resume()
  385. * New codelet specific_nodes field to specify explicit target nodes for data.
  386. * StarPU-MPI: Fix overzealous allocation of memory.
  387. * Interfaces: Allow interface implementation to change pointers at will, in
  388. unpack notably.
  389. Small changes:
  390. * Use big fat abortions when one tries to make a task or callback
  391. sleep, instead of just returning EDEADLCK which few people will test
  392. * By default, StarPU FFT examples are not compiled and checked, the
  393. configure option --enable-starpufft-examples needs to be specified
  394. to change this behaviour.
  395. StarPU 1.1.0 (svn revision 11960)
  396. ==============================================
  397. The scheduling context release
  398. New features:
  399. * OpenGL interoperability support.
  400. * Capability to store compiled OpenCL kernels on the file system
  401. * Capability to load compiled OpenCL kernels
  402. * Performance models measurements can now be provided explicitly by
  403. applications.
  404. * Capability to emit communication statistics when running MPI code
  405. * Add starpu_data_unregister_submit, starpu_data_acquire_on_node and
  406. starpu_data_invalidate_submit
  407. * New functionnality to wrapper starpu_insert_task to pass a array of
  408. data_handles via the parameter STARPU_DATA_ARRAY
  409. * Enable GPU-GPU direct transfers.
  410. * GCC plug-in
  411. - Add `registered' attribute
  412. - A new pass was added that warns about the use of possibly
  413. unregistered memory buffers.
  414. * SOCL
  415. - Manual mapping of commands on specific devices is now
  416. possible
  417. - SOCL does not require StarPU CPU tasks anymore. CPU workers
  418. are automatically disabled to enhance performance of OpenCL
  419. CPU devices
  420. * New interface: COO matrix.
  421. * Data interfaces: The pack operation of user-defined data interface
  422. defines a new parameter count which should be set to the size of
  423. the buffer created by the packing of the data.
  424. * MPI:
  425. - Communication statistics for MPI can only be enabled at
  426. execution time by defining the environment variable
  427. STARPU_COMM_STATS
  428. - Communication cache mechanism is enabled by default, and can
  429. only be disabled at execution time by setting the
  430. environment variable STARPU_MPI_CACHE to 0.
  431. - Initialisation functions starpu_mpi_initialize_extended()
  432. and starpu_mpi_initialize() have been made deprecated. One
  433. should now use starpu_mpi_init(int *, char ***, int). The
  434. last parameter indicates if MPI should be initialised.
  435. - Collective detached operations have new parameters, a
  436. callback function and a argument. This is to be consistent
  437. with the detached point-to-point communications.
  438. - When exchanging user-defined data interfaces, the size of
  439. the data is the size returned by the pack operation, i.e
  440. data with dynamic size can now be exchanged with StarPU-MPI.
  441. * Add experimental simgrid support, to simulate execution with various
  442. number of CPUs, GPUs, amount of memory, etc.
  443. * Add support for OpenCL simulators (which provide simulated execution time)
  444. * Add support for Temanejo, a task graph debugger
  445. * Theoretical bound lp output now includes data transfer time.
  446. * Update OpenCL driver to only enable CPU devices (the environment
  447. variable STARPU_OPENCL_ONLY_ON_CPUS must be set to a positive
  448. value when executing an application)
  449. * Add Scheduling contexts to separate computation resources
  450. - Scheduling policies take into account the set of resources corresponding
  451. to the context it belongs to
  452. - Add support to dynamically change scheduling contexts
  453. (Create and Delete a context, Add Workers to a context, Remove workers from a context)
  454. - Add support to indicate to which contexts the tasks are submitted
  455. * Add the Hypervisor to manage the Scheduling Contexts automatically
  456. - The Contexts can be registered to the Hypervisor
  457. - Only the registered contexts are managed by the Hypervisor
  458. - The Hypervisor can detect the initial distribution of resources of
  459. a context and constructs it consequently (the cost of execution is required)
  460. - Several policies can adapt dynamically the distribution of resources
  461. in contexts if the initial one was not appropriate
  462. - Add a platform to implement new policies of redistribution
  463. of resources
  464. * Implement a memory manager which checks the global amount of
  465. memory available on devices, and checks there is enough memory
  466. before doing an allocation on the device.
  467. * Discard environment variable STARPU_LIMIT_GPU_MEM and define
  468. instead STARPU_LIMIT_CUDA_MEM and STARPU_LIMIT_OPENCL_MEM
  469. * Introduce new variables STARPU_LIMIT_CUDA_devid_MEM and
  470. STARPU_LIMIT_OPENCL_devid_MEM to limit memory per specific device
  471. * Introduce new variable STARPU_LIMIT_CPU_MEM to limit memory for
  472. the CPU devices
  473. * New function starpu_malloc_flags to define a memory allocation with
  474. constraints based on the following values:
  475. - STARPU_MALLOC_PINNED specifies memory should be pinned
  476. - STARPU_MALLOC_COUNT specifies the memory allocation should be in
  477. the limits defined by the environment variables STARPU_LIMIT_xxx
  478. (see above). When no memory is left, starpu_malloc_flag tries
  479. to reclaim memory from StarPU and returns -ENOMEM on failure.
  480. * starpu_malloc calls starpu_malloc_flags with a value of flag set
  481. to STARPU_MALLOC_PINNED
  482. * Define new function starpu_free_flags similarly to starpu_malloc_flags
  483. * Define new public API starpu_pthread which is similar to the
  484. pthread API. It is provided with 2 implementations: a pthread one
  485. and a Simgrid one. Applications using StarPU and wishing to use
  486. the Simgrid StarPU features should use it.
  487. * Allow to have a dynamically allocated number of buffers per task,
  488. and so overwrite the value defined --enable-maxbuffers=XXX
  489. * Performance models files are now stored in a directory whose name
  490. include the version of the performance model format. The version
  491. number is also written in the file itself.
  492. When updating the format, the internal variable
  493. _STARPU_PERFMODEL_VERSION should be updated. It is then possible
  494. to switch easily between differents versions of StarPU having
  495. different performance model formats.
  496. * Tasks can now define a optional prologue callback which is executed
  497. on the host when the task becomes ready for execution, before getting
  498. scheduled.
  499. * Small CUDA allocations (<= 4MiB) are now batched to avoid the huge
  500. cudaMalloc overhead.
  501. * Prefetching is now done for all schedulers when it can be done whatever
  502. the scheduling decision.
  503. * Add a watchdog which permits to easily trigger a crash when StarPU gets
  504. stuck.
  505. * Document how to migrate data over MPI.
  506. * New function starpu_wakeup_worker() to be used by schedulers to
  507. wake up a single worker (instead of all workers) when submitting a
  508. single task.
  509. * The functions starpu_sched_set/get_min/max_priority set/get the
  510. priorities of the current scheduling context, i.e the one which
  511. was set by a call to starpu_sched_ctx_set_context() or the initial
  512. context if the function has not been called yet.
  513. * Fix for properly dealing with NAN on windows systems
  514. Small features:
  515. * Add starpu_worker_get_by_type and starpu_worker_get_by_devid
  516. * Add starpu_fxt_stop_profiling/starpu_fxt_start_profiling which permits to
  517. pause trace recording.
  518. * Add trace_buffer_size configuration field to permit to specify the tracing
  519. buffer size.
  520. * Add starpu_codelet_profile and starpu_codelet_histo_profile, tools which draw
  521. the profile of a codelet.
  522. * File STARPU-REVISION --- containing the SVN revision number from which
  523. StarPU was compiled --- is installed in the share/doc/starpu directory
  524. * starpu_perfmodel_plot can now directly draw GFlops curves.
  525. * New configure option --enable-mpi-progression-hook to enable the
  526. activity polling method for StarPU-MPI.
  527. * Permit to disable sequential consistency for a given task.
  528. * New macro STARPU_RELEASE_VERSION
  529. * New function starpu_get_version() to return as 3 integers the
  530. release version of StarPU.
  531. * Enable by default data allocation cache
  532. * New function starpu_perfmodel_directory() to print directory
  533. storing performance models. Available through the new option -d of
  534. the tool starpu_perfmodel_display
  535. * New batch files to execute StarPU applications under Microsoft
  536. Visual Studio (They are installed in path_to_starpu/bin/msvc)/
  537. * Add cl_arg_free, callback_arg_free, prologue_callback_arg_free fields to
  538. enable automatic free(cl_arg); free(callback_arg);
  539. free(prologue_callback_arg) on task destroy.
  540. * New function starpu_task_build
  541. * New configure options --with-simgrid-dir
  542. --with-simgrid-include-dir and --with-simgrid-lib-dir to specify
  543. the location of the SimGrid library
  544. Changes:
  545. * Rename all filter functions to follow the pattern
  546. starpu_DATATYPE_filter_FILTERTYPE. The script
  547. tools/dev/rename_filter.sh is provided to update your existing
  548. applications to use new filters function names.
  549. * Renaming of diverse functions and datatypes. The script
  550. tools/dev/rename.sh is provided to update your existing
  551. applications to use the new names. It is also possible to compile
  552. with the pkg-config package starpu-1.0 to keep using the old
  553. names. It is however recommended to update your code and to use
  554. the package starpu-1.1.
  555. * Fix the block filter functions.
  556. * Fix StarPU-MPI on Darwin.
  557. * The FxT code can now be used on systems other than Linux.
  558. * Keep only one hashtable implementation common/uthash.h
  559. * The cache of starpu_mpi_insert_task is fixed and thus now enabled by
  560. default.
  561. * Improve starpu_machine_display output.
  562. * Standardize objects name in the performance model API
  563. * SOCL
  564. - Virtual SOCL device has been removed
  565. - Automatic scheduling still available with command queues not
  566. assigned to any device
  567. - Remove modified OpenCL headers. ICD is now the only supported
  568. way to use SOCL.
  569. - SOCL test suite is only run when environment variable
  570. SOCL_OCL_LIB_OPENCL is defined. It should contain the location
  571. of the libOpenCL.so file of the OCL ICD implementation.
  572. * Fix main memory leak on multiple unregister/re-register.
  573. * Improve hwloc detection by configure
  574. * Cell:
  575. - It is no longer possible to enable the cell support via the
  576. gordon driver
  577. - Data interfaces no longer define functions to copy to and from
  578. SPU devices
  579. - Codelet no longer define pointer for Gordon implementations
  580. - Gordon workers are no longer enabled
  581. - Gordon performance models are no longer enabled
  582. * Fix data transfer arrows in paje traces
  583. * The "heft" scheduler no longer exists. Users should now pick "dmda"
  584. instead.
  585. * StarPU can now use poti to generate paje traces.
  586. * Rename scheduling policy "parallel greedy" to "parallel eager"
  587. * starpu_scheduler.h is no longer automatically included by
  588. starpu.h, it has to be manually included when needed
  589. * New batch files to run StarPU applications with Microsoft Visual C
  590. * Add examples/release/Makefile to test StarPU examples against an
  591. installed version of StarPU. That can also be used to test
  592. examples using a previous API.
  593. * Tutorial is installed in ${docdir}/tutorial
  594. * Schedulers eager_central_policy, dm and dmda no longer erroneously respect
  595. priorities. dmdas has to be used to respect priorities.
  596. * StarPU-MPI: Fix potential bug for user-defined datatypes. As MPI
  597. can reorder messages, we need to make sure the sending of the size
  598. of the data has been completed.
  599. * Documentation is now generated through doxygen.
  600. * Modification of perfmodels output format for future improvements.
  601. * Fix for properly dealing with NAN on windows systems
  602. * Function starpu_sched_ctx_create() now takes a variable argument
  603. list to define the scheduler to be used, and the minimum and
  604. maximum priority values
  605. * The functions starpu_sched_set/get_min/max_priority set/get the
  606. priorities of the current scheduling context, i.e the one which
  607. was set by a call to starpu_sched_ctx_set_context() or the initial
  608. context if the function was not called yet.
  609. * MPI: Fix of the livelock issue discovered while executing applications
  610. on a CPU+GPU cluster of machines by adding a maximum trylock
  611. threshold before a blocking lock.
  612. Small changes:
  613. * STARPU_NCPU should now be used instead of STARPU_NCPUS. STARPU_NCPUS is
  614. still available for compatibility reasons.
  615. * include/starpu.h includes all include/starpu_*.h files, applications
  616. therefore only need to have #include <starpu.h>
  617. * Active task wait is now included in blocked time.
  618. * Fix GCC plugin linking issues starting with GCC 4.7.
  619. * Fix forcing calibration of never-calibrated archs.
  620. * CUDA applications are no longer compiled with the "-arch sm_13"
  621. option. It is specifically added to applications which need it.
  622. * Explicitly name the non-sleeping-non-running time "Overhead", and use
  623. another color in vite traces.
  624. * Use C99 variadic macro support, not GNU.
  625. * Fix performance regression: dmda queues were inadvertently made
  626. LIFOs in r9611.
  627. StarPU 1.0.3 (svn revision 7379)
  628. ==============================================
  629. Changes:
  630. * Several bug fixes in the build system
  631. * Bug fixes in source code for non-Linux systems
  632. * Fix generating FXT traces bigger than 64MiB.
  633. * Improve ENODEV error detections in StarPU FFT
  634. StarPU 1.0.2 (svn revision 7210)
  635. ==============================================
  636. Changes:
  637. * Add starpu_block_shadow_filter_func_vector and an example.
  638. * Add tag dependency in trace-generated DAG.
  639. * Fix CPU binding for optimized CPU-GPU transfers.
  640. * Fix parallel tasks CPU binding and combined worker generation.
  641. * Fix generating FXT traces bigger than 64MiB.
  642. StarPU 1.0.1 (svn revision 6659)
  643. ==============================================
  644. Changes:
  645. * hwloc support. Warn users when hwloc is not found on the system and
  646. produce error when not explicitely disabled.
  647. * Several bug fixes
  648. * GCC plug-in
  649. - Add `#pragma starpu release'
  650. - Fix bug when using `acquire' pragma with function parameters
  651. - Slightly improve test suite coverage
  652. - Relax the GCC version check
  653. * Update SOCL to use new API
  654. * Documentation improvement.
  655. StarPU 1.0.0 (svn revision 6306)
  656. ==============================================
  657. The extensions-again release
  658. New features:
  659. * Add SOCL, an OpenCL interface on top of StarPU.
  660. * Add a gcc plugin to extend the C interface with pragmas which allows to
  661. easily define codelets and issue tasks.
  662. * Add reduction mode to starpu_mpi_insert_task.
  663. * A new multi-format interface permits to use different binary formats
  664. on CPUs & GPUs, the conversion functions being provided by the
  665. application and called by StarPU as needed (and as less as
  666. possible).
  667. * Deprecate cost_model, and introduce cost_function, which is provided
  668. with the whole task structure, the target arch and implementation
  669. number.
  670. * Permit the application to provide its own size base for performance
  671. models.
  672. * Applications can provide several implementations of a codelet for the
  673. same architecture.
  674. * Add a StarPU-Top feedback and steering interface.
  675. * Permit to specify MPI tags for more efficient starpu_mpi_insert_task
  676. Changes:
  677. * Fix several memory leaks and race conditions
  678. * Make environment variables take precedence over the configuration
  679. passed to starpu_init()
  680. * Libtool interface versioning has been included in libraries names
  681. (libstarpu-1.0.so, libstarpumpi-1.0.so,
  682. libstarpufft-1.0.so, libsocl-1.0.so)
  683. * Install headers under $includedir/starpu/1.0.
  684. * Make where field for struct starpu_codelet optional. When unset, its
  685. value will be automatically set based on the availability of the
  686. different XXX_funcs fields of the codelet.
  687. * Define access modes for data handles into starpu_codelet and no longer
  688. in starpu_task. Hence mark (struct starpu_task).buffers as
  689. deprecated, and add (struct starpu_task).handles and (struct
  690. starpu_codelet).modes
  691. * Fields xxx_func of struct starpu_codelet are made deprecated. One
  692. should use fields xxx_funcs instead.
  693. * Some types were renamed for consistency. when using pkg-config libstarpu,
  694. starpu_deprecated_api.h is automatically included (after starpu.h) to
  695. keep compatibility with existing software. Other changes are mentioned
  696. below, compatibility is also preserved for them.
  697. To port code to use new names (this is not mandatory), the
  698. tools/dev/rename.sh script can be used, and pkg-config starpu-1.0 should
  699. be used.
  700. * The communication cost in the heft and dmda scheduling strategies now
  701. take into account the contention brought by the number of GPUs. This
  702. changes the meaning of the beta factor, whose default 1.0 value should
  703. now be good enough in most case.
  704. Small features:
  705. * Allow users to disable asynchronous data transfers between CPUs and
  706. GPUs.
  707. * Update OpenCL driver to enable CPU devices (the environment variable
  708. STARPU_OPENCL_ON_CPUS must be set to a positive value when
  709. executing an application)
  710. * struct starpu_data_interface_ops --- operations on a data
  711. interface --- define a new function pointer allocate_new_data
  712. which creates a new data interface of the given type based on
  713. an existing handle
  714. * Add a field named magic to struct starpu_task which is set when
  715. initialising the task. starpu_task_submit will fail if the
  716. field does not have the right value. This will hence avoid
  717. submitting tasks which have not been properly initialised.
  718. * Add a hook function pre_exec_hook in struct starpu_sched_policy.
  719. The function is meant to be called in drivers. Schedulers
  720. can use it to be notified when a task is about being computed.
  721. * Add codelet execution time statistics plot.
  722. * Add bus speed in starpu_machine_display.
  723. * Add a STARPU_DATA_ACQUIRE_CB which permits to inline the code to be
  724. done.
  725. * Add gdb functions.
  726. * Add complex support to LU example.
  727. * Permit to use the same data several times in write mode in the
  728. parameters of the same task.
  729. Small changes:
  730. * Increase default value for STARPU_MAXCPUS -- Maximum number of
  731. CPUs supported -- to 64.
  732. * Add man pages for some of the tools
  733. * Add C++ application example in examples/cpp/
  734. * Add an OpenMP fork-join example.
  735. * Documentation improvement.
  736. StarPU 0.9 (svn revision 3721)
  737. ==============================================
  738. The extensions release
  739. * Provide the STARPU_REDUX data access mode
  740. * Externalize the scheduler API.
  741. * Add theoretical bound computation
  742. * Add the void interface
  743. * Add power consumption optimization
  744. * Add parallel task support
  745. * Add starpu_mpi_insert_task
  746. * Add profiling information interface.
  747. * Add STARPU_LIMIT_GPU_MEM environment variable.
  748. * OpenCL fixes
  749. * MPI fixes
  750. * Improve optimization documentation
  751. * Upgrade to hwloc 1.1 interface
  752. * Add fortran example
  753. * Add mandelbrot OpenCL example
  754. * Add cg example
  755. * Add stencil MPI example
  756. * Initial support for CUDA4
  757. StarPU 0.4 (svn revision 2535)
  758. ==============================================
  759. The API strengthening release
  760. * Major API improvements
  761. - Provide the STARPU_SCRATCH data access mode
  762. - Rework data filter interface
  763. - Rework data interface structure
  764. - A script that automatically renames old functions to accomodate with the new
  765. API is available from https://scm.gforge.inria.fr/svn/starpu/scripts/renaming
  766. (login: anonsvn, password: anonsvn)
  767. * Implement dependencies between task directly (eg. without tags)
  768. * Implicit data-driven task dependencies simplifies the design of
  769. data-parallel algorithms
  770. * Add dynamic profiling capabilities
  771. - Provide per-task feedback
  772. - Provide per-worker feedback
  773. - Provide feedback about memory transfers
  774. * Provide a library to help accelerating MPI applications
  775. * Improve data transfers overhead prediction
  776. - Transparently benchmark buses to generate performance models
  777. - Bind accelerator-controlling threads with respect to NUMA locality
  778. * Improve StarPU's portability
  779. - Add OpenCL support
  780. - Add support for Windows
  781. StarPU 0.2.901 aka 0.3-rc1 (svn revision 1236)
  782. ==============================================
  783. The asynchronous heterogeneous multi-accelerator release
  784. * Many API changes and code cleanups
  785. - Implement starpu_worker_get_id
  786. - Implement starpu_worker_get_name
  787. - Implement starpu_worker_get_type
  788. - Implement starpu_worker_get_count
  789. - Implement starpu_display_codelet_stats
  790. - Implement starpu_data_prefetch_on_node
  791. - Expose the starpu_data_set_wt_mask function
  792. * Support nvidia (heterogeneous) multi-GPU
  793. * Add the data request mechanism
  794. - All data transfers use data requests now
  795. - Implement asynchronous data transfers
  796. - Implement prefetch mechanism
  797. - Chain data requests to support GPU->RAM->GPU transfers
  798. * Make it possible to bypass the scheduler and to assign a task to a specific
  799. worker
  800. * Support restartable tasks to reinstanciate dependencies task graphs
  801. * Improve performance prediction
  802. - Model data transfer overhead
  803. - One model is created for each accelerator
  804. * Support for CUDA's driver API is deprecated
  805. * The STARPU_WORKERS_CUDAID and STARPU_WORKERS_CPUID env. variables make it possible to
  806. specify where to bind the workers
  807. * Use the hwloc library to detect the actual number of cores
  808. StarPU 0.2.0 (svn revision 1013)
  809. ==============================================
  810. The Stabilizing-the-Basics release
  811. * Various API cleanups
  812. * Mac OS X is supported now
  813. * Add dynamic code loading facilities onto Cell's SPUs
  814. * Improve performance analysis/feedback tools
  815. * Application can interact with StarPU tasks
  816. - The application may access/modify data managed by the DSM
  817. - The application may wait for the termination of a (set of) task(s)
  818. * An initial documentation is added
  819. * More examples are supplied
  820. StarPU 0.1.0 (svn revision 794)
  821. ==============================================
  822. First release.
  823. Status:
  824. * Only supports Linux platforms yet
  825. * Supported architectures
  826. - multicore CPUs
  827. - NVIDIA GPUs (with CUDA 2.x)
  828. - experimental Cell/BE support
  829. Changes:
  830. * Scheduling facilities
  831. - run-time selection of the scheduling policy
  832. - basic auto-tuning facilities
  833. * Software-based DSM
  834. - transparent data coherency management
  835. - High-level expressive interface
  836. # Local Variables:
  837. # mode: text
  838. # coding: utf-8
  839. # ispell-local-dictionary: "american"
  840. # End: