I am using omp with visual studio 2019 and c++. But it keeps giving me the hint "C6993: code analysis ignores OpenMP". Does that mean omp will run the program in a single thread? Why? Following is the code. I have measured the time before and after I add omp, it does seems to run in parallel, then why it gives me the c6993 hint?
#pragma omp parallel for
for (int i = 0; i < nodeCount; i++)
{
if (masses[i] != 0)
{
predictPositions[i].x() += deltaX[i * 6];
predictPositions[i].y() += deltaX[i * 6 + 1];
predictPositions[i].z() += deltaX[i * 6 + 2];
}
}