]> foleosoft.com Git - QAnsel.git/commitdiff
Mon Mar 4 12:55:22 AM EST 2024
authormiha-q <>
Mon, 4 Mar 2024 05:55:22 +0000 (00:55 -0500)
committermiha-q <>
Mon, 4 Mar 2024 05:55:22 +0000 (00:55 -0500)
src/gpu/gpu.c

index d98a826247e27b824e2a891d892484589c09afcf..a9e34ab830d8c8011eab2b5765f4d6a2ca44defa 100644 (file)
@@ -214,6 +214,7 @@ void GPU_knk(float* ptrR, int rowsR, int colsR, float* ptrA, int rowsA, int cols
        gpuerr(clEnqueueNDRangeKernel);
 
        //Wait for completion
+       err = clFlush(GPU_command_queue); gpuerr(clFlush);
        err = clFinish(GPU_command_queue); gpuerr(clFinish);
 
        //Read results