Enables analysis of parallelization in source code (parallel lint diagnostics).
Windows: Diagnostics > Level of Source Code Parallelization Analysis
Linux: None
Mac OS X: None
IA-32, Intel® 64 architectures
Linux and Mac OS X: | -diag-enable sc-parallel[n] |
Windows: | /Qdiag-enable:sc-parallel[n] |
n |
Is the level of analysis to perform. Possible values are:
|
OFF |
The compiler does not analyze parallelization in source code. |
This option enables analysis of parallelization in source code (parallel lint diagnostics). Currently, this analysis uses OpenMP pragmas, so this option has no effect unless option /Qopenmp (Windows) or option -openmp (Linux and Mac OS X) is set.
Parallel lint performs interprocedural source code analysis to identify mistakes when using parallel pragmas. It reports various problems that are difficult to find, including data dependency and potential deadlocks.
Source Checker diagnostics (enabled by /Qdiag-enable:sc on Windows* OS or -diag-enable sc on Linux* OS and Mac OS* X) are a superset of parallel lint diagnostics. Therefore, if Source Checker diagnostics are enabled, the parallel lint option is not taken into account.
None