Commit Graph

48 Commits

Author SHA1 Message Date
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
DoHoonKim8
8d6257c94b Add cuda/ folder 2024-08-17 16:44:40 +09:00
DoHoonKim8
29e4dd9145 Add lib.rs 2024-08-17 16:44:40 +09:00
Ubuntu
164a21e010 Update rust toolchain 2024-08-17 16:44:40 +09:00
DoHoonKim
af9737e1c6 Bring custom build script from cudarc example (https://github.com/coreylowman/cudarc/blob/main/examples/07-build-workflow/build.rs) 2024-08-17 16:44:40 +09:00
DoHoonKim
74f9c865c0 Add cudarc dependency 2024-08-17 16:44:40 +09:00
DoHoonKim
76eb986008 Remove Rust-CUDA dependencies 2024-05-31 16:53:26 +09:00
DoHoonKim
a3c0602fc1 Add design docs 2024-05-31 14:54:31 +09:00
DoHoonKim
74e504cec9 Change crate name cuda_sumcheck -> sumcheck, sumcheck_test -> test 2024-05-31 14:54:06 +09:00
DoHoonKim
a9b3a60654 Setup sumcheck_test crate(cpu parts to test gpu kernels from cuda_sumcheck) 2024-05-21 18:17:27 +09:00
DoHoonKim
b849ba9ae2 Setup cuda_sumcheck crate(set of gpu kernels) 2024-05-21 18:16:06 +09:00
DoHoonKim
da59a72d47 Add rust-toolchain 2024-05-21 18:15:20 +09:00
DoHoon Kim
2341621496 Initial commit 2024-05-02 22:51:30 +09:00