Skip to content

Instantly share code, notes, and snippets.

@ker2x
Created November 12, 2022 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ker2x/56116acace97f174bf152d53e9a46c89 to your computer and use it in GitHub Desktop.
Save ker2x/56116acace97f174bf152d53e9a46c89 to your computer and use it in GitHub Desktop.
#pragma omp parallel default(none)
{
srand(chrono::high_resolution_clock::now().time_since_epoch().count() ^ static_cast<long long>(omp_get_thread_num()));
#pragma omp for
for (auto i = 0; i < group1size; i++)
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment