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

Add support for running some key bitops functions on integer Tensors #661

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

AngelEzquerra
Copy link
Contributor

While we already supported most of nim's std/math features in Arraymancer, we did not support any of the std/bitops operators and procedures yet. These are very useful to implement some important algorithms such as gray coding and others.

This commit adds some of the most important std/bitops features. These will soon be used in impulse to implement some new algorithms.

I will probably add additional procedures (e.g. setBit, etc.) later, on a separate PR.

While we already supported most of nim's std/math features in Arraymancer, we did not support any of the std/bitops operators and procedures yet. These are very useful to implement some important algorithms such as gray coding and others.

This commit adds some of the most important std/bitops features. These will soon be used in `impulse` to implement some new algorithms.
@Vindaar
Copy link
Collaborator

Vindaar commented Aug 22, 2024

CI failures unrelated. Need to enable -d:ssl apparently now for the MNIST download.

Merging.

@Vindaar Vindaar merged commit 58abfd1 into mratsim:master Aug 22, 2024
0 of 6 checks passed
@AngelEzquerra AngelEzquerra deleted the bitops branch August 24, 2024 09:01
darkestpigeon pushed a commit to darkestpigeon/Arraymancer that referenced this pull request Aug 27, 2024
mratsim#661)

While we already supported most of nim's std/math features in Arraymancer, we did not support any of the std/bitops operators and procedures yet. These are very useful to implement some important algorithms such as gray coding and others.

This commit adds some of the most important std/bitops features. These will soon be used in `impulse` to implement some new algorithms.
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.

2 participants