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

support wide ints in tape #1002

Merged
merged 13 commits into from
Aug 31, 2023
Merged

support wide ints in tape #1002

merged 13 commits into from
Aug 31, 2023

Conversation

motabbara
Copy link
Contributor

@motabbara motabbara commented Aug 15, 2023

Fixes #998

@codecov-commenter
Copy link

codecov-commenter commented Aug 15, 2023

Codecov Report

Patch coverage: 58.33% and project coverage change: +0.03% 🎉

Comparison is base (5d310e8) 77.41% compared to head (6a4039f) 77.44%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1002      +/-   ##
==========================================
+ Coverage   77.41%   77.44%   +0.03%     
==========================================
  Files          19       19              
  Lines        8897     8909      +12     
==========================================
+ Hits         6888     6900      +12     
  Misses       2009     2009              
Files Changed Coverage Δ
src/compiler.jl 78.22% <58.33%> (+0.04%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wsmoses
Copy link
Member

wsmoses commented Aug 17, 2023

I'm a little worried that the mismatch here of int28->tuple of int8's may create an error similar to #999

src/compiler.jl Outdated Show resolved Hide resolved
src/compiler.jl Outdated Show resolved Hide resolved
@wsmoses
Copy link
Member

wsmoses commented Aug 21, 2023 via email

@motabbara
Copy link
Contributor Author

I suppose we can turn this into an error then and just make our own primitive type for any other type we see. I kind of assume we won’t get arbitrary bit widths so having at most a few extra seems fine to me.

I've changed to that approach now.

@wsmoses wsmoses merged commit b40a8c2 into EnzymeAD:main Aug 31, 2023
32 of 39 checks passed
michel2323 pushed a commit that referenced this pull request Nov 7, 2023
* support wide ints in tape

* rename struct

* add a test + fix 32 bit

* version gate test

* typo

* create wide primitive types

* change module name

* gc fix

* add explicit if for int width
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tape width issue using InlineStrings
4 participants