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

Pull 2019-08-01T15-45 Recent NVIDIA Changes #770

Merged
merged 1 commit into from Aug 1, 2019
Merged

Pull 2019-08-01T15-45 Recent NVIDIA Changes #770

merged 1 commit into from Aug 1, 2019

Commits on Aug 1, 2019

  1. Add support for libpgmath Windows and OSX builds with clang.

    Majority of CmakeLists.txt and lit*.cfg* changes attributable
    to PR#719: #719
    
    1) Differentiate between CMAKE_SYSTEM_PROCESSOR and
       LIBPGMATH_SYSTEM_PROCESSOR throughout libpgmath configuration
       scripts.
    
    2) Windows version of CMAKE_SYSTEM_PROCESSOR is defined as "AMD64".
       If building for Windows, set LIBPGMATH_SYSTEM_PROCESSOR to "x86_64".
       This eliminates any need for most conditional logic that applies
       to both Linux and Windows Intel 64 source/object files.
    
    3) Cleanup various L1 and L2 definitions (C preprocessor -D<def>)
       eliminating duplicates.
    
    4) Special case building of DLL in runtime/libpgmath/lib/CMakeLists.txt
       for the MSYS environment.
    
    5) To support Window's unique complex variable declarations of
       _Fcomplex and _Dcomplex, globally change declarations of the form:
    	float _Complex f
    	double _Complex d
       to:
    	float_complex_t
    	double_complex_t
    
    6) Introduce two forms of complex variable assignment:
       a) float/double static/constants use the CPP function macro
          PGMATH_CMPLX_CONST
       b) Complex variables composed of real and imaginary variables
          (not constants) use:
          float_complex_t pgmath_cmplxf(float, float);
          double_complex_t pgmath_cmplx(double, double);
    
    7) runtime/libpgmath/lib/CMakeLists.txt
       Windows: only build static version of libpgmath.
    gklimowicz committed Aug 1, 2019
    Copy the full SHA
    2ffc9d6 View commit details
    Browse the repository at this point in the history