Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

OpenCL bugs

Nuno Fachada edited this page May 2, 2019 · 7 revisions

This page lists bugs detected by testing cf4ocl on a number of OpenCL implementations. It is not an exhaustive list of bugs.

POCL

  • POCL 1.3, Ubuntu 18.04.2 amd64, 1 May 2019
  • No issues found

Beignet Intel GPU driver (open source)

  • Beignet 1.3, Ubuntu 18.04.2 amd64, 2 May 2019
  • Issues:
    • Seg. fault in function clEnqueueCopyBufferRect(), needs further checks

AMD ROCm (GPU)

  • ROCm 2.3.14, Ubuntu 18.04.2 amd64, 2 May 2019
  • No issues found

NVidia

  • Test date: 29 June 2016
  • Issue 1
    • Events generated by clEnqueueBarrierWithWaitList should be of type CL_COMMAND_BARRIER (0x1205). However, when queried with clGetEventInfo using the CL_EVENT_COMMAND_TYPE parameter name, the returned value is 0x4003, which is invalid.
    • This issue only occurs for drivers supporting OpenCL 1.2, since the clEnqueueBarrierWithWaitList function is only defined from this OpenCL version onwards.
    • This issue occurs with both Windows (e.g. 368.22) and Linux (e.g. 364.19) drivers.

AMD APP SDK (CPU)

  • AMD APP SDK 3.0, Linux and Windows, 29 June 2016
  • No issues

AMD fglrx (GPU) Driver

  • Ubuntu 14.04, 29 June 2016
  • No issues

Oclgrind (CPU)

  • Test date: 29 June 2016
  • Issue 1
    • Hangs with events from different queues.

Intel CPU runtime

  • Test date: 29 June 2016
  • Issue 1
    • clGetKernelWorkGroupInfo returns size 0 for the requested information, not allowing to automatically query kernels for useful performance tips.
    • This bug occurs in version 16.1 of the runtime on both Linux and Windows.
    • Previous versions of the runtime did not have this issue.

Intel GPU driver (proprietary)

  • Test date: 29 June 2016
  • Issue 1
    • Fails often on Linux with "out of resources" errors for apparently simple API calls. Does not seem to occur on Windows.
  • Issue 2
    • Events generated by clEnqueueUnmapMemObject should be of type CL_COMMAND_UNMAP_MEM_OBJECT (0x11FD). However, when queried with clGetEventInfo using the CL_EVENT_COMMAND_TYPE parameter name, the returned value is 0, which is invalid.
    • This issue occurs on Linux and Windows.
  • Issue 3
  • Issue 4
    • clBuildProgram throws CL_INVALID_BINARY error when compiling the sum_impl.cl source file. CL_INVALID_BINARY should only be thrown when compiling binaries.
    • This issue only occurs on Linux.

Apple

  • Test date: 29 June 2016
  • Issue 1
  • Issue 2
    • clGetDeviceInfo throws CL_INVALID_OPERATION when querying size for CL_DEVICE_HALF_FP_CONFIG. This error is not defined for clGetDeviceInfo.
    • Confirmed on OSX 10.11. Error does not occur on OSX 10.9.
    • Confirmed for Intel CPU and Intel Iris GPU devices. Untested with AMD and NVidia GPU devices.

ARM Mali driver

  • Test date: 29 June 2016
  • Issue 1
    • Hangs with events from different queues.
    • Tested with ODROID-XU4.