ThomasUCF

clFlush and clFinish

Discussion created by ThomasUCF on Dec 1, 2010
Latest reply on Dec 5, 2010 by nou
device level parallel

 

  Hi all,

   Now I have two GPUs, I assign each with a context and a command queue.

I want them to run in parallel, meaning device level parallel.  Will  

 clFlush(gpu0);

clFlush(gpu1);

clFinish(gpu0);

clFinish(gpu1);

give  me parallel execution between the two gpus? Or gpu1 will start after gpu0 has finished?

 

Thanks in advance.

Outcomes