PageRenderTime 19ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms


Relevant Search: With Applications for Solr and Elasticsearch

For more in depth reading about search, ranking and generally everything you could ever want to know about how lucene, elasticsearch or solr work under the hood I highly suggest this book. Easily one of the most interesting technical books I have read in a long time. If you are tasked with solving search relevance problems even if not in Solr or Elasticsearch it should be your first reference. Amazon Affiliate Link
C | 18 lines | 12 code | 4 blank | 2 comment | 2 complexity | 219f46e3d799f0fd10f591fb5ff25992 MD5 | raw file
 1// PR 24703
 2// { dg-do compile }
 4void work(int);
 5int work_param;
 6int sphinx_omp_thread_count;
 7int schedule_loop_cap;
 9int measure_omp_parallel_for_dynamic (void)
11  int j;
13#pragma omp parallel for schedule(dynamic)
14  for(j=0; j < sphinx_omp_thread_count * schedule_loop_cap; j++)
15    work(work_param);
17  return 0;