62 Commits

Author SHA1 Message Date
Soowon Jeong
30e6cf08bb Fix naming v0.1.0 2024-11-01 13:40:43 +09:00
Soowon Jeong
f321fb6dce Fix minor bugs 2024-11-01 13:40:43 +09:00
Soowon Jeong
ffaf9c5f47 Implement in-memory transcript 2024-11-01 13:40:43 +09:00
DoHoonKim8
bc8340d1d2 Malloc the correct amount of memory 2024-09-23 10:12:02 +00:00
DoHoonKim8
57bc9ac507 Malloc device_ks before sumcheck proving 2024-09-23 10:10:20 +00:00
DoHoonKim8
ae8be89df1 Run tests sequentially otherwise it will cause resource contention in GPU 2024-09-19 13:32:11 +09:00
DoHoonKim8
eb683eb1a8 Remove unnecessary synchronization and time consuming data generation from test code 2024-09-13 15:51:40 +00:00
DoHoonKim8
6ca58b8458 Update README 2024-09-13 05:37:37 +00:00
DoHoonKim8
4a9a601503 Remove unnecessary include 2024-09-13 14:34:48 +09:00
DoHoonKim8
4561c38615 Split combine and sum kernel 2024-09-13 14:34:48 +09:00
DoHoonKim8
58d1b497ba Avoid unnecessary computation 2024-09-13 14:34:48 +09:00
DoHoonKim8
fb94e9e80f Cleanup 2024-09-13 14:34:48 +09:00
DoHoonKim8
80ad71659b Impl sumcheck prover 2024-09-13 14:34:48 +09:00
Soowon Jeong
2b7d67d9e2 Fi thex difference between montgomery form of barretenberg and halo2curves 2024-08-23 20:17:34 +09:00
Soowon Jeong
e59402e5d4 Remove error causing test 2024-08-23 18:23:49 +09:00
DoHoonKim8
ba36df7ab5 Remove eval_by_coeff 2024-08-17 16:44:40 +09:00
DoHoonKim8
d01190d360 Add convert_to_montgomery kernel 2024-08-17 16:44:40 +09:00
DoHoonKim8
ac27a6a990 [WIP] Update eval kernel 2024-08-17 16:44:40 +09:00
Soowon Jeong
16cb599222 Add submodule update in makefile 2024-08-17 16:44:40 +09:00
DoHoonKim8
1e1ea34333 Add kernel for evaluating multilinear polynomial by evaluation form (only works for single thread block) 2024-08-17 16:44:40 +09:00
DoHoonKim8
cd02649d1f Add cpu module 2024-08-17 16:44:40 +09:00
DoHoonKim8
e2d7a0eb09 Add Makefile and silence warnins due to bindgen 2024-08-17 16:44:40 +09:00
DoHoonKim8
0c1e9396cc Cleanup 2024-08-17 16:44:40 +09:00
DoHoonKim8
1663d6c6f9 Add barretenberg_cuda as git submodule 2024-08-17 16:44:40 +09:00
DoHoonKim8
109aa870c1 Remove src/cuda/includes/barretenberg 2024-08-17 16:44:40 +09:00
DoHoonKim8
131ca02f76 Update test 2024-08-17 16:44:40 +09:00
DoHoonKim8
67e265067c Enable cuda-version-from-build-system feature of cudarc 2024-08-17 16:44:40 +09:00
DoHoonKim8
cdc22ba4c0 Optimizing polynomial evaluation kernel 2024-08-17 16:44:40 +09:00
DoHoonKim8
6b14910ba4 Add README 2024-08-17 16:44:40 +09:00
DoHoonKim8
0823f1cd71 Unwrap in 2024-08-17 16:44:40 +09:00
DoHoonKim8
9110738c0f Add more timer 2024-08-17 16:44:40 +09:00
DoHoonKim8
4578cb385e Add TODO comment 2024-08-17 16:44:40 +09:00
DoHoonKim8
293283b3fb Update kernel to support multi thread blocks 2024-08-17 16:44:40 +09:00
DoHoonKim8
62b2444811 Add field binding conversion impl 2024-08-17 16:44:40 +09:00
DoHoonKim8
1a57a0179d Add monomial evaluation kernel 2024-08-17 16:44:40 +09:00
DoHoonKim8
5d204e5148 Move scalar_multiplication kernel to scalar_multiplication.cu 2024-08-17 16:44:40 +09:00
DoHoonKim8
ce95477b5d Impl From<F: PrimeField> trait for FieldBinding 2024-08-17 16:44:40 +09:00
DoHoonKim8
5957edb71c Write scalar multiplication test 2024-08-17 16:44:40 +09:00
DoHoonKim8
d3bd36b696 Very basic kernel : scalar multiplication 2024-08-17 16:44:40 +09:00
DoHoonKim8
f669aabb00 Add --expt-relaxed-constexpr option to nvcc to workaround constexpr related errors 2024-08-17 16:44:40 +09:00
DoHoonKim
911f54d5ac Update barretenberg to device code 2024-08-17 16:44:40 +09:00
DoHoonKim
22250b1b9a Update .gitignore 2024-08-17 16:44:40 +09:00
DoHoonKim8
97f500332f Give appropriate options to nvcc 2024-08-17 16:44:40 +09:00
DoHoonKim8
3209d6639f Change included header file 2024-08-17 16:44:40 +09:00
DoHoonKim8
d5a15c396f Add barretenberg
Co-authored-by: jeong0982 <soowon1106@gmail.com>
2024-08-17 16:44:40 +09:00
DoHoonKim8
6e64ad017d Make frame for testing polynomial evaluation using GPU 2024-08-17 16:44:40 +09:00
DoHoonKim8
f89151b70b Add halo2curves, rand crates 2024-08-17 16:44:40 +09:00
DoHoonKim8
fc37dedf62 Add iitertools 2024-08-17 16:44:40 +09:00
DoHoonKim8
f5a9dbd710 Add rayon 2024-08-17 16:44:40 +09:00
DoHoonKim8
df6d0c3393 Add ff crate 2024-08-17 16:44:40 +09:00