Template Numerical Library version\ main:0c33d623
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 = typedef 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 = typedef 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.