Commit Graph

9 Commits

Author SHA1 Message Date
4f32ccbd21 update squiggle.c, SquigglePy and squiggle-og to latest versions
also rationalize makefiles
2023-11-19 18:11:41 +00:00
a48b15f171 reorg, get parsimonious paralellism working, to go into squiggle.c 2023-11-18 23:25:39 +00:00
9a56a63c61 fix: omp typo, which makes this now go faster 2023-11-18 23:01:29 +00:00
1d5e0a6a7f Revert "tweak: savepoint; test hypothesis over previous stuff."
This reverts commit 1bc7c90fcf.
2023-11-18 22:59:48 +00:00
1bc7c90fcf tweak: savepoint; test hypothesis over previous stuff. 2023-11-18 22:59:03 +00:00
3d3a3f0045 tweak: try simplest version, but notice it doesn't work
$ make time-linux
Requires /bin/time, found on GNU/Linux systems

Running 100x and taking avg time: OMP_NUM_THREADS=1 out/samples
Time using 1 thread: 34.50ms

Running 100x and taking avg time: OMP_NUM_THREADS=2 out/samples
Time using 2 threads: 34.60ms

Running 100x and taking avg time: OMP_NUM_THREADS=4 out/samples
Time for 4 threads: 32.00ms

Running 100x and taking avg time: OMP_NUM_THREADS=8 out/samples
Time using 8 threads: 30.40ms

Running 100x and taking avg time: OMP_NUM_THREADS=16 out/samples
Time using 16 threads: 30.80ms
2023-11-18 22:50:03 +00:00
2a39a04c69 add desiderata split_array_refactor 2023-11-18 20:10:29 +00:00
2a9d3bf135 factorize paralellization in C code out
- Conceptually clearer
- Allows for composing multiple mixtures together
- Considering incorporating it into squiggle.c
2023-11-18 19:43:10 +00:00
9a60392849 reorg C experiments, and start factoring out paralellization functions 2023-11-18 19:22:28 +00:00