Files
circ/scripts/aby_tests/c_bench_aby.py
Edward Chen 7693d30975 Updates to C Frontend (#67)
Supporting:
- structs
- ptrs
- n-dimension arrays
- nested structs
- typedef
- sizeof
- shift operations

Benchmarks:
- Original HyCC kmeans testcase (without recursion).
- Original HyCC gauss testcase.

Co-authored-by: Alex Ozdemir <aozdemir@hmc.edu>
Co-authored-by: Ubuntu <ubuntu@neptune2.maas>
2022-05-20 02:20:36 -04:00

19 lines
330 B
Python
Executable File

#!/usr/bin/env python
import os
from util import run_tests
from test_suite import *
ABY_SOURCE = os.getenv("ABY_SOURCE")
if __name__ == "__main__":
tests = [[
"loop add",
3,
ABY_SOURCE+"/build/bin/2pc_loop_add",
{"a": 1, "b": 0},
{"a": 0, "b": 2},
]]
run_tests('c', tests)