MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Util.hpp File Reference

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

#include <Config.hpp>
#include <cuda/CudaGlobal.hpp>

Go to the source code of this file.

Namespaces

 mgx
 This namespace contains all the API of MorphoGraphX.
 

Functions

template<typename T >
CU_HOST_DEVICE T mgx::util::min (const T a, const T b)
 
template<typename T >
T CU_HOST_DEVICE mgx::util::max (const T a, const T b)
 
template<typename T >
CU_HOST_DEVICE T mgx::util::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)