Open behoppe opened 1 year ago
Here is a preliminary rough draft:
https://deploy-preview-195--sage-licorice-6da44d.netlify.app/doc/tutorials/tutorial-for-dprng/
TB has noted that in the example code, it is not necessary to keep track of both "inside_circle" and "outside_circle" because the total number of points is known from the number of iterations in the cilk_for loop.
@neboat @DorothyCurtis @ailiop @timkaler @cleiserson I am curious what you think about creating an entry in our reference documentation for user-controllable runtime parameters, as a place where we would include documentation for deterministic random number generation. More below:
Issues OpenCilk 2.0 supports deterministic pseudo-random number generation, but the website does not document how to use it.
Improvements Let's add documentation, perhaps based on this explanation from @neboat
Additional discussion Where does this documentation fit into the website? It looks to me like reference documentation (not tutorial, user's guide, or discussion). Are there similar items? I propose to wrap this documentation task within a larger task to create a reference page for user-controllable runtime parameters.