milupHPC documentation
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
To Struct Reference

Specify target: device or host. More...

#include "parameter.h"

+ Collaboration diagram for To:
Collaboration graph

Public Types

enum  Target { host , device , host , device }
 
enum  Target { host , device , host , device }
 

Public Member Functions

 To (Target t)
 
 operator Target () const
 
 To (Target t)
 
 operator Target () const
 

Public Attributes

Target t_
 

Private Member Functions

template<typename T >
 operator T () const
 
template<typename T >
 operator T () const
 

Detailed Description

Specify target: device or host.

Struct usable to specify e.g. copy commands.

Definition at line 161 of file parameter.h.

Member Enumeration Documentation

◆ Target [1/2]

enum To::Target
Enumerator
host 
device 
host 
device 

Definition at line 163 of file parameter.h.

◆ Target [2/2]

enum To::Target
Enumerator
host 
device 
host 
device 

Definition at line 235 of file parameter_backup.h.

Constructor & Destructor Documentation

◆ To() [1/2]

To::To ( Target  t)
inline

Definition at line 168 of file parameter.h.

◆ To() [2/2]

To::To ( Target  t)
inline

Definition at line 240 of file parameter_backup.h.

Member Function Documentation

◆ operator T() [1/2]

template<typename T >
To::operator T ( ) const
private

◆ operator T() [2/2]

template<typename T >
To::operator T ( ) const
private

◆ operator Target() [1/2]

To::operator Target ( ) const
inline

Definition at line 169 of file parameter.h.

◆ operator Target() [2/2]

To::operator Target ( ) const
inline

Definition at line 241 of file parameter_backup.h.

Member Data Documentation

◆ t_

Target To::t_

Definition at line 167 of file parameter.h.


The documentation for this struct was generated from the following files:
  • include/parameter.h
  • include/parameter_backup.h

milupHPC - To Struct Reference
Generated on Wed Aug 31 2022 12:16:53 by Doxygen 1.9.3