MorphoGraphX  2.0-1-227
Namespaces | Functions
Util.hpp File Reference
#include <Config.hpp>
#include <cuda/CudaGlobal.hpp>

Go to the source code of this file.

Namespaces

 mgx
 Distributed matrix library.
 

Functions

template<typename T >
CU_HOST_DEVICEmgx::min (const T a, const T b)
 
template<typename T >
T CU_HOST_DEVICE mgx::max (const T a, const T b)
 
template<typename T >
CU_HOST_DEVICEmgx::trim (const T x, const T minx, const T maxx)
 

Detailed Description

Common definitions and utilities This file is shared by cuda, do not include headers that nvcc can't handle (i.e. Qt)

Definition in file Util.hpp.