Template Numerical Library: TNL::Devices Namespace Reference

Template Numerical Library version\ main:16b9213d5

Loading...
Searching...
No Matches
Classes | Typedefs
TNL::Devices Namespace Reference

Namespace for TNL execution models. More...

## Classes
class | GPU
class | Host
struct | Sequential

## Typedefs
using | Cuda = GPU
| An alias to GPU for convenience.
using | Hip = GPU
| An alias to GPU for convenience.

## Detailed Description

Namespace for TNL execution models.

## Typedef Documentation

## ◆ Cuda

using TNL::Devices::Cuda = GPU

An alias to GPU for convenience.

It is not possible to build for multiple GPU backends at the same time, so we can alias the types and avoid a huge amount of code duplication.

## ◆ Hip

using TNL::Devices::Hip = GPU

An alias to GPU for convenience.

It is not possible to build for multiple GPU backends at the same time, so we can alias the types and avoid a huge amount of code duplication.