ChangeLog 45 KB

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