For Intel legacy tasking, specifies a unit of work, potentially executed by a different thread.
Description
The intel_omp_task pragma specifies a unit of work, potentially executed by a different thread.
Note
This pragma affects parallelization done using the -openmp option. Options that use OpenMP are available for both Intel® and non-Intel microprocessors, but these options may perform additional optimizations on Intel® microprocessors than they perform on non-Intel microprocessors. The list of major, user-visible OpenMP constructs and features that may perform differently on Intel® vs. non-Intel microprocessors includes: locks (internal and user visible), the SINGLE construct, barriers (explicit and implicit), parallel loop scheduling, reductions, memory allocation, and thread affinity and binding.