ChangeLog 40 KB

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