<cuda/std/utility>#

2026-10-01

2 min read time

Applies to Linux and Windows

This page documents the cuda::std utility facilities available in libhipcxx, including pair, integer sequences, swap, and forward, with notes on extensions and omissions.

See the documentation of the standard header <utility>

Extensions#

pair has been made trivially_copyable in 2.3.0.

Omissions#

Prior to version 2.3.0 only pair is available.

Since 2.3.0 we have implemented almost all functionality of <utility>. Notably support for operator spaceship is missing due to the specification relying on std types that are not accessible on device.