AmpTools
GPUManager Class Reference

#include <GPUManager.h>

Public Member Functions

 GPUManager ()
 
 GPUManager (const AmpVecs &a)
 
 ~GPUManager ()
 
void clearAll ()
 
void clearAmpCalc ()
 
void clearLikeCalc ()
 
void init (const AmpVecs &a)
 
void copyDataToGPU (const AmpVecs &a)
 
void calcAmplitudeAll (const Amplitude *amp, unsigned long long offset, const vector< vector< int > > *pvPermutations)
 
void assembleTerms (int iAmpInd, int nFact, int nPerm)
 
void copyAmpsFromGPU (AmpVecs &a)
 
double calcSumLogIntensity (const vector< complex< double > > &prodCoef, const vector< vector< bool > > &cohMtx)
 
void calcIntegral (GDouble *result, int iAmp, int jAmp, int iNGenEvents)
 

Static Public Member Functions

static int calcNEventsGPU (int iNEvents)
 

Detailed Description

Definition at line 71 of file GPUManager.h.

Constructor & Destructor Documentation

◆ GPUManager() [1/2]

GPUManager::GPUManager ( )

Definition at line 62 of file GPUManager.cc.

Here is the caller graph for this function:

◆ GPUManager() [2/2]

GPUManager::GPUManager ( const AmpVecs a)

Definition at line 146 of file GPUManager.cc.

Here is the call graph for this function:

◆ ~GPUManager()

GPUManager::~GPUManager ( )

Definition at line 152 of file GPUManager.cc.

Here is the call graph for this function:

Member Function Documentation

◆ assembleTerms()

void GPUManager::assembleTerms ( int  iAmpInd,
int  nFact,
int  nPerm 
)

Definition at line 314 of file GPUManager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calcAmplitudeAll()

void GPUManager::calcAmplitudeAll ( const Amplitude amp,
unsigned long long  offset,
const vector< vector< int > > *  pvPermutations 
)

Definition at line 263 of file GPUManager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calcIntegral()

void GPUManager::calcIntegral ( GDouble result,
int  iAmp,
int  jAmp,
int  iNGenEvents 
)

Definition at line 398 of file GPUManager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calcNEventsGPU()

static int GPUManager::calcNEventsGPU ( int  iNEvents)
inlinestatic

Definition at line 104 of file GPUManager.h.

Here is the caller graph for this function:

◆ calcSumLogIntensity()

double GPUManager::calcSumLogIntensity ( const vector< complex< double > > &  prodCoef,
const vector< vector< bool > > &  cohMtx 
)

Definition at line 331 of file GPUManager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearAll()

void GPUManager::clearAll ( )

Definition at line 484 of file GPUManager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearAmpCalc()

void GPUManager::clearAmpCalc ( )

◆ clearLikeCalc()

void GPUManager::clearLikeCalc ( )

◆ copyAmpsFromGPU()

void GPUManager::copyAmpsFromGPU ( AmpVecs a)

Definition at line 242 of file GPUManager.cc.

Here is the caller graph for this function:

◆ copyDataToGPU()

void GPUManager::copyDataToGPU ( const AmpVecs a)

Definition at line 221 of file GPUManager.cc.

Here is the caller graph for this function:

◆ init()

void GPUManager::init ( const AmpVecs a)

Definition at line 161 of file GPUManager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: