CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
70 lines
2.8 KiB
C
70 lines
2.8 KiB
C
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of libcu++, the C++ Standard Library for your entire system,
|
|
// under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
// SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef __CCCL_DEPRECATED_H
|
|
#define __CCCL_DEPRECATED_H
|
|
|
|
#include <cuda/std/__cccl/compiler.h>
|
|
#include <cuda/std/__cccl/system_header.h>
|
|
|
|
#if defined(_CCCL_IMPLICIT_SYSTEM_HEADER_GCC)
|
|
# pragma GCC system_header
|
|
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_CLANG)
|
|
# pragma clang system_header
|
|
#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)
|
|
# pragma system_header
|
|
#endif // no system header
|
|
|
|
// Check for deprecation opt outs
|
|
#if defined(LIBCUDACXX_IGNORE_DEPRECATED_CPP_DIALECT)
|
|
# if !defined(CCCL_IGNORE_DEPRECATED_CPP_DIALECT)
|
|
# define CCCL_IGNORE_DEPRECATED_CPP_DIALECT
|
|
# endif
|
|
#endif // suppress all dialect deprecation warnings
|
|
#if defined(LIBCUDACXX_IGNORE_DEPRECATED_CPP_14) || defined(CCCL_IGNORE_DEPRECATED_CPP_DIALECT)
|
|
# if !defined(CCCL_IGNORE_DEPRECATED_CPP_14)
|
|
# define CCCL_IGNORE_DEPRECATED_CPP_14
|
|
# endif
|
|
#endif // suppress all c++14 dialect deprecation warnings
|
|
#if defined(LIBCUDACXX_IGNORE_DEPRECATED_CPP_11) || defined(CCCL_IGNORE_DEPRECATED_CPP_DIALECT) \
|
|
|| defined(CCCL_IGNORE_DEPRECATED_CPP_14)
|
|
# if !defined(CCCL_IGNORE_DEPRECATED_CPP_11)
|
|
# define CCCL_IGNORE_DEPRECATED_CPP_11
|
|
# endif
|
|
#endif // suppress all c++11 dialect deprecation warnings
|
|
#if defined(LIBCUDACXX_IGNORE_DEPRECATED_COMPILER) || defined(THRUST_IGNORE_DEPRECATED_COMPILER) \
|
|
|| defined(CUB_IGNORE_DEPRECATED_COMPILER) || defined(CCCL_IGNORE_DEPRECATED_CPP_DIALECT) \
|
|
|| defined(CCCL_IGNORE_DEPRECATED_CPP_14) || defined(CCCL_IGNORE_DEPRECATED_CPP_11)
|
|
# if !defined(CCCL_IGNORE_DEPRECATED_COMPILER)
|
|
# define CCCL_IGNORE_DEPRECATED_COMPILER
|
|
# endif
|
|
#endif // suppress all compiler deprecation warnings
|
|
#if defined(LIBCUDACXX_IGNORE_DEPRECATED_API) || defined(THRUST_IGNORE_DEPRECATED_API) \
|
|
|| defined(CUB_IGNORE_DEPRECATED_API)
|
|
# if !defined(CCCL_IGNORE_DEPRECATED_API)
|
|
# define CCCL_IGNORE_DEPRECATED_API
|
|
# endif
|
|
#endif // suppress all API deprecation warnings
|
|
|
|
#ifdef CCCL_IGNORE_DEPRECATED_API
|
|
//! deprecated [Since 2.8]
|
|
# define CCCL_DEPRECATED
|
|
//! deprecated [Since 2.8]
|
|
# define CCCL_DEPRECATED_BECAUSE(MSG)
|
|
#else // ^^^ CCCL_IGNORE_DEPRECATED_API ^^^ / vvv !CCCL_IGNORE_DEPRECATED_API vvv
|
|
//! deprecated [Since 2.8]
|
|
# define CCCL_DEPRECATED [[deprecated]]
|
|
//! deprecated [Since 2.8]
|
|
# define CCCL_DEPRECATED_BECAUSE(MSG) [[deprecated(MSG)]]
|
|
#endif // !CCCL_IGNORE_DEPRECATED_API
|
|
|
|
#endif // __CCCL_DEPRECATED_H
|