Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old master #59

Draft
wants to merge 1,494 commits into
base: master
Choose a base branch
from
Draft
Changes from 2 commits
Commits
Show all changes
1494 commits
Select commit Hold shift + click to select a range
34e85a2
Add addr replacement handling of memtransfer (#879)
wsmoses Oct 4, 2022
e8fdb86
Set formemset (#881)
wsmoses Oct 4, 2022
4671621
Add MLIR build infra (#852)
wsmoses Oct 5, 2022
6d95df2
Consider even atomic loads as non-active writing (#882)
wsmoses Oct 5, 2022
5e98303
Add parser pass for autodiff attributes
Apr 13, 2022
a13be17
Consider jlcall activity (#884)
wsmoses Oct 6, 2022
c4f5c17
Remove `CMAKE_EXE_LINKER_FLAGS` from macOS CI (#883)
carlocab Oct 6, 2022
8ce640e
Fix fblas declaration error (#886)
wsmoses Oct 8, 2022
bc85675
update NoFree list (#888)
ZuseZ4 Oct 9, 2022
e3c7867
Fix gamma special case bug (#892)
wsmoses Oct 12, 2022
b359e2c
Fix mincut remat bug (#893)
wsmoses Oct 12, 2022
2826972
Add 64 abi without underscore (#895)
wsmoses Oct 12, 2022
7d33211
Lookup for reverse of atomic add (#896)
wsmoses Oct 12, 2022
680ed95
More fine grained bundle preservation (#897)
wsmoses Oct 12, 2022
736092f
Print source line location where type depth reached. (#871)
wsmoses Oct 13, 2022
1efa420
Actually fix 64bit cblas (#898)
wsmoses Oct 13, 2022
4d7f77a
Fix vector atomic gep (#899)
wsmoses Oct 13, 2022
07eabda
Cleanup and fix macos (#900)
wsmoses Oct 13, 2022
30e0525
Fix format and bump patch
wsmoses Oct 13, 2022
6ac8edb
Handle multilevel dupnoneed (#902)
wsmoses Oct 16, 2022
17b83da
Preserve noalias metadata on unwrap (#901)
wsmoses Oct 16, 2022
65150b8
Fix illegal invariant group on unwrap (#905)
wsmoses Oct 18, 2022
c81bf98
Fix test on AArch64 (#907)
tgymnich Oct 19, 2022
c1a1f22
Custom alloc zeroing (#908)
wsmoses Oct 20, 2022
952a4f5
Fixup
wsmoses Oct 20, 2022
5980f31
Custom return fixup (#912)
wsmoses Oct 22, 2022
2a8ba2d
Custom forward zero (#913)
wsmoses Oct 23, 2022
235fc1d
Keep integer extract (#914)
wsmoses Oct 24, 2022
d5510e3
Make single version of primal stack lowering handler (#915)
wsmoses Oct 24, 2022
7da8126
Cleanup allocation and remat (#916)
wsmoses Oct 24, 2022
d52cb9c
Add memref/llvm.ptr handling for fwd mode (#910)
wsmoses Oct 24, 2022
b5d4fb1
With zero (#917)
wsmoses Oct 25, 2022
442f31d
Add forward bundle for allocations (#918)
wsmoses Oct 27, 2022
21274aa
Add cbrtf (#919)
wsmoses Oct 30, 2022
011b361
Add julia rem2pi (#921)
wsmoses Oct 30, 2022
9f102eb
Add frem (#920)
wsmoses Oct 30, 2022
60aa782
Add fence inst handling (#922)
wsmoses Oct 31, 2022
633dcd1
Add constantexpr shadow (#928)
wsmoses Nov 9, 2022
1b5f1f1
Addition of SC'22 citation to Readme (#932)
ludgerpaehler Nov 24, 2022
dddf6c6
Fix renaming of getModRefBehavior to getMemoryEffects (#936)
tgymnich Nov 30, 2022
ccfb103
Rename ForwardModeAdjoint to ForwardModeTangent to stay in line with …
ludgerpaehler Dec 1, 2022
b14088f
Support declaring a custom allocation / free function. (#937)
wsmoses Dec 2, 2022
9013de3
Add inactive global specifier (#938)
wsmoses Dec 2, 2022
4c301eb
Improve global metadata handling wrt llvm.used (#939)
wsmoses Dec 4, 2022
6351440
Add a citation.bib file which is automatically being picked up by Git…
ludgerpaehler Dec 9, 2022
c600eb3
Simplify out TLI from entry (#942)
wsmoses Dec 11, 2022
ce1113f
Graph ADBench benchmarks (#770)
tgymnich Dec 12, 2022
10dfcf9
Update benchmark.yml (#944)
tgymnich Dec 12, 2022
2b21c28
Add fneg handling to type analysis (#947)
wsmoses Dec 13, 2022
d580a8d
Fix recursive read problem (#945)
wsmoses Dec 14, 2022
9f04b23
Ensure custom allocation free has debug info set
wsmoses Dec 15, 2022
6465118
Preserve deallocation function via linkage (#948)
wsmoses Dec 15, 2022
64dbe2c
Bench unit test compile time (#943)
tgymnich Dec 18, 2022
0ecf682
fix llvm version parsed from json (#952)
tgymnich Dec 18, 2022
bef75d6
install requests on macOS (#953)
tgymnich Dec 20, 2022
7f615b3
Implement frexp (#955)
wsmoses Dec 20, 2022
e08703f
Improve atomicxcg type analysis (#949)
wsmoses Dec 20, 2022
9eefd84
Handle non analyzed blocks in loop rematerialization (#957)
wsmoses Dec 23, 2022
11c6c14
Fix LCSSA lookup scope bug (#951)
wsmoses Dec 23, 2022
ed65775
Update CMakeLists.txt
wsmoses Dec 23, 2022
997e8df
Fix adj (#958)
wsmoses Dec 24, 2022
4cc3434
Update github actions (#956)
tgymnich Dec 25, 2022
e0bb22c
Fix shadow remat bug (#959)
wsmoses Dec 25, 2022
d54daa7
New PM and Opaque pointer progress (#960)
wsmoses Dec 28, 2022
1981d08
Build enzyme during bootstrap
Jan 10, 2023
2c01cb3
Copy enzyme artifacts to rustc library path
Jan 10, 2023
e321b8f
remove old build approach
ZuseZ4 Jan 11, 2023
d826b4a
copy enzyme correctly, slightly hacked (why not like lld?)
ZuseZ4 Jan 11, 2023
446df3a
to much changes, but works
ZuseZ4 Jan 11, 2023
a6e39d1
Merge remote-tracking branch 'origin/poc/autodiff'
ZuseZ4 Jan 12, 2023
9d58f89
Add symlink for FlangEnzyme, when ClangEnzyme is present and FlangEnz…
ludgerpaehler Jan 12, 2023
deba786
find functions, add llvm-wrappers, WIP
ZuseZ4 Jan 13, 2023
54cfe79
Forward metadata to pre-LTO optimization \o/
Jan 13, 2023
fe550b5
Move rust bindings into rustc (#964)
ZuseZ4 Jan 13, 2023
4e03dff
move enzyme bindings to llvm bindings
ZuseZ4 Jan 14, 2023
e6e3a89
differentiates! but still wip
ZuseZ4 Jan 14, 2023
813d5c7
Export autodiff source functions to make sure they exist
Jan 14, 2023
3b24803
unwrap ret struct, WIP
ZuseZ4 Jan 15, 2023
5a9d54b
working example
ZuseZ4 Jan 15, 2023
39e69c7
use names from macro
ZuseZ4 Jan 15, 2023
0dacc7e
call abi wrapper conditionally
ZuseZ4 Jan 15, 2023
434dbf7
more dbg output
ZuseZ4 Jan 16, 2023
ec3d6dc
Use autodiff functions as root for mono-collector
Jan 16, 2023
5d88f67
nicer bindings
ZuseZ4 Jan 17, 2023
5470b2d
Merge autodiff function information into single block
Jan 17, 2023
086898f
start rustc-TA
ZuseZ4 Jan 18, 2023
759aa26
Mark source functions as external
Jan 18, 2023
6a8e121
erge branch 'master' of github.com:EnzymeAD/rust
Jan 18, 2023
1fb18b9
Simplify extern marking modification
Jan 19, 2023
f03dc33
parse and verify more macro args
ZuseZ4 Jan 19, 2023
6fbb149
use full macro information
ZuseZ4 Jan 20, 2023
765a1bb
filter more invalid input
ZuseZ4 Jan 20, 2023
d448bca
adjust to enzyme behaviour
ZuseZ4 Jan 23, 2023
7868614
Add TypeTree wrappers.
ZuseZ4 Jan 23, 2023
bef16a0
Merge branch 'master' of github.com:EnzymeAD/rust
Jan 23, 2023
013b9d3
move stuff to have information for TT creation in one place
ZuseZ4 Jan 24, 2023
3c31899
Merge branch 'master' of github.com:EnzymeAD/rust
Jan 26, 2023
cef06a7
cleanup ffi, more typeTrees
ZuseZ4 Jan 27, 2023
c8709c0
support references, other improvements
ZuseZ4 Jan 29, 2023
ba6a9b1
deactive vectorization, unrolling before AD
ZuseZ4 Jan 29, 2023
4e73031
support boxed types
ZuseZ4 Jan 29, 2023
7a231b6
code cleanup
ZuseZ4 Jan 29, 2023
35d9f98
Add atan2f (#971)
wsmoses Jan 29, 2023
ae31fac
Handle compiler.used (#970)
wsmoses Jan 29, 2023
a0c76a0
add must_use to TypeTree fncs
ZuseZ4 Jan 30, 2023
7423503
Merge branch 'master' of github.com:EnzymeAD/rust
Jan 30, 2023
35231d4
WIP modify ABI when autodiff function
Jan 30, 2023
28004af
strengthen test for macos ordering (#974)
wsmoses Jan 30, 2023
4658ed0
Add Faddeeva_erfcx_re (#973)
wsmoses Jan 30, 2023
a3d5e69
create TT for structs
ZuseZ4 Jan 31, 2023
307a2bd
Use different strategy for function marking
Jan 31, 2023
c14de7f
Merge branch 'master' of github.com:EnzymeAD/rust
Jan 31, 2023
1e6f717
Multi typed activity (#972)
wsmoses Feb 1, 2023
282feae
Fix Macos condswload
wsmoses Feb 1, 2023
ecd10f0
Add fmod (#976)
wsmoses Feb 2, 2023
da74db0
Update CMakeLists.txt
wsmoses Feb 2, 2023
038f63c
install c++ extension pack inside dev container (#975)
tgymnich Feb 2, 2023
9664c6a
minor build fix
ZuseZ4 Feb 2, 2023
21953f8
remove outdated ad structures
ZuseZ4 Feb 2, 2023
388abc3
Mark autodiff items as non-internalizable
Feb 2, 2023
82d04cc
Add probabilistic programming capabilities (#909)
tgymnich Feb 2, 2023
e636b27
Create typetrees after monomorphization and function building
Feb 2, 2023
5e78b0e
Build typetree of source function
Feb 2, 2023
5d1e000
Fix pgcstack bug (#977)
wsmoses Feb 3, 2023
9309d8a
Magick line
Feb 3, 2023
66879ba
a lot of debug helper
ZuseZ4 Feb 3, 2023
d962426
Revert "a lot of debug helper" since we solved it :)
ZuseZ4 Feb 3, 2023
fa1c7ae
Magick line 2
Feb 3, 2023
1bc80e8
Only set inline attribute
Feb 3, 2023
0c3425d
fix llvm 15 (#979)
tgymnich Feb 3, 2023
3e460d3
More opaque pointer support (#978)
wsmoses Feb 4, 2023
d1419d1
Remove parenthesis requirements for source function
Feb 4, 2023
8eca4d0
Use different typetrees passing strategy
Feb 4, 2023
3ea7cd2
Pass typetrees to enzyme
Feb 5, 2023
e016636
only build tt for source fnc + fix typo, less unsafe
ZuseZ4 Feb 5, 2023
501065a
Add unstable flag to enable enzyme debugging
Feb 9, 2023
49a8bf8
Change overwritten map to index on opnum not argument (#982)
wsmoses Feb 10, 2023
b2f9d57
Mark memchr as inactive (#984)
wsmoses Feb 10, 2023
af1b3ab
Fix overwritten print bug (#985)
wsmoses Feb 10, 2023
897b084
nil the target triple prior to merge (#986)
wsmoses Feb 10, 2023
3aac5a4
Fix MLIR build (#983)
wsmoses Feb 11, 2023
ce11d52
handle mangled names (#989)
tgymnich Feb 12, 2023
23d6ecc
Use getCalledFunction (#991)
tgymnich Feb 12, 2023
248dbbb
Fix insert choice (#988)
tgymnich Feb 12, 2023
1843339
Trace interface improvements (#990)
tgymnich Feb 14, 2023
5894561
pass trace as argument (#992)
tgymnich Feb 14, 2023
00dca5d
add v15 to Enzyme_jll (#997)
vchuravy Feb 15, 2023
4905734
Fix bug
wsmoses Feb 15, 2023
2595aba
Preserve invariant group properties on unwrap (#996)
wsmoses Feb 15, 2023
f550600
Zero inner always (#998)
wsmoses Feb 16, 2023
d6e548e
Don't build musl (#999)
vchuravy Feb 16, 2023
7d85a87
Upgrade to OSX 10.14 for jll (#1000)
vchuravy Feb 16, 2023
4a41e46
Update type analysiUpdate type analysiss
Feb 18, 2023
9ebeaaa
Add autodiff library for more syntactic sugar
Feb 19, 2023
8961371
Parse inline macro attributes from source
Feb 20, 2023
db3e1b8
Add original parameters to black box as well
Feb 20, 2023
3c6b1c7
Start addings expanding tests to procedural macro
Feb 21, 2023
cba4f3a
Blub
Feb 21, 2023
48745cd
Fix typetree for interleaved arrays
Feb 21, 2023
d6cc01b
Add tests for fixed sized array
Feb 21, 2023
f2372c0
Abstract typetrees in separate structure to make indepdent of LLVM
Feb 22, 2023
7e60cef
extract populate_overwritten_args (#994)
tgymnich Feb 22, 2023
87a6b6c
extract handleArguments (#993)
tgymnich Feb 22, 2023
a118643
remove orig (aliasing call reference) (#1001)
tgymnich Feb 22, 2023
16010f8
Update README.md
ZuseZ4 Feb 23, 2023
7265291
fix debug message (#1002)
tgymnich Feb 23, 2023
e863bf4
Update README.md
vtjnash Feb 23, 2023
3e1e2d0
fix llvm 14/15 build (#1004)
tgymnich Feb 23, 2023
366cb56
Merge pull request #8 from vtjnash/patch-1
ZuseZ4 Feb 23, 2023
d4c4b17
Intermediate type tree representation
Feb 23, 2023
262d32b
Merge branch 'master' of github.com:EnzymeAD/rust
Feb 23, 2023
d0ec519
Add --print=split-debuginfo
kamirr Nov 7, 2022
78557ea
sess: stabilize `--terminal-width`
davidtwco Feb 14, 2022
d3a71b3
session: `output-width` -> `diagnostic-width`
davidtwco Jul 6, 2022
c58f3dc
Move examples into autodiff library
Feb 24, 2023
34e3965
update README links to Julia and Rust (#1007)
vtjnash Feb 24, 2023
a2045bd
remove using namespace llvm (#1008)
tgymnich Feb 25, 2023
70a710b
fix unused variable
Mar 1, 2023
dc45462
Move custom handler to preserve nvvm (#1005)
wsmoses Mar 5, 2023
113c6f6
Simplify intrinsic activity (#1011)
wsmoses Mar 5, 2023
3a08b74
Ensure activity analysis doesn't drop hypothesis re-eval (#1012)
wsmoses Mar 6, 2023
86ff6d7
Update CMakeLists.txt
wsmoses Mar 6, 2023
7e930d7
Fix vector fmuladd (#1013)
wsmoses Mar 6, 2023
74122a3
Remove std optional and rewrite to use llvm/std compliant apis (#1014)
wsmoses Mar 6, 2023
cbe696f
subtrees are working great, deleting old one
ZuseZ4 Mar 7, 2023
e6842be
Add 'src/tools/enzyme/' from commit '74122a358e6799f5f25c35e394697aea…
ZuseZ4 Mar 7, 2023
467171d
Merge pull request #12 from EnzymeAD/enzyme-rust
ZuseZ4 Mar 7, 2023
c7fbb43
Update README.md
ZuseZ4 Mar 20, 2023
4f86ffd
Update README.md
ZuseZ4 Mar 20, 2023
1fd4eb1
Merge pull request #9 from vtjnash/jn/rustup-backports
ZuseZ4 Mar 30, 2023
2a68f27
Remove return type extraction used for debugging
Feb 24, 2023
c1fd287
Autodiff adjoint rules checks and signature generation
Feb 24, 2023
11362dd
Extend test suit for primal parsing
Feb 26, 2023
e0e9944
Construct primal based on parser
Feb 28, 2023
b773db2
Generate adjoint function based on primal signature
Mar 1, 2023
cccab65
Add some expansion tests
Mar 1, 2023
4775797
Disallow DuplicatedNoNeed for input parameter in reverse mode
Mar 2, 2023
777b094
Skip unused parameters when infering primal signature
Mar 3, 2023
cfe1789
Fix rosenbrock function
Mar 30, 2023
ae449b8
Fix examples
bytesnake Mar 30, 2023
5fa408a
Fix some warnings for autodiff
bytesnake Mar 30, 2023
8fd5a96
Rename rosenbrock tests to snakecase; Refresh expanding tests
bytesnake Mar 30, 2023
69e9470
Merge pull request #10 from EnzymeAD/feat/autodiff-rules
bytesnake Mar 30, 2023
9e7b592
Fix panic with combination forward+const return
bytesnake Mar 30, 2023
b259460
Fix invalid combination in forward mode; Add hessian example
bytesnake Apr 4, 2023
355b0d4
Merge remote-tracking branch 'rust-lang/master'
bytesnake May 11, 2023
f6d49fb
Update codegen
bytesnake May 23, 2023
b5398b0
Update codegen
bytesnake May 24, 2023
57ac500
Fix opaque pointer core dump
bytesnake May 25, 2023
5e0c2f6
Add enzyme key to sample configuration
bytesnake May 26, 2023
5408863
Update Enzyme submodule before invoking cmake
bytesnake May 27, 2023
90f5f1f
Update examples; Fix forward mode autodiff
bytesnake May 27, 2023
39d0087
Update README; Include hint to examples in autodiff library
bytesnake May 27, 2023
516967b
Add more complex example of struct member autodiff
bytesnake May 27, 2023
555959c
Clean broken example folder
bytesnake May 27, 2023
f202819
Update enzyme submodule to latest
bytesnake May 28, 2023
4fc0082
Fix dup_noneed in forward mode
bytesnake May 29, 2023
8035c48
Fix enzyme on enums
wsmoses Sep 12, 2023
0856c4a
Cleanup
wsmoses Sep 12, 2023
48e7d3c
Merge pull request #36 from EnzymeAD/enums
ZuseZ4 Sep 12, 2023
6617389
remove not needed tbaa
ZuseZ4 Sep 13, 2023
f7a8f4e
cleaning up
ZuseZ4 Sep 13, 2023
b5306ae
Revert "cleaning up"
ZuseZ4 Sep 15, 2023
4fd56f1
Merge pull request #37 from EnzymeAD/enum-cleanup
ZuseZ4 Sep 15, 2023
884df95
improve debugging
ZuseZ4 Sep 15, 2023
2ad64a5
Merge pull request #40 from EnzymeAD/nicer-debug
ZuseZ4 Sep 15, 2023
1133603
Update README.md
ZuseZ4 Sep 15, 2023
7ce1e83
update enzyme submodule
ZuseZ4 Sep 17, 2023
81db9e4
Merge pull request #41 from EnzymeAD/enzyme-update
ZuseZ4 Sep 17, 2023
3dd3c8e
add new debug helper to print module
ZuseZ4 Sep 18, 2023
483fefb
Merge pull request #42 from EnzymeAD/print-module
ZuseZ4 Sep 18, 2023
3397ee4
update enzyme submodule
ZuseZ4 Sep 18, 2023
b6aceb9
update enzyme submodule
ZuseZ4 Sep 18, 2023
03f3cb0
Merge pull request #45 from EnzymeAD/enz-update
ZuseZ4 Sep 18, 2023
03e5534
add env to print mod after enzyme
ZuseZ4 Sep 19, 2023
ad877f0
Merge pull request #46 from EnzymeAD/more-env-config
ZuseZ4 Sep 19, 2023
ec64089
make example less confusing
ZuseZ4 Sep 19, 2023
6becc11
Merge pull request #47 from EnzymeAD/update-example
ZuseZ4 Sep 19, 2023
6b93768
more debug options
ZuseZ4 Sep 20, 2023
731bbd1
cleanup
ZuseZ4 Sep 20, 2023
f70a33d
Merge pull request #49 from EnzymeAD/more-helper
ZuseZ4 Sep 20, 2023
5c141f5
Update README.md
ZuseZ4 Sep 23, 2023
382043e
Bump Enzyme abi
wsmoses Oct 20, 2023
d57812c
fix
wsmoses Oct 21, 2023
d74c622
Merge pull request #55 from EnzymeAD/bumpabi
wsmoses Oct 21, 2023
12d5b5e
Try CI
wsmoses Oct 21, 2023
bd18f4d
Merge pull request #56 from EnzymeAD/ci
wsmoses Oct 21, 2023
86f6695
Update ci.yml
wsmoses Oct 21, 2023
2201366
Update ci.yml
wsmoses Oct 21, 2023
ea019ca
Update ci.yml
wsmoses Oct 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading