Intel® C++ Compiler 19.0 Developer Guide and Reference

__cilkrts_init

Intel® Cilk™ Plus is a deprecated feature. Use OpenMP* or Intel® Threading Building Blocks instead. For more information see Migrate Your Application to use OpenMP* or Intel® TBB Instead of Intel® Cilk™ Plus.

void __cilkrts_init(void);

This function allocates Intel® Cilk™ Plus data structures, starting the runtime. This function is documented for completeness; it should never be necessary to call this function explicitly, as the runtime system calls it automatically when needed (for example, to execute the first cilk_spawn or cilk_for in a program).

After the Intel® Cilk™ Plus runtime has been started, any attempts to change the number of workers using __cilkrts_set_param() will return an error.