Commit Graph

16 Commits

Author SHA1 Message Date
0e98f8582a add some more caching around the state file & geometry calculations
able to process a simulation in ~2 seconds in the optimistic path
2022-02-01 18:31:47 -08:00
e574bf71ca spirv: get the optimized IsoConductorOr<Ferroxcube3R1> plumbed all the way through
buffer_proto5 example shows it in action (results weren't verified)
2022-01-29 16:30:29 -08:00
bef39789a7 spirv: fix some ffi-related panics (too-small buffer + non-exact MHCurve conversions)
the non-exact MHCurve conversions shouldn't be super impactful. they're
sanity checks, and there's no path that would allow for the inexactness
to grow (or rather, for the inexactness to grow in a way that an
assertion in this code path could *ever* catch it).
2022-01-29 01:47:29 -08:00
aeec4258c7 introduce Isomorphic/Anisomorphic conductors into the CPU side
this is needed for the future Spirv optimizations to be possible.
2022-01-28 19:24:36 -08:00
82334cfc5b buffer_proto5: explore more scenarios 2022-01-26 14:30:50 -08:00
ad655c7df6 buffer_proto5: include m2_stable over m1_peak measurement 2022-01-24 21:09:50 -08:00
ad204fb592 implement a disk cache for use by buffer_proto5
definitely could be improved (values shouldn't have to be clonable) but
it's a useful start.
2022-01-20 15:45:05 -08:00
a86f37f737 Add an exponential-decay type clock & cache some computations in buffer_proto5 2022-01-19 13:58:24 -08:00
9aa33bf479 buffer_proto5: extend search domain to also vary the clock shape (square/sine) 2022-01-17 23:01:38 -08:00
3788af6ceb buffer_proto5: explore based on wraps coverage % instead of just the absolute wraps count 2022-01-17 20:23:55 -08:00
c6dde6519c buffer_proto5: explore a larger search area, intelligently 2022-01-12 00:51:30 -08:00
ce39c1f50b buffer-proto5: auto-measure the extrema for M/H
also, introduce a `Time` abstraction and allow for more precisely
simulating just a specific time range.

the Sim-related traits still need updating to better integrate this.
2022-01-11 18:23:07 -08:00
8bda52d973 memoize the region lookups for better perf
102s => 57s
2022-01-11 16:21:05 -08:00
a9b1f42e0c optimize the Dilate operation
30s => 15s
2022-01-11 15:15:23 -08:00
fe5eab5e43 improve verification for buffer_proto5
verify that different pieces of the sim are properly connected.
2022-01-11 14:03:46 -08:00
be16f7d21c build out the 5th buffer prototype
transmission is best for the 20:16 wrap ratio, so far.
it's less than 100% transmission. there seems to be competing effects
between stronger coupling v.s. amplification as i increase the core2
wraps. so far, that's optimized at 16 wraps. i'll bump the wire wraps on
core1, but this will likely require growing the core's radius, first.
2022-01-07 18:23:04 -08:00