Lines Matching refs:checkOpenCLError
337 static void checkOpenCLError(int Ret, const char *format, ...) { in checkOpenCLError() function
377 checkOpenCLError(Ret, "Failed to get platform IDs.\n"); in initContextCL()
382 checkOpenCLError(Ret, "Failed to get device IDs.\n"); in initContextCL()
394 checkOpenCLError(Ret, "Failed to fetch device revision.\n"); in initContextCL()
399 checkOpenCLError(Ret, "Failed to fetch device name.\n"); in initContextCL()
416 checkOpenCLError(Ret, "Failed to create context.\n"); in initContextCL()
422 checkOpenCLError(Ret, "Failed to create command queue.\n"); in initContextCL()
444 checkOpenCLError(Ret, "Failed to flush command queue.\n"); in freeKernelCL()
446 checkOpenCLError(Ret, "Failed to finish command queue.\n"); in freeKernelCL()
451 checkOpenCLError(Ret, "Failed to release kernel.\n"); in freeKernelCL()
457 checkOpenCLError(Ret, "Failed to release program.\n"); in freeKernelCL()
521 checkOpenCLError(Ret, "Failed to create program from llvm.\n"); in getKernelCL()
531 checkOpenCLError(Ret, "Failed to create program from binary.\n"); in getKernelCL()
536 checkOpenCLError(Ret, "Failed to build program.\n"); in getKernelCL()
540 checkOpenCLError(Ret, "Failed to create kernel.\n"); in getKernelCL()
570 checkOpenCLError(Ret, "Copying data from host memory to device failed.\n"); in copyFromHostToDeviceCL()
587 checkOpenCLError(Ret, "Copying results from device to host memory failed.\n"); in copyFromDeviceToHostCL()
607 checkOpenCLError(Ret, "Failed to get number of kernel arguments.\n"); in launchKernelCL()
614 checkOpenCLError(Ret, "Failed to set Kernel argument %d.\n", i); in launchKernelCL()
627 checkOpenCLError(Ret, "Launching OpenCL kernel failed.\n"); in launchKernelCL()
635 checkOpenCLError(Ret, "Failed to free device memory.\n"); in freeDeviceMemoryCL()
664 checkOpenCLError(Ret, in allocateMemoryForDeviceCL()
702 checkOpenCLError(Ret, "Could not release command queue.\n"); in freeContextCL()
707 checkOpenCLError(Ret, "Could not release context.\n"); in freeContextCL()