mirror of
https://github.com/pseXperiments/icicle.git
synced 2026-01-09 23:48:10 -05:00
## Describe the changes Icicle examples: Concurrent Data Transfer and NTT Computation This PR introduces a Best Practice series of examples in c++. Specifically, the example shows how to concurrently transfer data to/from device and execute NTT ## Linked Issues Resolves #
17 lines
357 B
Bash
Executable File
17 lines
357 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Exit immediately on error
|
|
set -e
|
|
|
|
mkdir -p build/example
|
|
mkdir -p build/icicle
|
|
|
|
# Configure and build Icicle
|
|
cmake -S ../../../icicle/ -B build/icicle -DCMAKE_BUILD_TYPE=Release -DCURVE=bn254 -DG2=OFF -DMSM=OFF
|
|
cmake --build build/icicle
|
|
|
|
# Configure and build the example application
|
|
cmake -S . -B build/example
|
|
cmake --build build/example
|
|
|