PeriDyno 0.8.2
Macros | Enumerations | Functions
Platform.h File Reference
#include <cuda_runtime.h>
#include "Typedef.inl"
Include dependency graph for Platform.h:

Go to the source code of this file.

Macros

#define PERIDYNO_VERSION   0.8.2
 
#define PERIDYNO_VERSION_MAJOR   0
 
#define PERIDYNO_VERSION_MINOR   8
 
#define PERIDYNO_VERSION_PATCH   2
 
#define PERIDYNO_EXPORT
 
#define PERIDYNO_IMPORT
 
#define PERIDYNO_API   PERIDYNO_IMPORT
 
#define CUDA_BACKEND
 
#define DYN_FUNC   __device__ __host__
 
#define GPU_FUNC   __device__
 
#define CPU_FUNC   __host__
 
#define PRECISION_FLOAT
 

Enumerations

enum  DeviceType { CPU , GPU , UNDEFINED }
 

Functions

const std::string getAssetPath ()
 
const std::string getPluginPath ()
 

Macro Definition Documentation

◆ CPU_FUNC

#define CPU_FUNC   __host__

Definition at line 34 of file Platform.h.

◆ CUDA_BACKEND

#define CUDA_BACKEND

Definition at line 28 of file Platform.h.

◆ DYN_FUNC

#define DYN_FUNC   __device__ __host__

Definition at line 32 of file Platform.h.

◆ GPU_FUNC

#define GPU_FUNC   __device__

Definition at line 33 of file Platform.h.

◆ PERIDYNO_API

#define PERIDYNO_API   PERIDYNO_IMPORT

Definition at line 25 of file Platform.h.

◆ PERIDYNO_EXPORT

#define PERIDYNO_EXPORT

Definition at line 18 of file Platform.h.

◆ PERIDYNO_IMPORT

#define PERIDYNO_IMPORT

Definition at line 19 of file Platform.h.

◆ PERIDYNO_VERSION

#define PERIDYNO_VERSION   0.8.2

Definition at line 2 of file Platform.h.

◆ PERIDYNO_VERSION_MAJOR

#define PERIDYNO_VERSION_MAJOR   0

Definition at line 3 of file Platform.h.

◆ PERIDYNO_VERSION_MINOR

#define PERIDYNO_VERSION_MINOR   8

Definition at line 4 of file Platform.h.

◆ PERIDYNO_VERSION_PATCH

#define PERIDYNO_VERSION_PATCH   2

Definition at line 5 of file Platform.h.

◆ PRECISION_FLOAT

#define PRECISION_FLOAT

Definition at line 48 of file Platform.h.

Enumeration Type Documentation

◆ DeviceType

enum DeviceType
Enumerator
CPU 
GPU 
UNDEFINED 

Definition at line 41 of file Platform.h.

Function Documentation

◆ getAssetPath()

const std::string getAssetPath ( )
inline

Definition at line 51 of file Platform.h.

Here is the caller graph for this function:

◆ getPluginPath()

const std::string getPluginPath ( )
inline

Definition at line 61 of file Platform.h.

Here is the caller graph for this function: