File "furryhaze"
While the main library for π-WAM already provides a CPU backend via
the predicates execute/[1,2]. This library adds a GPU backend for
the π-WAM via the predicates expedite/[1,2]. Single GPU theads are
usually slower than CPU threads, on the other hand multiple GPU
threads saturate at a higher number than CPU threads.
The following furryhaze predicates are provided:
- expedite(G):
- expedite(G, O):
- The predicate succeeds. As a side effect it runs G on a GPU
backend for π-WAM. The only side effects consumed or produced by
the π-WAM is their input and output. The binary predicate allows
specifying hack options.