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

Complete the deprecation of duplicated hpp headers #793

Merged
merged 2 commits into from
Sep 2, 2022

Commits on Aug 30, 2022

  1. Include .cuh header when available

    Replace #include <path.hpp> with #include <path.cuh> if possible. This
    should reduce the number of deprecation warnings.
    ahendriksen committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    6e94b18 View commit details
    Browse the repository at this point in the history
  2. Complete the deprecation of duplicated hpp headers

    Replace all .hpp headers that have a .cuh header in the same directory with the
    same name by a simple include of the cuh header and a pragma warning of
    deprecation.
    
    This change hopefully prevents future head scratching when changes in a
    file are seemingly not picked up by the compiler..
    
    Care has been taken to copy the right start year for the copyright line.
    Copyright lines have been updated to 2022 when necessary.
    
    The following template has been used for the .hpp header replacement
    text:
    
    ------------------------------------------------------------
     * %%COPYRIGHT_LINE%%
     *
     * [... snip license .. ]
     */
    /**
     * This file is deprecated and will be removed in release 22.06.
     * Please use the cuh version instead.
     */
    
    /**
     * DISCLAIMER: this file is deprecated: use %%CUH_FILE%% instead
     */
    
                    " is deprecated and will be removed in a future release." \
                    " Please use the cuh version instead.")
    
    ------------------------------------------------------------
    ahendriksen committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    972597e View commit details
    Browse the repository at this point in the history