Auto-parallelizer: #pragma loop
I just discovered that MSVC++ can automatically run each iteration of a loop in parallel in separate threads.  Add &quot;#pragma loop(hint_parallel(8))&quot; and &quot;#pragma loop(ivdep)&quot; before the loop, and compile with the &#x2F;Qpar option.  This simple change sped up my cryoablation simulation code by 4x.