SOFA API  3944ba52
Open source framework for multi-physics simuation
sofa::core::CallContext Class Reference

#include <CallContext.h>

Static Public Attributes

static ProcessorType executionType = CallContext::DEFAULT
 

Public Member Functions

 CallContext ()
 Constructor. More...
 

Static Public Member Functions

static ProcessorType getProcessorType ()
 
static ProcessorType getExecutionType ()
 
static unsigned getProcessorId ()
 
static void setProcessorType (ProcessorType _type)
 
static void setExecutionType (ProcessorType _type)
 
static void setProcessorId (unsigned id)
 

Attribute details

CallContext::ProcessorType sofa::core::CallContext::executionType = CallContext::DEFAULT
static

Constructor details

sofa::core::CallContext::CallContext ( )
inline

Constructor.

Function details

static ProcessorType sofa::core::CallContext::getExecutionType ( )
inlinestatic
static unsigned sofa::core::CallContext::getProcessorId ( )
inlinestatic
static ProcessorType sofa::core::CallContext::getProcessorType ( )
inlinestatic
static void sofa::core::CallContext::setExecutionType ( ProcessorType  _type)
inlinestatic
static void sofa::core::CallContext::setProcessorId ( unsigned  id)
inlinestatic
static void sofa::core::CallContext::setProcessorType ( ProcessorType  _type)
inlinestatic

Enum details

Enumerator
GRAPH_KAAPI 
CPU 
GPU_CUDA 
DEFAULT 
VISITOR_SYNC