ChickenLover
7265d18d48
ICICLE V2 Release ( #492 )
...
This PR introduces major updates for ICICLE Core, Rust and Golang
bindings
---------
Co-authored-by: Yuval Shekel <yshekel@gmail.com >
Co-authored-by: DmytroTym <dmytrotym1@gmail.com >
Co-authored-by: Otsar <122266060+Otsar-Raikou@users.noreply.github.com >
Co-authored-by: VitaliiH <vhnatyk@gmail.com >
Co-authored-by: release-bot <release-bot@ingonyama.com >
Co-authored-by: Stas <spolonsky@icloud.com >
Co-authored-by: Jeremy Felder <jeremy.felder1@gmail.com >
Co-authored-by: ImmanuelSegol <3ditds@gmail.com >
Co-authored-by: JimmyHongjichuan <45908291+JimmyHongjichuan@users.noreply.github.com >
Co-authored-by: pierre <pierreuu@gmail.com >
Co-authored-by: Leon Hibnik <107353745+LeonHibnik@users.noreply.github.com >
Co-authored-by: nonam3e <timur@ingonyama.com >
Co-authored-by: Vlad <88586482+vladfdp@users.noreply.github.com >
Co-authored-by: LeonHibnik <leon@ingonyama.com >
Co-authored-by: nonam3e <71525212+nonam3e@users.noreply.github.com >
Co-authored-by: vladfdp <vlad.heintz@gmail.com >
2024-04-23 05:26:40 +03:00
Yuval Shekel
406020bda6
fix: NTT release domain linkage
2024-04-04 23:23:18 +03:00
Stas
d90081926f
Pedersen commitment example in c++ ( #397 )
...
* initial commit
* random elliptic points
* initial complete example
* public random seed to prevent knowing dlogs
* cleaned up code
* add README
* Update examples/c++/pedersen-commitment/README.md
Co-authored-by: Jeremy Felder <jeremy.felder1@gmail.com >
* updates to PR comments
* codespell compliance
* corrected terminology in README
---------
Co-authored-by: Jeremy Felder <jeremy.felder1@gmail.com >
2024-02-28 18:09:03 +02:00
ChickenLover
efda4de48f
add rust poseidon example ( #392 )
...
add rust poseidon example
2024-02-22 19:47:40 +02:00
yshekel
275b2f4958
feature: mixed-radix NTT fast twiddles mode ( #382 )
...
- this mode is allocating additional 4N twiddle-factors to achieve faster computation
- enabled by flag for initDomain(). Defaults to false.
Co-authored-by: hadaringonyama <hadar@ingonyama.com >
2024-02-22 00:02:02 +02:00
ChickenLover
965bf757f9
update examples with new vec ops ( #388 )
2024-02-21 22:30:40 +07:00
Stas
d1f19af64d
Merge branch 'dev' into temp/stas/muli-gpu-example
2024-02-20 19:07:48 -06:00
stas
b1af193f6f
fixed spelling
2024-02-20 19:14:25 -05:00
stas
4664cfded5
complied with reviewer's comments
2024-02-19 15:59:49 -05:00
stas
fb9e5c8511
updates example compares Radix2 and MixedRadix NTTs
2024-02-18 18:40:01 -05:00
Stas Polonsky
518a3ad9b6
ready for PR
2024-02-17 00:18:21 +00:00
Stas Polonsky
6681be549a
fixed on-device memory issue
2024-02-16 19:43:58 +00:00
Stas Polonsky
319358427f
cudaSetDevice in the thread function
2024-02-16 16:35:04 +00:00
Stas Polonsky
8dd52306dc
update README
2024-02-15 23:07:33 +00:00
Stas Polonsky
418c3d844b
completed example
2024-02-15 22:10:15 +00:00
ImmanuelSegol
29675bb40d
executes without errors
2024-02-15 16:45:33 +00:00
ImmanuelSegol
481f144dc8
debug
2024-02-15 15:11:20 +00:00
ImmanuelSegol
086d36dd42
Merge remote-tracking branch 'origin/dev' into temp/stas/muli-gpu-example
2024-02-15 15:03:41 +00:00
ChickenLover
0929161a26
Merge branch 'dev' into fix-conflicts-main
2024-02-15 16:10:09 +07:00
ChickenLover
4f471ffa2a
remove rust toolchains
2024-02-15 16:08:22 +07:00
Yuval Shekel
ba6c3ae59c
merge NTT part
2024-02-15 10:28:02 +02:00
ChickenLover
fd08925ed4
merge WIP
2024-02-15 14:57:09 +07:00
ChickenLover
66018f2367
rename example folder
2024-02-15 14:13:18 +07:00
stas
62cf733c5f
answers Roman's comments
2024-02-15 14:07:48 +07:00
DmytroTym
76c3b4ba01
Merge branch 'dev' into poseidon-examples-no-cuda
2024-02-15 08:27:28 +02:00
ImmanuelSegol
4d75fbac93
issue with init_optimized_poseidon_constants
2024-02-14 22:28:17 +00:00
VitaliiH
774250926c
multi card support ( #356 )
...
multi-GPU support
2024-02-14 22:29:30 +01:00
DmytroTym
2008259adc
Merge branch 'dev' into poseidon-examples-no-cuda
2024-02-14 21:10:25 +02:00
DmytroTym
303a3b8770
Temporarily removed Rust Poseidon example
2024-02-14 21:06:10 +02:00
yshekel
a02459c64d
Mixed-radix NTT support all orderings ( #371 )
...
- Mixed-radix NTT orderings support
- radix-2 small refactor: split core logic to function and renamed ct_butterfly to dit
- testing both radix2 and mixed-radix algs for all ntt tests
2024-02-13 15:49:24 +02:00
ChickenLover
a65f44ad31
fix versioning problems
2024-02-09 15:55:36 +07:00
stas
582107fc7c
added c++ example Poseidon-hash
2024-02-08 17:36:56 -05:00
Jeremy Felder
18fdd059da
Fix: examples path deps ( #363 )
...
Change rust example deps to use paths
Co-authored-by: Leon Hibnik <107353745+LeonHibnik@users.noreply.github.com >
2024-02-08 20:43:12 +00:00
yshekel
382bec4ad3
Mixed-radix NTT algorithm
...
Co-authored-by: hadaringonyama <hadar@ingonyama.com >
2024-02-08 20:43:12 +00:00
Jeremy Felder
e77173f266
Fix: examples path deps ( #363 )
...
Change rust example deps to use paths
Co-authored-by: Leon Hibnik <107353745+LeonHibnik@users.noreply.github.com >
2024-02-08 16:23:44 +02:00
yshekel
3582df2669
Mixed-radix NTT algorithm
...
Co-authored-by: hadaringonyama <hadar@ingonyama.com >
2024-02-08 13:52:00 +02:00
ImmanuelSegol
04b1b3dda5
refactor: add a basic example
2024-02-07 20:07:21 -04:00
Jeremy Felder
bfd510b3bb
Bump for release
2024-02-05 13:33:00 +02:00
Jeremy Felder
5a96f9937d
Bump for release
2024-01-31 16:34:14 +02:00
stas
759b7b26d6
Update examples to use latest API
2024-01-31 08:59:21 +02:00
Jeremy Felder
69af0bef91
[FEAT]: Add codespell to CI and pre-commit hooks ( #344 )
...
Add codespell to pre-commit hook/CI and fix typos
2024-01-22 14:27:52 +02:00
Stas
4c235bf5f5
Merge branch 'dev' into examples-cpp-msm-new-API
2024-01-18 11:29:54 -05:00
stas
a0f35ea8cd
comply with reviewer's comments
2024-01-18 11:13:12 -05:00
Yuval Shekel
5fda751e93
refactor: generate curve-specific function names with macro instead of using objcopy to modify the symbols
2024-01-11 10:54:31 +02:00
stas
0c58fe2b83
c++ msm uses new API
2024-01-09 11:06:10 -05:00
Leon Hibnik
b184befc99
Update readme v1.0.0 ( #335 )
...
* Update readme v1.0.0
* update
* update example readme
2024-01-08 23:48:24 +02:00
Jeremy Felder
79b86e0edf
Added examples for rust and c++
2024-01-08 17:31:46 +02:00
DmytroTym
dfa5b10adb
Update Rust apis ( #262 )
...
* fix memory error in single_stage_multi_reduction_kernel (#235 )
* refactor
* refactor
* revert
* refactor: clang format
* Update icicle/appUtils/msm/msm.cu
* Added separate device context struct, returned lde
* wip - msm and eq
* added lde to cmake
* Montgomery param added in lde.cu mul function
* fixed on_device for ntt and lde
* CamelCase
* fixed msm_test, int unification, google guilde
* wip - ntt crash debugging
* async MSM with a rust wrapper
* wip ntt tests with corretness
* hotfix for correctness > 2^9
* wip on device inout mixing with correctness
* cleanup
* preserving twiddles after first call
* fixed twiddles preserving
* formatting
* removed some printing
* disable ecntt temporarily
* format
* rust fmt
* exclude target from format
* passing ntt after merge
* hotfix for linking issue
* format
* format
* draft of pr comments + correctness restored
* wip refactor + format
* domain wip
* rust format
* Merged feature branch in and Rust MSM correctness
* rust build for correct curve
* Slowdown fixed by passing release flag to cmake
* WIP field and curve
* still wip field and curve
* field and curve in rust 1.0
* Refactored rust into several crates
* Arkworks is now an option, bn254 crate created
* Rust msm and ntt wip
* A version of rust msm done, cuda runtime wrapped
* refactor rust by creating a curve folder
* vec_ops instead of lde for now
* format
---------
Co-authored-by: ImmanuelSegol <3ditds@gmail.com >
Co-authored-by: Vitalii <vitalii@ingonyama.com >
2023-12-03 13:32:50 +02:00
ImmanuelSegol
e368f00bb8
Fix CI - dont use deprecated package name ( #216 )
...
Update icicle crate name in examples and benches
2023-09-21 16:03:44 +07:00
Jeremy Felder
b6c87c3fd8
Fix formatting for all files ( #153 )
2023-08-20 11:35:28 +03:00