ChangeLog 23 KB

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