28 #ifndef HIPCUB_UTIL_DEPRECATED_HPP_ 
   29 #define HIPCUB_UTIL_DEPRECATED_HPP_ 
   35 #ifdef DOXYGEN_SHOULD_SKIP_THIS  
   40     #define HIPCUB_IGNORE_DEPRECATED_API 
   44 #if defined(HIPCUB_CUB_API) && defined(HIPCUB_IGNORE_DEPRECATED_API) \ 
   45     && !defined(CUB_IGNORE_DEPRECATED_API) 
   46     #define CUB_IGNORE_DEPRECATED_API 
   49 #if !defined(HIPCUB_IGNORE_DEPRECATED_API) \ 
   50     && (defined(CUB_IGNORE_DEPRECATED_API) || defined(THRUST_IGNORE_DEPRECATED_API)) 
   51     #define HIPCUB_IGNORE_DEPRECATED_API 
   54 #ifdef HIPCUB_IGNORE_DEPRECATED_API 
   55     #define HIPCUB_DEPRECATED 
   56     #define HIPCUB_DEPRECATED_BECAUSE(MSG) 
   58     #define HIPCUB_DEPRECATED [[deprecated]] 
   59     #define HIPCUB_DEPRECATED_BECAUSE(MSG) [[deprecated(MSG)]] 
   62 #define HIPCUB_DETAIL_DEPRECATED_DEBUG_SYNCHRONOUS                                                 \ 
   63     HIPCUB_DEPRECATED_BECAUSE("The debug_synchronous argument of the hipcub device API functions " \
 
   64                               "is deprecated and no longer has any effect.\n"                      \
 
   65                               "Use the compile-time definition HIPCUB_DEBUG_SYNC instead.")
 
   67 #define HIPCUB_DETAIL_RUNTIME_LOG_DEBUG_SYNCHRONOUS()                                         \ 
   70         if(debug_synchronous)                                                                 \ 
   72             HipcubLog("The debug_synchronous argument of the hipcub device API functions is " \
 
   73                       "deprecated and no longer has any effect.\n"                            \
 
   74                       "Use the compile-time definition HIPCUB_DEBUG_SYNC instead.\n");        \