summaryrefslogtreecommitdiff
path: root/src/CHAD.hs
Commit message (Collapse)AuthorAge
* Pass around an accumMap (but it's empty still)Tom Smeding4 days
|
* D2[Array] now has a Maybe instead of zero-size for zeroTom Smeding6 days
| | | | Remaining problem: 'add' in Compile doesn't use the D2 stuff
* Commutativity marker on fold1iTom Smeding12 days
|
* Complete accumulator revamp!Tom Smeding2025-03-15
|
* Just allow non-array accumulator typesTom Smeding2025-03-09
| | | | Not sure why I didn't allow this previously
* Clean up code organisation a littleTom Smeding2025-03-09
|
* Add ext field to remaining AST constructorsTom Smeding2025-01-27
|
* WIP UnMonoid (to be used for compiling to C)Tom Smeding2024-12-06
|
* Fix indentationTom Smeding2024-12-06
|
* WIP accum top-level argsTom Smeding2024-11-26
|
* Prepare for introducing top-level args in accum modTom Smeding2024-11-23
|
* Use accum storage for Case tooTom Smeding2024-11-23
|
* drevScoped returns a data type, not CPSTom Smeding2024-11-23
|
* Factor let storage-dependent scoping logic into separate functionTom Smeding2024-11-22
|
* Configuration for CHADTom Smeding2024-11-14
|
* Make EBuild derivative aware of zero cotangent arraysTom Smeding2024-11-11
|
* Test GMM; it failsTom Smeding2024-11-10
|
* Complete GMM implementationTom Smeding2024-11-10
|
* Some more primitive operatorsTom Smeding2024-11-09
|
* WIP maximum/minimumTom Smeding2024-11-08
|
* Custom derivativesTom Smeding2024-11-08
|
* Remove build1Tom Smeding2024-11-07
|
* BenchmarkTom Smeding2024-11-07
|
* Generate EOneHot in D[EIdx]Tom Smeding2024-11-05
| | | | | | This generates a one-hot for the zero-dimensional inner array because indexing one level further to the actual element is too difficult. But this should simplify away fine.
* WIP EOneHotTom Smeding2024-11-04
|
* Store only on tape what's used in the dualTom Smeding2024-10-29
|
* WIP preserve only subset of D0 bindings in dual (...)Tom Smeding2024-10-27
| | | | | | | | | | | | | | | The point of this is to ensure that when an expression occurs in a Build, then the parts of D0 that are only there to make sharing work out for D1 are not laboriously taped in an array and preserved for D2, only for D2 to ignore them. However, while the subtape machinery is a good first step, this is not everything: the current Build translation makes a Build for the (elementwise) tape and separately a build for the primal. Because the primal _does_ generally need the subtaped-away stuff, we can't just not tape those. TODO: figure out how to resolve this / what the next step is.
* Fix EIdx derivativeTom Smeding2024-10-26
|
* DebuggingTom Smeding2024-10-26
|
* Fix interpreter bugTom Smeding2024-10-22
|
* Less warningsTom Smeding2024-10-22
|
* Differentiate ReplicateTom Smeding2024-10-22
|
* TestsTom Smeding2024-10-21
|
* Towards a test suiteTom Smeding2024-10-07
|
* Reverse-by-forward, and checking neural (it's wrong)Tom Smeding2024-10-01
|
* Test neuralTom Smeding2024-09-25
|
* WIP better zero/plus, fixing Accum (...)Tom Smeding2024-09-13
| | | | | | | | | | | | | The accumulator implementation was wrong because it forgot (in accumAdd) to take into account that values may be variably-sized. Furthermore, it was also complexity-inefficient because it did not build up a sparse value. Thus let's go for the Haskell-interpreter-equivalent of what a real, fast, compiled implementation would do: just a tree with mutable variables. In practice one can decide to indeed flatten parts of that tree, i.e. using a tree representation for nested pairs is bad, but that should have been done _before_ execution and for _all_ occurrences of that type fragment, not live at runtime by the accumulator implementation.
* Towards neuralTom Smeding2024-09-12
|
* Interpreter, some operationsTom Smeding2024-09-12
|
* Generic accumulatorsTom Smeding2024-09-05
|
* WIPTom Smeding2024-09-04
|
* Some workTom Smeding2024-09-03
|
* Inching towards drev of buildTom Smeding2024-09-03
|
* accumPromoteTom Smeding2024-09-02
|
* Code cleanup, and OverloadedLabels for LSegTom Smeding2024-09-02
|
* Autoweak!Tom Smeding2024-09-02
|
* WIP autoWeakTom Smeding2024-09-02
|
* WIP Build1Tom Smeding2024-08-30
|
* Migrate to accumulators (mostly removing EVM code)Tom Smeding2024-08-30
|
* Generalise freezeRet a little bitTom Smeding2024-08-29
|