Einsums/TypeSupport/GPUCast.hpp#

Defined in header Einsums/TypeSupport/GPUCast.hpp.

See Overview for a list of names and headers that are part of the public Einsums API.

namespace einsums

Todo:

template<typename To, typename From>
struct HipCast#

Public Static Functions

static inline __host__ __device__ To cast (From from)

Perform the cast.

Added in version 1.0.0.

Changed in version 2.0.0: Added the cast function to the base cast struct for documentation purposes.

Parameters:

from[in] The value to cast.

Returns:

The cast value.