Skip to content

Commit

Permalink
random.h: move '#pragma hila' to right spot just before the gaussrand…
Browse files Browse the repository at this point in the history
…() call
  • Loading branch information
KariRummukainen committed Feb 27, 2024
1 parent f508f8b commit 6f144f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/plumbing/random.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ double random();
// routine is not normally needed in user code, instead use standard hila::random().
double host_random();

#pragma hila contains_rng loop_function

/**
* @brief Gaussian random generation routine
*/
#pragma hila contains_rng loop_function
double gaussrand();


Expand Down

0 comments on commit 6f144f5

Please sign in to comment.