ChangeLog 40 KB

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