ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SeedMakingWorkCuda Class Reference

#include <SeedMakingWorkCuda.h>

Inheritance diagram for SeedMakingWorkCuda:
Collaboration diagram for SeedMakingWorkCuda:

Public Member Functions

 SeedMakingWorkCuda (unsigned int, SeedMakingDeviceContext *, std::shared_ptr< TrigAccel::OffloadBuffer >, WorkTimeStampQueue *)
 
 ~SeedMakingWorkCuda ()
 
std::shared_ptr< TrigAccel::OffloadBuffergetOutput ()
 
bool run ()
 
unsigned int getId () const
 

Private Member Functions

void checkError () const
 

Private Attributes

unsigned int m_workId
 
SeedMakingDeviceContextm_context
 
std::shared_ptr< TrigAccel::OffloadBufferm_input
 
std::shared_ptr< TrigAccel::OffloadBufferm_output
 
WorkTimeStampQueuem_timeLine
 
float m_CovMS
 
float m_ptCoeff
 
float m_minPt2
 
float m_ptCoeff2
 
float m_maxD0
 

Detailed Description

Definition at line 18 of file SeedMakingWorkCuda.h.

Constructor & Destructor Documentation

◆ SeedMakingWorkCuda()

SeedMakingWorkCuda::SeedMakingWorkCuda ( unsigned int  ,
SeedMakingDeviceContext ,
std::shared_ptr< TrigAccel::OffloadBuffer ,
WorkTimeStampQueue  
)

◆ ~SeedMakingWorkCuda()

SeedMakingWorkCuda::~SeedMakingWorkCuda ( )

Member Function Documentation

◆ checkError()

void SeedMakingWorkCuda::checkError ( ) const
inlineprivate

Definition at line 32 of file SeedMakingWorkCuda.h.

32  {
33  cudaError_t error = cudaGetLastError();
34  if(error != cudaSuccess) {
35  printf("CUDA error: %s\n", cudaGetErrorString(error));
36  exit(-1);
37  }
38  };

◆ getId()

unsigned int SeedMakingWorkCuda::getId ( ) const
inlinevirtual

Implements TrigAccel::Work.

Definition at line 26 of file SeedMakingWorkCuda.h.

26  {
27  return m_workId;
28  }

◆ getOutput()

std::shared_ptr<TrigAccel::OffloadBuffer> SeedMakingWorkCuda::getOutput ( )
virtual

Implements TrigAccel::Work.

◆ run()

bool SeedMakingWorkCuda::run ( )
virtual

Implements TrigAccel::Work.

Member Data Documentation

◆ m_context

SeedMakingDeviceContext* SeedMakingWorkCuda::m_context
private

Definition at line 41 of file SeedMakingWorkCuda.h.

◆ m_CovMS

float SeedMakingWorkCuda::m_CovMS
private

Definition at line 45 of file SeedMakingWorkCuda.h.

◆ m_input

std::shared_ptr<TrigAccel::OffloadBuffer> SeedMakingWorkCuda::m_input
private

Definition at line 42 of file SeedMakingWorkCuda.h.

◆ m_maxD0

float SeedMakingWorkCuda::m_maxD0
private

Definition at line 45 of file SeedMakingWorkCuda.h.

◆ m_minPt2

float SeedMakingWorkCuda::m_minPt2
private

Definition at line 45 of file SeedMakingWorkCuda.h.

◆ m_output

std::shared_ptr<TrigAccel::OffloadBuffer> SeedMakingWorkCuda::m_output
private

Definition at line 42 of file SeedMakingWorkCuda.h.

◆ m_ptCoeff

float SeedMakingWorkCuda::m_ptCoeff
private

Definition at line 45 of file SeedMakingWorkCuda.h.

◆ m_ptCoeff2

float SeedMakingWorkCuda::m_ptCoeff2
private

Definition at line 45 of file SeedMakingWorkCuda.h.

◆ m_timeLine

WorkTimeStampQueue* SeedMakingWorkCuda::m_timeLine
private

Definition at line 43 of file SeedMakingWorkCuda.h.

◆ m_workId

unsigned int SeedMakingWorkCuda::m_workId
private

Definition at line 40 of file SeedMakingWorkCuda.h.


The documentation for this class was generated from the following file:
SeedMakingWorkCuda::m_workId
unsigned int m_workId
Definition: SeedMakingWorkCuda.h:38
calibdata.exit
exit
Definition: calibdata.py:236
error
Definition: IImpactPoint3dEstimator.h:70