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

v2.1.0

Latest
Compare
Choose a tag to compare
@nunofachada nunofachada released this 04 Jul 22:27
· 204 commits to master since this release

New features

  • Offline kernel compiler and linker
  • Add silent "by index" device filter and context constructor
  • Add OpenCL 2.1 symbols (device information, command names, ...)

Bug fixes

  • Fix release of device array in dependent filters
  • Fix possibly uninitialized context and device in context module
  • Fix device selection menu in MSYS
  • Fix intermittent segfault in OSX buffer migrate test (issue #9)
  • Fix pointer comparison in device selection test for 32-bit platforms

Other changes

  • Build log not automatically fetched after build/compile/link
  • Remove ccl_kerninfo utility (moved functionality to new ccl_c utility)
  • Add/build against OpenCL 2.1 headers
  • Add tests for the command-line utilities and examples
  • Improved error reporting in context and devsel modules
  • Add extra debug option for logging creation/destruction of wrapper objects
  • Allow to select test device using environment variable
  • Add tests-specific log domain
  • Set event name to "UNKNOWN" instead of NULL for unknown commands
  • Stable API for all OpenCL versions, unsupported operations throw error
  • Multiple documentation improvements
  • Multiple build improvements in CMake configuration
  • Set minimum CMake version to 2.8.3
  • Remove support for building with Visual Studio, improve support for building with MinGW
  • Refactor cf4ocl as a self-contained library:
    • Remove requirement for direct GLib and OpenCL dependencies from cf4ocl client code
    • Hide GLib and OpenCL from cf4ocl from client code unless explicitly required
  • Remove error handling macros from public API

Download/install instructions

  • Experimental binaries are provided for Linux (64 bits), Windows (32/64 bits)
    and Mac OS X (64 bits). These should be installed manually to the appropriate
    system folders.
  • Windows and Linux binaries are compiled against OpenCL 2.0. As such, they
    require that an ICD (OpenCL.dll/libOpenCL.so) supporting OpenCL >= 2.0 is
    previously installed. See the
    Build and install from source
    Wiki page for compiling cf4ocl against other OpenCL versions.
  • Windows binaries include a number of third-party DLLs (GLib and friends)
    required to run the utilities. On Linux, GLib should be installed via the
    package manager. On OS X, GLib should be installed using
    Homebrew or similar tool.
  • There is a Homebrew formula
    formula for OS X. This is the recommended approach for installing cf4ocl on
    OS X. Acknowledgements to Jan-Gerd Tenberge for
    providing this formula.