Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement missing host-side math functions #884

Merged
merged 4 commits into from
Jul 24, 2024
Merged

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    8da883f View commit details
    Browse the repository at this point in the history
  2. Implement missing host math funcs

    * Compiling the bitode library to host code leads to linking errors
    some of the OpenCL natives being used in the library code are not
    available for the CPU, resulting in linking errors
    
    * OCML does not meant to be compiled in C++ mode
    for this, we create a drop-in opencl header defining the missing
    datatypes
    
    * Since OCML uses headers in the same directory as the source files,
    we must copy the necessary source files into a new directory so that
    our replacement headers get picked up instead of the originals
    
    * Implement a new header for mapping math funcs to host-side ocml
    
    * Discover an additional way to trigger 128 bit error
    
    * Discover a discrepancy in host and device func results
    pvelesko committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    d3b4016 View commit details
    Browse the repository at this point in the history
  3. add missing rsqrt host funcs

    pvelesko committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    a230577 View commit details
    Browse the repository at this point in the history
  4. fix typo

    pvelesko committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    6884224 View commit details
    Browse the repository at this point in the history