ChangeLog 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-2013 Université de Bordeaux 1
  4. # Copyright (C) 2010, 2011, 2012, 2013 Centre National de la Recherche Scientifique
  5. #
  6. # StarPU is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; either version 2.1 of the License, or (at
  9. # your option) any later version.
  10. #
  11. # StarPU is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  16. StarPU 1.2.0 (svn revision xxxx)
  17. ==============================================
  18. New features:
  19. * Xeon Phi support
  20. * SCC support
  21. * New function starpu_sched_ctx_exec_parallel_code to execute a
  22. parallel code on the workers of the given scheduler context
  23. * MPI:
  24. - New internal communication system : a unique tag called
  25. is now used for all communications, and a system
  26. of hashmaps on each node which stores pending receives has been
  27. implemented. Every message is now coupled with an envelope, sent
  28. before the corresponding data, which allows the receiver to
  29. allocate data correctly, and to submit the matching receive of
  30. the envelope.
  31. * New STARPU_COMMUTE flag which can be passed along STARPU_W or STARPU_RW to
  32. let starpu commute write accesses.
  33. * Out-of-core support, through registration of disk areas as additional memory
  34. nodes.
  35. * StarPU-MPI: new function
  36. starpu_mpi_irecv_detached_sequential_consistency which allows to
  37. enable or disable the sequential consistency for the given data
  38. handle (sequential consistency will be enabled or disabled based
  39. on the value of the function parameter and the value of the
  40. sequential consistency defined for the given data)
  41. * Performance models files are now stored in a directory whose name
  42. include the version of the performance model format. The version
  43. number is also written in the file itself.
  44. When updating the format, the internal variable
  45. _STARPU_PERFMODEL_VERSION should be updated. It is then possible
  46. to switch easily between differents versions of StarPU having
  47. different performance model formats.
  48. Small features:
  49. * Add cl_arg_free field to enable automatic free(cl_arg) on task
  50. destroy.
  51. * New functions starpu_data_acquire_cb_sequential_consistency() and
  52. starpu_data_acquire_on_node_cb_sequential_consistency() which allows
  53. to enable or disable sequential consistency
  54. * New configure option --enable-fxt-lock which enables additional
  55. trace events focused on locks behaviour during the execution
  56. * New function starpu_perfmodel_directory() to print directory
  57. storing performance models. Available through the new option -d of
  58. the tool starpu_perfmodel_display
  59. Changes:
  60. * Fix of the livelock issue discovered while executing applications
  61. on a CPU+GPU cluster of machines by adding a maximum trylock
  62. threshold before a blocking lock.
  63. * Data interfaces (variable, vector, matrix and block) now define
  64. pack und unpack functions
  65. StarPU 1.1.0 (svn revision xxxx)
  66. ==============================================
  67. New features:
  68. * OpenGL interoperability support.
  69. * Capability to store compiled OpenCL kernels on the file system
  70. * Capability to load compiled OpenCL kernels
  71. * Performance models measurements can now be provided explicitly by
  72. applications.
  73. * Capability to emit communication statistics when running MPI code
  74. * Add starpu_unregister_submit, starpu_data_acquire_on_node and
  75. starpu_data_invalidate_submit
  76. * New functionnality to wrapper starpu_insert_task to pass a array of
  77. data_handles via the parameter STARPU_DATA_ARRAY
  78. * Enable GPU-GPU direct transfers.
  79. * GCC plug-in
  80. - Add `registered' attribute
  81. - A new pass was added that warns about the use of possibly
  82. unregistered memory buffers.
  83. * SOCL
  84. - Manual mapping of commands on specific devices is now
  85. possible
  86. - SOCL does not require StarPU CPU tasks anymore. CPU workers
  87. are automatically disabled to enhance performance of OpenCL
  88. CPU devices
  89. * New interface: COO matrix.
  90. * Data interfaces: The pack operation of user-defined data interface
  91. defines a new parameter count which should be set to the size of
  92. the buffer created by the packing of the data.
  93. * MPI:
  94. - Communication statistics for MPI can only be enabled at
  95. execution time by defining the environment variable
  96. STARPU_COMM_STATS
  97. - Communication cache mechanism is enabled by default, and can
  98. only be disabled at execution time by setting the
  99. environment variable STARPU_MPI_CACHE to 0.
  100. - Initialisation functions starpu_mpi_initialize_extended()
  101. and starpu_mpi_initialize() have been made deprecated. One
  102. should now use starpu_mpi_init(int *, char ***, int). The
  103. last parameter indicates if MPI should be initialised.
  104. - Collective detached operations have new parameters, a
  105. callback function and a argument. This is to be consistent
  106. with the detached point-to-point communications.
  107. - When exchanging user-defined data interfaces, the size of
  108. the data is the size returned by the pack operation, i.e
  109. data with dynamic size can now be exchanged with StarPU-MPI.
  110. * Add experimental simgrid support, to simulate execution with various
  111. number of CPUs, GPUs, amount of memory, etc.
  112. * Add support for OpenCL simulators (which provide simulated execution time)
  113. * Add support for Temanejo, a task graph debugger
  114. * Theoretical bound lp output now includes data transfer time.
  115. * Update OpenCL driver to only enable CPU devices (the environment
  116. variable STARPU_OPENCL_ONLY_ON_CPUS must be set to a positive
  117. value when executing an application)
  118. * Add Scheduling contexts to separate computation resources
  119. - Scheduling policies take into account the set of resources corresponding
  120. to the context it belongs to
  121. - Add support to dynamically change scheduling contexts
  122. (Create and Delete a context, Add Workers to a context, Remove workers from a context)
  123. - Add support to indicate to which contexts the tasks are submitted
  124. * Add the Hypervisor to manage the Scheduling Contexts automatically
  125. - The Contexts can be registered to the Hypervisor
  126. - Only the registered contexts are managed by the Hypervisor
  127. - The Hypervisor can detect the initial distribution of resources of
  128. a context and constructs it consequently (the cost of execution is required)
  129. - Several policies can adapt dynamically the distribution of resources
  130. in contexts if the initial one was not appropriate
  131. - Add a platform to implement new policies of redistribution
  132. of resources
  133. * Implement a memory manager which checks the global amount of
  134. memory available on devices, and checks there is enough memory
  135. before doing an allocation on the device.
  136. * Discard environment variable STARPU_LIMIT_GPU_MEM and define
  137. instead STARPU_LIMIT_CUDA_MEM and STARPU_LIMIT_OPENCL_MEM
  138. * Introduce new variables STARPU_LIMIT_CUDA_devid_MEM and
  139. STARPU_LIMIT_OPENCL_devid_MEM to limit memory per specific device
  140. * Introduce new variable STARPU_LIMIT_CPU_MEM to limit memory for
  141. the CPU devices
  142. * New function starpu_malloc_flags to define a memory allocation with
  143. constraints based on the following values:
  144. - STARPU_MALLOC_PINNED specifies memory should be pinned
  145. - STARPU_MALLOC_COUNT specifies the memory allocation should be in
  146. the limits defined by the environment variables STARPU_LIMIT_xxx
  147. (see above). When no memory is left, starpu_malloc_flag tries
  148. to reclaim memory from StarPU and returns -ENOMEM on failure.
  149. * starpu_malloc calls starpu_malloc_flags with a value of flag set
  150. to STARPU_MALLOC_PINNED
  151. * Define new function starpu_free_flags similarly to starpu_malloc_flags
  152. * Define new public API starpu_pthread which is similar to the
  153. pthread API. It is provided with 2 implementations: a pthread one
  154. and a Simgrid one. Applications using StarPU and wishing to use
  155. the Simgrid StarPU features should use it.
  156. * Allow to have a dynamically allocated number of buffers per task,
  157. and so overwrite the value defined --enable-maxbuffers=XXX
  158. Small features:
  159. * Add starpu_worker_get_by_type and starpu_worker_get_by_devid
  160. * Add starpu_fxt_stop_profiling/starpu_fxt_start_profiling which permits to
  161. pause trace recording.
  162. * Add trace_buffer_size configuration field to permit to specify the tracing
  163. buffer size.
  164. * Add starpu_codelet_profile and starpu_codelet_histo_profile, tools which draw
  165. the profile of a codelet.
  166. * File STARPU-REVISION --- containing the SVN revision number from which
  167. StarPU was compiled --- is installed in the share/doc/starpu directory
  168. * starpu_perfmodel_plot can now directly draw GFlops curves.
  169. * New configure option --enable-mpi-progression-hook to enable the
  170. activity polling method for StarPU-MPI.
  171. * Permit to disable sequential consistency for a given task.
  172. * New macro STARPU_RELEASE_VERSION
  173. * New function starpu_get_version() to return as 3 integers the
  174. release version of StarPU.
  175. * Enable by default data allocation cache
  176. Changes:
  177. * Rename all filter functions to follow the pattern
  178. starpu_DATATYPE_filter_FILTERTYPE. The script
  179. tools/dev/rename_filter.sh is provided to update your existing
  180. applications to use new filters function names.
  181. * Renaming of diverse functions and datatypes. The script
  182. tools/dev/rename.sh is provided to update your existing
  183. applications to use the new names. It is also possible to compile
  184. with the pkg-config package starpu-1.0 to keep using the old
  185. names. It is however recommended to update your code and to use
  186. the package starpu-1.1.
  187. * Fix the block filter functions.
  188. * Fix StarPU-MPI on Darwin.
  189. * The FxT code can now be used on systems other than Linux.
  190. * Keep only one hashtable implementation common/uthash.h
  191. * The cache of starpu_mpi_insert_task is fixed and thus now enabled by
  192. default.
  193. * Improve starpu_machine_display output.
  194. * Standardize objects name in the performance model API
  195. * SOCL
  196. - Virtual SOCL device has been removed
  197. - Automatic scheduling still available with command queues not
  198. assigned to any device
  199. - Remove modified OpenCL headers. ICD is now the only supported
  200. way to use SOCL.
  201. - SOCL test suite is only run when environment variable
  202. SOCL_OCL_LIB_OPENCL is defined. It should contain the location
  203. of the libOpenCL.so file of the OCL ICD implementation.
  204. * Fix main memory leak on multiple unregister/re-register.
  205. * Improve hwloc detection by configure
  206. * Cell:
  207. - It is no longer possible to enable the cell support via the
  208. gordon driver
  209. - Data interfaces no longer define functions to copy to and from
  210. SPU devices
  211. - Codelet no longer define pointer for Gordon implementations
  212. - Gordon workers are no longer enabled
  213. - Gordon performance models are no longer enabled
  214. * Fix data transfer arrows in paje traces
  215. * The "heft" scheduler no longer exists. Users should now pick "dmda"
  216. instead.
  217. * StarPU can now use poti to generate paje traces.
  218. * Rename scheduling policy "parallel greedy" to "parallel eager"
  219. * starpu_scheduler.h is no longer automatically included by
  220. starpu.h, it has to be manually included when needed
  221. * New batch files to run StarPU applications with Microsoft Visual C
  222. * Add examples/release/Makefile to test StarPU examples against an
  223. installed version of StarPU. That can also be used to test
  224. examples using a previous API.
  225. * Tutorial is installed in ${docdir}/tutorial
  226. * Schedulers eager_central_policy, dm and dmda no longer erroneously respect
  227. priorities. dmdas has to be used to respect priorities.
  228. * Documentation is now generated through doxygen.
  229. Small changes:
  230. * STARPU_NCPU should now be used instead of STARPU_NCPUS. STARPU_NCPUS is
  231. still available for compatibility reasons.
  232. * include/starpu.h includes all include/starpu_*.h files, applications
  233. therefore only need to have #include <starpu.h>
  234. * Active task wait is now included in blocked time.
  235. * Fix GCC plugin linking issues starting with GCC 4.7.
  236. * Fix forcing calibration of never-calibrated archs.
  237. * CUDA applications are no longer compiled with the "-arch sm_13"
  238. option. It is specifically added to applications which need it.
  239. * Explicitly name the non-sleeping-non-running time "Overhead", and use
  240. another color in vite traces.
  241. * Use C99 variadic macro support, not GNU.
  242. * Fix performance regression: dmda queues were inadvertently made
  243. LIFOs in r9611.
  244. StarPU 1.0.3 (svn revision 7379)
  245. ==============================================
  246. Changes:
  247. * Several bug fixes in the build system
  248. * Bug fixes in source code for non-Linux systems
  249. * Fix generating FXT traces bigger than 64MiB.
  250. * Improve ENODEV error detections in StarPU FFT
  251. StarPU 1.0.2 (svn revision xxx)
  252. ==============================================
  253. Changes:
  254. * Add starpu_block_shadow_filter_func_vector and an example.
  255. * Add tag dependency in trace-generated DAG.
  256. * Fix CPU binding for optimized CPU-GPU transfers.
  257. * Fix parallel tasks CPU binding and combined worker generation.
  258. * Fix generating FXT traces bigger than 64MiB.
  259. StarPU 1.0.1 (svn revision 6659)
  260. ==============================================
  261. Changes:
  262. * hwloc support. Warn users when hwloc is not found on the system and
  263. produce error when not explicitely disabled.
  264. * Several bug fixes
  265. * GCC plug-in
  266. - Add `#pragma starpu release'
  267. - Fix bug when using `acquire' pragma with function parameters
  268. - Slightly improve test suite coverage
  269. - Relax the GCC version check
  270. * Update SOCL to use new API
  271. * Documentation improvement.
  272. StarPU 1.0.0 (svn revision 6306)
  273. ==============================================
  274. The extensions-again release
  275. New features:
  276. * Add SOCL, an OpenCL interface on top of StarPU.
  277. * Add a gcc plugin to extend the C interface with pragmas which allows to
  278. easily define codelets and issue tasks.
  279. * Add reduction mode to starpu_mpi_insert_task.
  280. * A new multi-format interface permits to use different binary formats
  281. on CPUs & GPUs, the conversion functions being provided by the
  282. application and called by StarPU as needed (and as less as
  283. possible).
  284. * Deprecate cost_model, and introduce cost_function, which is provided
  285. with the whole task structure, the target arch and implementation
  286. number.
  287. * Permit the application to provide its own size base for performance
  288. models.
  289. * Applications can provide several implementations of a codelet for the
  290. same architecture.
  291. * Add a StarPU-Top feedback and steering interface.
  292. * Permit to specify MPI tags for more efficient starpu_mpi_insert_task
  293. Changes:
  294. * Fix several memory leaks and race conditions
  295. * Make environment variables take precedence over the configuration
  296. passed to starpu_init()
  297. * Libtool interface versioning has been included in libraries names
  298. (libstarpu-1.0.so, libstarpumpi-1.0.so,
  299. libstarpufft-1.0.so, libsocl-1.0.so)
  300. * Install headers under $includedir/starpu/1.0.
  301. * Make where field for struct starpu_codelet optional. When unset, its
  302. value will be automatically set based on the availability of the
  303. different XXX_funcs fields of the codelet.
  304. * Define access modes for data handles into starpu_codelet and no longer
  305. in starpu_task. Hence mark (struct starpu_task).buffers as
  306. deprecated, and add (struct starpu_task).handles and (struct
  307. starpu_codelet).modes
  308. * Fields xxx_func of struct starpu_codelet are made deprecated. One
  309. should use fields xxx_funcs instead.
  310. * Some types were renamed for consistency. when using pkg-config libstarpu,
  311. starpu_deprecated_api.h is automatically included (after starpu.h) to
  312. keep compatibility with existing software. Other changes are mentioned
  313. below, compatibility is also preserved for them.
  314. To port code to use new names (this is not mandatory), the
  315. tools/dev/rename.sh script can be used, and pkg-config starpu-1.0 should
  316. be used.
  317. * The communication cost in the heft and dmda scheduling strategies now
  318. take into account the contention brought by the number of GPUs. This
  319. changes the meaning of the beta factor, whose default 1.0 value should
  320. now be good enough in most case.
  321. Small features:
  322. * Allow users to disable asynchronous data transfers between CPUs and
  323. GPUs.
  324. * Update OpenCL driver to enable CPU devices (the environment variable
  325. STARPU_OPENCL_ON_CPUS must be set to a positive value when
  326. executing an application)
  327. * struct starpu_data_interface_ops --- operations on a data
  328. interface --- define a new function pointer allocate_new_data
  329. which creates a new data interface of the given type based on
  330. an existing handle
  331. * Add a field named magic to struct starpu_task which is set when
  332. initialising the task. starpu_task_submit will fail if the
  333. field does not have the right value. This will hence avoid
  334. submitting tasks which have not been properly initialised.
  335. * Add a hook function pre_exec_hook in struct starpu_sched_policy.
  336. The function is meant to be called in drivers. Schedulers
  337. can use it to be notified when a task is about being computed.
  338. * Add codelet execution time statistics plot.
  339. * Add bus speed in starpu_machine_display.
  340. * Add a STARPU_DATA_ACQUIRE_CB which permits to inline the code to be
  341. done.
  342. * Add gdb functions.
  343. * Add complex support to LU example.
  344. * Permit to use the same data several times in write mode in the
  345. parameters of the same task.
  346. Small changes:
  347. * Increase default value for STARPU_MAXCPUS -- Maximum number of
  348. CPUs supported -- to 64.
  349. * Add man pages for some of the tools
  350. * Add C++ application example in examples/cpp/
  351. * Add an OpenMP fork-join example.
  352. * Documentation improvement.
  353. StarPU 0.9 (svn revision 3721)
  354. ==============================================
  355. The extensions release
  356. * Provide the STARPU_REDUX data access mode
  357. * Externalize the scheduler API.
  358. * Add theoretical bound computation
  359. * Add the void interface
  360. * Add power consumption optimization
  361. * Add parallel task support
  362. * Add starpu_mpi_insert_task
  363. * Add profiling information interface.
  364. * Add STARPU_LIMIT_GPU_MEM environment variable.
  365. * OpenCL fixes
  366. * MPI fixes
  367. * Improve optimization documentation
  368. * Upgrade to hwloc 1.1 interface
  369. * Add fortran example
  370. * Add mandelbrot OpenCL example
  371. * Add cg example
  372. * Add stencil MPI example
  373. * Initial support for CUDA4
  374. StarPU 0.4 (svn revision 2535)
  375. ==============================================
  376. The API strengthening release
  377. * Major API improvements
  378. - Provide the STARPU_SCRATCH data access mode
  379. - Rework data filter interface
  380. - Rework data interface structure
  381. - A script that automatically renames old functions to accomodate with the new
  382. API is available from https://scm.gforge.inria.fr/svn/starpu/scripts/renaming
  383. (login: anonsvn, password: anonsvn)
  384. * Implement dependencies between task directly (eg. without tags)
  385. * Implicit data-driven task dependencies simplifies the design of
  386. data-parallel algorithms
  387. * Add dynamic profiling capabilities
  388. - Provide per-task feedback
  389. - Provide per-worker feedback
  390. - Provide feedback about memory transfers
  391. * Provide a library to help accelerating MPI applications
  392. * Improve data transfers overhead prediction
  393. - Transparently benchmark buses to generate performance models
  394. - Bind accelerator-controlling threads with respect to NUMA locality
  395. * Improve StarPU's portability
  396. - Add OpenCL support
  397. - Add support for Windows
  398. StarPU 0.2.901 aka 0.3-rc1 (svn revision 1236)
  399. ==============================================
  400. The asynchronous heterogeneous multi-accelerator release
  401. * Many API changes and code cleanups
  402. - Implement starpu_worker_get_id
  403. - Implement starpu_worker_get_name
  404. - Implement starpu_worker_get_type
  405. - Implement starpu_worker_get_count
  406. - Implement starpu_display_codelet_stats
  407. - Implement starpu_data_prefetch_on_node
  408. - Expose the starpu_data_set_wt_mask function
  409. * Support nvidia (heterogeneous) multi-GPU
  410. * Add the data request mechanism
  411. - All data transfers use data requests now
  412. - Implement asynchronous data transfers
  413. - Implement prefetch mechanism
  414. - Chain data requests to support GPU->RAM->GPU transfers
  415. * Make it possible to bypass the scheduler and to assign a task to a specific
  416. worker
  417. * Support restartable tasks to reinstanciate dependencies task graphs
  418. * Improve performance prediction
  419. - Model data transfer overhead
  420. - One model is created for each accelerator
  421. * Support for CUDA's driver API is deprecated
  422. * The STARPU_WORKERS_CUDAID and STARPU_WORKERS_CPUID env. variables make it possible to
  423. specify where to bind the workers
  424. * Use the hwloc library to detect the actual number of cores
  425. StarPU 0.2.0 (svn revision 1013)
  426. ==============================================
  427. The Stabilizing-the-Basics release
  428. * Various API cleanups
  429. * Mac OS X is supported now
  430. * Add dynamic code loading facilities onto Cell's SPUs
  431. * Improve performance analysis/feedback tools
  432. * Application can interact with StarPU tasks
  433. - The application may access/modify data managed by the DSM
  434. - The application may wait for the termination of a (set of) task(s)
  435. * An initial documentation is added
  436. * More examples are supplied
  437. StarPU 0.1.0 (svn revision 794)
  438. ==============================================
  439. First release.
  440. Status:
  441. * Only supports Linux platforms yet
  442. * Supported architectures
  443. - multicore CPUs
  444. - NVIDIA GPUs (with CUDA 2.x)
  445. - experimental Cell/BE support
  446. Changes:
  447. * Scheduling facilities
  448. - run-time selection of the scheduling policy
  449. - basic auto-tuning facilities
  450. * Software-based DSM
  451. - transparent data coherency management
  452. - High-level expressive interface
  453. # Local Variables:
  454. # mode: text
  455. # coding: utf-8
  456. # ispell-local-dictionary: "american"
  457. # End: