MCPcopy Create free account
hub / github.com/davisking/dlib / main

Function main

examples/parallel_for_ex.cpp:42–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40// ----------------------------------------------------------------------------------------
41
42int main()
43{
44 // We have 2 examples, each contained in a separate function. Both examples perform
45 // exactly the same computation, however, the second does so using parallel for loops.
46 // The first example is here to show you what we are doing in terms of classical
47 // non-parallel for loops. The other example will illustrate how to parallelize the
48 // for loops in C++11.
49
50 example_using_regular_non_parallel_loops();
51 example_using_lambda_functions();
52}
53
54// ----------------------------------------------------------------------------------------
55

Callers

nothing calls this directly

Tested by

no test coverage detected