| 1 |
|
| 2 |
lparallel Changes |
| 3 |
================= |
| 4 |
= 2.8.4 |
| 5 |
|
| 6 |
* fix compilation error in lparallel-test with recent sbcl |
| 7 |
|
| 8 |
= 2.8.3 |
| 9 |
|
| 10 |
* handle new sbcl behavior for constant empty arrays in pmap's |
| 11 |
open coding |
| 12 |
|
| 13 |
= 2.8.2 |
| 14 |
|
| 15 |
* loop keywords no longer interned into cl-user |
| 16 |
|
| 17 |
= 2.8.1 |
| 18 |
|
| 19 |
* miscellaneous housekeeping |
| 20 |
* for ECL, version 16.0.0 or later is now required |
| 21 |
* fixed a couple tests that failed for ECL or when the compiler's |
| 22 |
signaling behavior is different (i.e. when the global optimization |
| 23 |
setting is high) |
| 24 |
|
| 25 |
= 2.8.0 |
| 26 |
|
| 27 |
* added broadcast-task -- executes a given task inside each worker |
| 28 |
* added kernel-worker-index -- determine if the current thread is a |
| 29 |
worker thread, and if so, obtain its assigned index |
| 30 |
|
| 31 |
= 2.7.4 |
| 32 |
|
| 33 |
* more syntax checking for task-handler-bind |
| 34 |
* minor housekeeping |
| 35 |
|
| 36 |
= 2.7.3 |
| 37 |
|
| 38 |
* when the stealing scheduler is enabled (default on SBCL), fixed |
| 39 |
compiling on non-x86oid SBCL (by Stas Boukarev) |
| 40 |
|
| 41 |
= 2.7.2 |
| 42 |
|
| 43 |
* deprecated `submit-timeout' and `cancel-timeout'; use the new |
| 44 |
`:timeout' option in `try-receive-result' which is enabled with the |
| 45 |
latest bordeaux-threads. |
| 46 |
* removed eos dependency in lparallel-test |
| 47 |
|
| 48 |
= 2.7.1 |
| 49 |
|
| 50 |
* when the stealing scheduler is enabled (default on SBCL only), fix |
| 51 |
stealing when *task-priority* is :low -- affected defpun and some |
| 52 |
cognates when called from inside a worker thread |
| 53 |
|
| 54 |
= 2.7.0 |
| 55 |
|
| 56 |
* added the ability to bind multiple values in `plet', e.g. |
| 57 |
(plet ((x 1) ((y z) (values 2 3))) (+ x y z)) ;=> 6 |
| 58 |
* added `slet' -- serial/non-parallel `let' with the same syntax as |
| 59 |
`plet' for binding multiple values |
| 60 |
* various optimizations |
| 61 |
|
| 62 |
= 2.6.2 |
| 63 |
|
| 64 |
* updated to the new bordeaux-threads timeout API -- fixes a hole in |
| 65 |
the new queue timeout feature |
| 66 |
* fixed a corner case in pmap-into (when no input sequences are passed |
| 67 |
and the result sequence has a fill pointer that is not at the end) |
| 68 |
|
| 69 |
= 2.6.1 |
| 70 |
|
| 71 |
* fixed multiple return values being discarded for functions defined |
| 72 |
by defpun (this is a recent regression only present in 2.6.0) |
| 73 |
|
| 74 |
= 2.6.0 |
| 75 |
|
| 76 |
* added :timeout option to try-pop-queue and try-receive-result; this |
| 77 |
requires the latest version of bordeaux-threads (older versions will |
| 78 |
work as long as :timeout is not used) |
| 79 |
|
| 80 |
= 2.5.0 [rescinded] |
| 81 |
|
| 82 |
* this added a now-rescinded compatibility layer for the :timeout |
| 83 |
option in try-pop-queue that caused a hard crash in ccl |
| 84 |
|
| 85 |
= 2.4.4 |
| 86 |
|
| 87 |
* fixed certain (probably rare) complex uses of task-handler-bind |
| 88 |
* optimizations from smaller generated code size |
| 89 |
|
| 90 |
= 2.4.3 |
| 91 |
|
| 92 |
* worked around ECL compiler bug (note the repository ECL is still |
| 93 |
needed for bordeaux-threads, and ECL still has threading bugs) |
| 94 |
* removed sbcl-1.1.6 workaround; this version is now prohibited |
| 95 |
* ptree-lambda-list-keyword-error now reports all lambda list keywords |
| 96 |
* fixed unbound slot error during ptree-undefined-function-error |
| 97 |
report when ptree-computed-p or call-ptree passed a nonexistent node |
| 98 |
|
| 99 |
= 2.4.2 |
| 100 |
|
| 101 |
* printed kernel now shows :use-caller status |
| 102 |
* various optimizations |
| 103 |
|
| 104 |
= 2.4.1 |
| 105 |
|
| 106 |
* fixed tests on abcl |
| 107 |
|
| 108 |
= 2.4.0 |
| 109 |
|
| 110 |
* plet now exploits type declarations |
| 111 |
* defpun*, defpun/type*, and psort* are now deprecated -- instead use |
| 112 |
the unstarred versions and pass `:use-caller t' to make-kernel |
| 113 |
* parallel compilation is now safer |
| 114 |
|
| 115 |
= 2.3.7 |
| 116 |
|
| 117 |
* fixed a warning on non-sbcl implementations |
| 118 |
|
| 119 |
= 2.3.6 |
| 120 |
|
| 121 |
* recent workaround for sbcl-1.0.53 now covers all cases |
| 122 |
|
| 123 |
= 2.3.5 |
| 124 |
|
| 125 |
* added workaround for compilation failure on sbcl-1.0.53 and older |
| 126 |
* fixed a test for older sbcl versions lacking an `abort' restart |
| 127 |
|
| 128 |
= 2.3.4 |
| 129 |
|
| 130 |
* improved defpun performance |
| 131 |
* added workaround for sbcl-1.1.6 issue |
| 132 |
|
| 133 |
= 2.3.3 |
| 134 |
|
| 135 |
* added support for sbcl-1.0.42 and older on x86 and x86-64 |
| 136 |
|
| 137 |
= 2.3.2 |
| 138 |
|
| 139 |
* improved stealing scheduler performance |
| 140 |
|
| 141 |
= 2.3.1 |
| 142 |
|
| 143 |
* issue a compile-time deprecation warning when make-queue or |
| 144 |
make-channel is called with one argument |
| 145 |
|
| 146 |
= 2.3.0 |
| 147 |
|
| 148 |
* make-queue and make-channel now accept a :fixed-capacity argument |
| 149 |
for limiting the number of elements stored |
| 150 |
|
| 151 |
* make-queue now accepts an :initial-contents argument |
| 152 |
|
| 153 |
* passing a single argument to make-queue or make-channel is |
| 154 |
deprecated; a &rest hack is present for backward compatibility |
| 155 |
|
| 156 |
* added function queue-full-p |
| 157 |
|
| 158 |
= 2.2.1 |
| 159 |
|
| 160 |
* added lockless queue support for LispWorks; enable it through |
| 161 |
feature :lparallel.with-stealing-scheduler |
| 162 |
|
| 163 |
= 2.2.0 |
| 164 |
|
| 165 |
* exported types: kernel, channel, ptree |
| 166 |
|
| 167 |
* added ptree-computed-p -- query the computed state of a ptree node |
| 168 |
|
| 169 |
* make-kernel now aborts cleanly when a worker fails to initialize, |
| 170 |
e.g. when make-thread fails or when a :context function aborts |
| 171 |
|
| 172 |
* check-kernel now returns a kernel instance |
| 173 |
|
| 174 |
* added a front-end lock to some ptree functions -- removes the |
| 175 |
requirement that some calls be exclusive |
| 176 |
|
| 177 |
* improved performance of functions defined by defpun |
| 178 |
|
| 179 |
= 2.1.4 |
| 180 |
|
| 181 |
* accept function symbols in pcount, pfind, premove |
| 182 |
* fixed pfind not accepting :test and :test-not |
| 183 |
|
| 184 |
= 2.1.3 |
| 185 |
|
| 186 |
* fixed image created by ccl:save-application |
| 187 |
* pnotany and pnotevery now accept a symbol as a predicate |
| 188 |
|
| 189 |
= 2.1.2 |
| 190 |
|
| 191 |
* The stealing scheduler is now lockless under Clozure CL. This is not |
| 192 |
enabled by default, as it uses a few unexported symbols in the CCL |
| 193 |
package. Enable it by adding :lparallel.with-stealing-scheduler to |
| 194 |
*features*. The latest CCL from svn is required. |
| 195 |
|
| 196 |
= 2.1.1 |
| 197 |
|
| 198 |
* minor documentation tweaks and other cleanup |
| 199 |
|
| 200 |
= 2.1.0 |
| 201 |
|
| 202 |
* added readers kernel-name and kernel-context |
| 203 |
* added restart kill-errors to workers -- removes debugger popups |
| 204 |
* attempting to submit a task to an ended kernel now signals an error |
| 205 |
* suicidal calls to kill-tasks inside a worker are now permitted |
| 206 |
|
| 207 |
= 2.0.2 |
| 208 |
|
| 209 |
* handle *read-default-float-format* in tests and benchmarks |
| 210 |
|
| 211 |
= 2.0.1 |
| 212 |
|
| 213 |
* improved pmap-into performance on sbcl |
| 214 |
|
| 215 |
= 2.0.0 |
| 216 |
|
| 217 |
* keyword arguments to psort besides :key have been replaced with a |
| 218 |
single :granularity argument; the old arguments are now ignored |
| 219 |
|
| 220 |
* removed deprecated aliases from 1.2.0 and 1.3.0 (you may not be |
| 221 |
aware of them since they haven't been listed in the documentation) |
| 222 |
|
| 223 |
* A function defined with defpun is now optimized for N worker threads |
| 224 |
where N is the number of cores. The old behavior is available with |
| 225 |
defpun*, which defines a function that is optimized for N-1 workers |
| 226 |
(and has less overhead). |
| 227 |
|
| 228 |
* added psort* -- like psort but targets N-1 workers |
| 229 |
|
| 230 |
* improved performance of psort |
| 231 |
|
| 232 |
* task categories are now compared with eql; same for ptree node ids |
| 233 |
|
| 234 |
= 1.7.1 |
| 235 |
|
| 236 |
* exiting CCL while a kernel exists no longer generates warnings |
| 237 |
* preserved lambda list info for a function defined with defpun when |
| 238 |
no lambda list keywords are present |
| 239 |
* nested chain calls no longer cause multiple values to be discarded |
| 240 |
* error for undefined ptree node now signals in the proper context |
| 241 |
* reduced overhead for promises and futures; other optimizations |
| 242 |
|
| 243 |
= 1.7.0 |
| 244 |
|
| 245 |
* added pdotimes |
| 246 |
* optimized cognate functions and macros when they are called inside |
| 247 |
worker threads; e.g. pmap in (future (pmap ...)) no longer blocks |
| 248 |
a worker |
| 249 |
|
| 250 |
= 1.6.3 |
| 251 |
|
| 252 |
* add CLISP support |
| 253 |
|
| 254 |
= 1.6.2 |
| 255 |
|
| 256 |
* fixed tests on abcl |
| 257 |
|
| 258 |
= 1.6.1 |
| 259 |
|
| 260 |
* update and clarify docs |
| 261 |
|
| 262 |
= 1.6.0 |
| 263 |
|
| 264 |
* added clear-ptree-errors -- for resuming after an error |
| 265 |
* added clear-ptree -- for recomputing from scratch |
| 266 |
* improved task handling for ptrees |
| 267 |
* :lparallel now in *features* after load |
| 268 |
* defpun no longer transforms pfuncall forms |
| 269 |
|
| 270 |
= 1.5.5 |
| 271 |
|
| 272 |
* in Allegro, end-kernel is no longer required before exit |
| 273 |
* ptree-fn now accepts non-symbol node identifiers |
| 274 |
|
| 275 |
= 1.5.4 |
| 276 |
|
| 277 |
* pmaps had sometimes rejected symbol as function |
| 278 |
|
| 279 |
= 1.5.3 |
| 280 |
|
| 281 |
* Allegro fixed |
| 282 |
|
| 283 |
= 1.5.2 |
| 284 |
|
| 285 |
* handle nil kernel in task-categories-running |
| 286 |
* kernel-bindings was returning superfluous bindings |
| 287 |
|
| 288 |
= 1.5.1 |
| 289 |
|
| 290 |
* disable the new open coding on ABCL, which fails to compile uses of it |
| 291 |
|
| 292 |
= 1.5.0 |
| 293 |
|
| 294 |
* pmap and pmap-into are now open-coded in the case of 1 vector being |
| 295 |
mapped to a vector -- allows a large performance boost in some CL |
| 296 |
implementations (like SBCL) when array types are known |
| 297 |
|
| 298 |
* SBCL is now able to terminate when live kernel(s) exist -- |
| 299 |
previously, end-kernel needed to be called on all kernels before |
| 300 |
exiting (which is good practice but is no longer required) |
| 301 |
|
| 302 |
* added try-receive-result -- non-blocking version of receive-result |
| 303 |
|
| 304 |
= 1.4.5 |
| 305 |
|
| 306 |
* include fix for sbcl map-into bug #1001043 |
| 307 |
|
| 308 |
= 1.4.3 |
| 309 |
|
| 310 |
* compensate for upcoming sbcl thread changes (only affects tests) |
| 311 |
* documentation updates |
| 312 |
|
| 313 |
= 1.4.2 |
| 314 |
|
| 315 |
* functions defined with defpun now report argument names in slime et al |
| 316 |
* added defpun/type, typed version of defpun |
| 317 |
|
| 318 |
= 1.4.1 |
| 319 |
|
| 320 |
* fixed defpun benchmarks |
| 321 |
|
| 322 |
= 1.4.0 |
| 323 |
|
| 324 |
* added function task-categories-running |
| 325 |
* new special variable *debug-tasks-p* -- setting it to false will |
| 326 |
transfer errors instead of invoking the debugger inside tasks; |
| 327 |
default is true |
| 328 |
* added convenience function invoke-transfer-error for local control |
| 329 |
over debugging tasks: |
| 330 |
(task-handler-bind ((error #'invoke-transfer-error)) ...) |
| 331 |
(task-handler-bind ((error #'invoke-debugger)) ...) |
| 332 |
|
| 333 |
= 1.3.3 |
| 334 |
|
| 335 |
* internal cleanup |
| 336 |
|
| 337 |
= 1.3.2 |
| 338 |
|
| 339 |
* add a few profile functions |
| 340 |
* doc tweak |
| 341 |
|
| 342 |
= 1.3.1 |
| 343 |
|
| 344 |
* fixed tests on abcl |
| 345 |
|
| 346 |
= 1.3.0 |
| 347 |
|
| 348 |
* new support for fine-grained parallelism with `defpun' |
| 349 |
* new work-stealing model with lockless queues and optional spinning; |
| 350 |
enabled by default on SBCL, others default to central queue |
| 351 |
* added pfind, pcount, plet-if, pfuncall |
| 352 |
* fixed redundant restart in `chain' |
| 353 |
* `fulfill' now accepts non-promises (never succeeds) |
| 354 |
* removed high optimizations exposed in some API functions |
| 355 |
* added shell script for unthrottling CPUs in Linux |
| 356 |
* renamed *kernel-task-category* -> *task-category* |
| 357 |
*kernel-task-priority* -> *task-priority* |
| 358 |
kernel-handler-bind -> task-handler-bind |
| 359 |
preduce/partial -> preduce-partial |
| 360 |
old names are still available |
| 361 |
|
| 362 |
= 1.2.3 |
| 363 |
|
| 364 |
* for promises created with (promise), fixed intermittent error during |
| 365 |
high contention on some SBCL Linux machines; fixes flood-test failure |
| 366 |
|
| 367 |
= 1.2.2 |
| 368 |
|
| 369 |
* (pmap nil ...) was accidentally pessimized in the many-parts case |
| 370 |
|
| 371 |
= 1.2.1 |
| 372 |
|
| 373 |
* more consistent end-kernel behavior -- ensured that no more tasks |
| 374 |
are executed once an idle state is detected |
| 375 |
|
| 376 |
= 1.2.0 |
| 377 |
|
| 378 |
* added function cancel-timeout; submit-timeout now returns a timeout object |
| 379 |
* renamed emergency-kill-tasks to kill-tasks; old name is still available |
| 380 |
* minor optimization to ptrees |
| 381 |
* added type checks to psort arguments |
| 382 |
* switched test framework to eos |
| 383 |
|
| 384 |
= 1.1.0 |
| 385 |
|
| 386 |
* added :wait option to end-kernel -- block until the kernel has shut down |
| 387 |
(please read the documentation for end-kernel before using) |
| 388 |
* bound *print-circle* to t when printing a kernel -- avoids SBCL + SLIME |
| 389 |
crash when evaluating the single form (setf *kernel* (make-kernel ...)) |
| 390 |
|
| 391 |
= 1.0.12 |
| 392 |
|
| 393 |
* improved some tests (pmap-into-test, flood-test) |
| 394 |
* minor cleanup |
| 395 |
|
| 396 |
= 1.0.11 |
| 397 |
|
| 398 |
* slightly smaller footprint for futures and speculations |
| 399 |
* better handling of edge cases in some tests |
| 400 |
|
| 401 |
= 1.0.10 |
| 402 |
|
| 403 |
* fixed a test (sleeping-worker-replacement-test) |
| 404 |
|
| 405 |
= 1.0.9 |
| 406 |
|
| 407 |
* non-error conditions now recognized during recursive handling |
| 408 |
|
| 409 |
= 1.0.8 |
| 410 |
|
| 411 |
* handle zero-arity special case for pmap-into and pmaplist-into |
| 412 |
|
| 413 |
= 1.0.7 |
| 414 |
|
| 415 |
* minor cleanup |
| 416 |
|
| 417 |
= 1.0.6 |
| 418 |
|
| 419 |
* removed needless kernel handler in delay |
| 420 |
* various minor cleanup |
| 421 |
|
| 422 |
= 1.0.5 |
| 423 |
|
| 424 |
* better README and .asd description |
| 425 |
|
| 426 |
= 1.0.4 |
| 427 |
|
| 428 |
* added description fields to .asd file and augment README |
| 429 |
* error for an invalid task priority is now correctable |
| 430 |
|
| 431 |
= 1.0.3 |
| 432 |
|
| 433 |
* benchmarks now working with ABCL |
| 434 |
* better handling of non-array/non-list result sequences in pmap-into |
| 435 |
|
| 436 |
= 1.0.2 |
| 437 |
|
| 438 |
* fix non-array/non-list result sequences in pmap-into |
| 439 |
|
| 440 |
= 1.0.1 |
| 441 |
|
| 442 |
* clarified docs |
| 443 |
* trivial cleanup |
| 444 |
|
| 445 |
= 1.0.0 |
| 446 |
|
| 447 |
* birthday |