simplify simple, more results, bump kyupy with sim fix
This commit is contained in:
1 parent
d83bd73b36
commit
1647b41737
3 files changed
+26
-10
No files matched your search
@@ -44,14 +44,37 @@ Single-core `SAFSimSimple` on 1024 patterns (baseline):
|
|||||||
|
|
||||||
| OS, CPU, RAM | `tests/c6288.bench` | `polito-itc99-b15-sky130` |
|
| OS, CPU, RAM | `tests/c6288.bench` | `polito-itc99-b15-sky130` |
|
||||||
|--------------|---------------------|---------------------------|
|
|--------------|---------------------|---------------------------|
|
||||||
|
| | **2.4k gates, 7.7k SAF** | **17k gates, 24k SAF** |
|
||||||
| MacOS, M3 Max, 32GiB (Stefan) | 1.52G | 1.97G |
|
| MacOS, M3 Max, 32GiB (Stefan) | 1.52G | 1.97G |
|
||||||
| WSL, i7-14650HX, 15GiB (Zhang) | 1.68G | 2.03G |
|
| WSL, i7-14650HX, 15GiB (Zhang) | 1.68G | 2.03G |
|
||||||
| Ubuntu, Xeon E5-1650, 251GiB (Nosaka) | 0.94G | 1.18G |
|
| Ubuntu, Xeon E5-1650, 251GiB (Nosaka) | 0.94G | 1.18G |
|
||||||
| WSL2, ?, ? (Kawachi) | 0.82G | ? |
|
| WSL2, i5-8250U, 8GiB (Kawachi) | 0.82G | 0.94G |
|
||||||
| GH Codespace, EPYC 7763 (Kelvin) | 1.03G | ? |
|
| GH Codespace, EPYC 7763 (Kelvin) | 1.03G | ? |
|
||||||
| Ubuntu, i5-8265U, 8GiB (Kelvin) | 0.77G | ? |
|
| Ubuntu, i5-8265U, 8GiB (Kelvin) | 0.77G | ? |
|
||||||
|
|
||||||
|
Single-core `SAFSimIncremental` on 1024 patterns:
|
||||||
|
|
||||||
|
| OS, CPU, RAM | `tests/c6288.bench` | `polito-itc99-b15-sky130` |
|
||||||
|
|--------------|---------------------|---------------------------|
|
||||||
|
| | **2.4k gates, 7.7k SAF** | **17k gates, 24k SAF** |
|
||||||
|
| MacOS, M3 Max, 32GiB (Stefan) | 2.83G | 7.71G |
|
||||||
|
| WSL, i7-14650HX, 15GiB (Zhang) | ? | ? |
|
||||||
|
| Ubuntu, Xeon E5-1650, 251GiB (Nosaka) | ? | ? |
|
||||||
|
| WSL2, i5-8250U, 8GiB (Kawachi) | 1.98G | 4.74G |
|
||||||
|
| GH Codespace, EPYC 7763 (Kelvin) | ? | ? |
|
||||||
|
| Ubuntu, i5-8265U, 8GiB (Kelvin) | ? | ? |
|
||||||
|
|
||||||
|
Single-core `SAFSimPPSFP` on 1024 patterns:
|
||||||
|
|
||||||
|
| OS, CPU, RAM | `tests/c6288.bench` | `polito-itc99-b15-sky130` |
|
||||||
|
|--------------|---------------------|---------------------------|
|
||||||
|
| | **2.4k gates, 7.7k SAF** | **17k gates, 24k SAF** |
|
||||||
|
| MacOS, M3 Max, 32GiB (Stefan) | 14.7G | 77.0G |
|
||||||
|
| WSL, i7-14650HX, 15GiB (Zhang) | ? | ? |
|
||||||
|
| Ubuntu, Xeon E5-1650, 251GiB (Nosaka) | ? | ? |
|
||||||
|
| WSL2, i5-8250U, 8GiB (Kawachi) | 7.33G | 38.1G |
|
||||||
|
| GH Codespace, EPYC 7763 (Kelvin) | ? | ? |
|
||||||
|
| Ubuntu, i5-8265U, 8GiB (Kelvin) | ? | ? |
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
|
|||||||
+1
-1
Submodule kyupy updated: 7a69ce9016...ed9b5c6cd6.
+1
-8
@@ -31,14 +31,7 @@ class SAFSimSimple:
|
|||||||
fault_site = fault//2
|
fault_site = fault//2
|
||||||
fault_polarity = fault&1
|
fault_polarity = fault&1
|
||||||
p.update((fidx+1) / len(faults), f'DS:{len(fclass_DS)} NO:{len(fclass_NO)}')
|
p.update((fidx+1) / len(faults), f'DS:{len(fclass_DS)} NO:{len(fclass_NO)}')
|
||||||
for bo, bs in batchrange(patterns.shape[1], self.sim.sims):
|
self.sim.simulate(patterns, syndrome, fault_line=fault_site, fault_model=fault_polarity)
|
||||||
self.sim.s_assign[:, :bs] = patterns[:, bo:bo+bs]
|
|
||||||
self.sim.s_to_c()
|
|
||||||
with self.timers['sim_prop']:
|
|
||||||
self.sim.c_prop(fault_line=fault_site, fault_model=fault_polarity)
|
|
||||||
with self.timers['sim_eval']:
|
|
||||||
self.sim.c_to_s()
|
|
||||||
syndrome[:, bo:bo+bs] = self.sim.s_result[:,:bs]
|
|
||||||
with self.timers['sim_eval2']:
|
with self.timers['sim_eval2']:
|
||||||
if np.allclose(golden, syndrome):
|
if np.allclose(golden, syndrome):
|
||||||
fclass_NO.add(fault)
|
fclass_NO.add(fault)
|
||||||
|
|||||||
Reference in new issue
Block a user