ChangeLog 40 KB

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