//===----------------------------------------------------------------------===// // // 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) 2026 NVIDIA CORPORATION & AFFILIATES. // //===----------------------------------------------------------------------===// #ifndef _CUDA___FWD_HIERARCHY_H #define _CUDA___FWD_HIERARCHY_H #include #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 #include #include #include _CCCL_BEGIN_NAMESPACE_CUDA using dimensions_index_type = unsigned; // hierarchy level template struct hierarchy_level_base; template struct __native_hierarchy_level_base; struct grid_level; struct cluster_level; struct block_level; struct warp_level; struct thread_level; template inline constexpr bool __is_hierarchy_level_v = ::cuda::std::is_base_of_v, _Tp>; template inline constexpr bool __is_native_hierarchy_level_v = ::cuda::std::is_base_of_v<__native_hierarchy_level_base<_Tp>, _Tp>; // hierarchy template class hierarchy; template inline constexpr bool __is_hierarchy_v = false; template inline constexpr bool __is_hierarchy_v> = true; template struct __allowed_levels; struct __hierarchy_level_desc_base {}; template class hierarchy_level_desc; template inline constexpr bool __is_hierarchy_level_desc_v = ::cuda::std::is_base_of_v<__hierarchy_level_desc_base, _Tp>; template struct __extents_query_native; template struct __extents_query; template struct __count_query_native; template struct __count_query; template struct __index_query_native; template struct __index_query; template struct __rank_query_native; template struct __rank_query; _CCCL_END_NAMESPACE_CUDA #include #endif // _CUDA___FWD_HIERARCHY_H