NunoSempere
829781b8a7
go: savepoint before deleting a few comments
3 months ago
NunoSempere
bb1b21bbbb
go: abstract sample_parallel into own function
3 months ago
NunoSempere
b358c5b16a
go: continue improving number of goroutines
3 months ago
NunoSempere
aa3b406473
use different seeds for different threads
3 months ago
NunoSempere
7c907f173d
go: create type alias
3 months ago
NunoSempere
76a73f5d13
go: add goroutines usage. But randomness still to be fixed
3 months ago
NunoSempere
06438c522d
go: add slices manually
3 months ago
NunoSempere
14e298c3c9
go: remove prints
3 months ago
NunoSempere
5029f67429
go: finish debugging weights code.
3 months ago
NunoSempere
d3cb97684a
go: add printfs so as to figure out weights bug
3 months ago
NunoSempere
8ebe9487a5
go: continue working on mixture code
3 months ago
NunoSempere
6417e0aecc
add initial go mixture implementation
3 months ago
NunoSempere
1f4eb1fec4
wrangle mixture weights in go
3 months ago
NunoSempere
fa0065c96e
wrangle go types
3 months ago
NunoSempere
4544adb3d0
wrangle mixture syntax
3 months ago
NunoSempere
651ade8b47
build, check initial times for go
3 months ago
NunoSempere
bfb5c75070
add sample_to
3 months ago
NunoSempere
c9f6e964ee
continue defining simple go API
3 months ago
NunoSempere
934c84e195
figure out return values & global var
3 months ago
NunoSempere
5a36bec0ba
initialize go program
3 months ago
NunoSempere
1903a09e97
tweak squiggle.c makefile
3 months ago
NunoSempere
841e4eda90
add -march=native flag to C
3 months ago
NunoSempere
3fb6eb0c0e
update squiggle version
3 months ago
NunoSempere
54bd358f7e
update time with -march=native flag
3 months ago
NunoSempere
dd7c42d952
slight squiggle.c tweaks
4 months ago
NunoSempere
3a9a290ba8
update squiggle.c to avoid cache sharing
4 months ago
NunoSempere
b208879e45
update squiggle.c with speedup after avoiding conflicting cache hits
4 months ago
NunoSempere
fb2c471172
update squiggle.c
6 months ago
NunoSempere
546a9ee0b5
update squiggle.c
6 months ago
NunoSempere
825336ef0a
tweak: fix parallelism in squiggle.c
6 months ago
NunoSempere
06e78cb079
don't download whole git dir for squiggle_c
6 months ago
NunoSempere
05b1b99561
correct squiggle time
6 months ago
NunoSempere
a5e0da8cd4
fix squiggle path to use correct method
6 months ago
NunoSempere
f458ff8004
add small squiggle_c makefile option, give some thoughts on squiggle(py)
6 months ago
NunoSempere
4f32ccbd21
update squiggle.c, SquigglePy and squiggle-og to latest versions
...
also rationalize makefiles
6 months ago
NunoSempere
a48b15f171
reorg, get parsimonious paralellism working, to go into squiggle.c
6 months ago
NunoSempere
9a56a63c61
fix: omp typo, which makes this now go faster
6 months ago
NunoSempere
1d5e0a6a7f
Revert "tweak: savepoint; test hypothesis over previous stuff."
...
This reverts commit 1bc7c90fcf
.
6 months ago
NunoSempere
1bc7c90fcf
tweak: savepoint; test hypothesis over previous stuff.
6 months ago
NunoSempere
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
6 months ago
NunoSempere
2a39a04c69
add desiderata split_array_refactor
6 months ago
NunoSempere
2a9d3bf135
factorize paralellization in C code out
...
- Conceptually clearer
- Allows for composing multiple mixtures together
- Considering incorporating it into squiggle.c
6 months ago
NunoSempere
9a60392849
reorg C experiments, and start factoring out paralellization functions
6 months ago
NunoSempere
707f3d744b
fix: README tweaks
6 months ago
NunoSempere
7834c3baae
add gavin howard's bc to README
7 months ago
NunoSempere
5473a6aeda
add bc version without comments or extraneous newlines.
7 months ago
NunoSempere
90b8804884
arrive at working version of squiggle.bc
7 months ago
NunoSempere
8675d98784
fix the base of the log for squiggle.bc
7 months ago
NunoSempere
249a1ff434
initial attempt on bc
...
buggy because wrong base for log, but it's a start
7 months ago
NunoSempere
1a3099b7e4
add squiggle.bc
7 months ago