Container Library

Container Library#

2026-10-01

2 min read time

Applies to Linux and Windows

This page covers the container library headers available in libhipcxx, including array, inplace_vector, mdspan, and span.

Any Standard C++ header not listed below is omitted.

Header

Content

CCCL Availability

CUDA Toolkit Availability

C++ Reference

<cuda/std/array>

Fixed size array

CCCL 2.0.0

CUDA 11.7

<array>

<cuda/std/inplace_vector>

Flexible size container with fixed capacity

CCCL 2.6.0

CUDA 12.8

<inplace_vector>

<cuda/std/mdspan>

Non-owning view into a multidimensional contiguous sequence of objects

CCCL 2.1.0

CUDA 12.2

<mdspan>

<cuda/std/span>

Non-owning view into a contiguous sequence of objects

CCCL 2.1.0

CUDA 12.2

<span>