title: NVIDIA GPU support branch prediction? (with OpenACC)
body: <p>I'm using NVIDIA GPU with OpenACC
  (NVIDIA GeForce960, compiler:PGI 15.7)</p>
  
  <p>Does NVIDIA GPU support branch prediction?
  My code has conditional execution code in long loop.  But when I run my code on GPU, It takes so long time.</p>
  
  <p>Below is Example code .</p>
  
  <pre><code>#pragma acc parallel loop
  for(i=0; i&lt;1000; i++)  // NVIDIA GPU kernel with OpenACC
     for(j=0; j&lt;1000; j++)
        if(a[i][j]==value)
           // do something...
        else if(a[i][j]==value2)
           // do another something...
        else
           // do another something...
  </code></pre>
  
  <p>If this code is compiled and run on CPU, CPU will do branch prediction for conditional execution loop.
  Is NVIDIA GPU has same or similar skills like CPU's branch prediction?</p>
  
  <p>If it has, how can I enable it?</p>
  
  <p>Additional Question : </p>
  
  <p>Is PGI 15.7 compiler can compile optimized code for GPU?
  I know usual compilers(gcc... etc) can compile with optimizing skills, like changing conditional code execution order.</p>