AnsweredAssumed Answered

invalid command queue with clFinish()

Question asked by sajis997 on Feb 5, 2014
Latest reply on Feb 5, 2014 by developer

Hi forum,

 

I am getting this error with the following command:

 

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

   //wait for the calculations to finish

   errNum = clFinish(commandQueue);

 

 

   if(errNum != CL_SUCCESS)

   {

      std::cerr << "the clFinish() failed  in the diffuse projection stage at forward FFT of X-component: "

  <<  get_error_string(errNum) << std::endl;

      cleanup(EXIT_FAILURE);

   }  

 

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

 

I have checked the command queue creation and it was CL_SUCCESS.

 

Any hint on where should i look into ?

 

 

Thanks

Outcomes