Functional

Functional#

2026-10-07

1 min read time

Applies to Linux and Windows

This page covers the functional extended API, including utilities for maximum and minimum computation, return-type proclamation, and obtaining device addresses.

API

Description

Since

cuda::maximum

Returns the maximum of two values

libhipcxx 3.0

cuda::minimum

Returns the minimum of two values

libhipcxx 3.0

cuda::proclaim_return_type

Creates a forwarding call wrapper that proclaims return type

libhipcxx 2.7

cuda::proclaim_copyable_arguments

Creates a forwarding call wrapper that proclaims that arguments can be freely copied before an invocation of the wrapped callable

libhipcxx 3.0

cuda::get_device_address

Returns a valid address to a device object

libhipcxx 3.0