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

#include <SeedMakingWorkCuda_ITk.h>

Inheritance diagram for SeedMakingWorkCudaITk:
Collaboration diagram for SeedMakingWorkCudaITk:

Public Member Functions

 SeedMakingWorkCudaITk (unsigned int, SeedMakingDeviceContext *, std::shared_ptr< TrigAccel::OffloadBuffer >, WorkTimeStampQueue *)
 
 ~SeedMakingWorkCudaITk ()
 
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 19 of file SeedMakingWorkCuda_ITk.h.

Constructor & Destructor Documentation

◆ SeedMakingWorkCudaITk()

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

◆ ~SeedMakingWorkCudaITk()

SeedMakingWorkCudaITk::~SeedMakingWorkCudaITk ( )

Member Function Documentation

◆ checkError()

void SeedMakingWorkCudaITk::checkError ( ) const
inlineprivate

Definition at line 33 of file SeedMakingWorkCuda_ITk.h.

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

◆ getId()

unsigned int SeedMakingWorkCudaITk::getId ( ) const
inlinevirtual

Implements TrigAccel::Work.

Definition at line 27 of file SeedMakingWorkCuda_ITk.h.

27  {
28  return m_workId;
29  }

◆ getOutput()

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

Implements TrigAccel::Work.

◆ run()

bool SeedMakingWorkCudaITk::run ( )
virtual

Implements TrigAccel::Work.

Member Data Documentation

◆ m_context

SeedMakingDeviceContext* SeedMakingWorkCudaITk::m_context
private

Definition at line 42 of file SeedMakingWorkCuda_ITk.h.

◆ m_CovMS

float SeedMakingWorkCudaITk::m_CovMS {}
private

Definition at line 46 of file SeedMakingWorkCuda_ITk.h.

◆ m_input

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

Definition at line 43 of file SeedMakingWorkCuda_ITk.h.

◆ m_maxD0

float SeedMakingWorkCudaITk::m_maxD0 {}
private

Definition at line 46 of file SeedMakingWorkCuda_ITk.h.

◆ m_minPt2

float SeedMakingWorkCudaITk::m_minPt2 {}
private

Definition at line 46 of file SeedMakingWorkCuda_ITk.h.

◆ m_output

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

Definition at line 43 of file SeedMakingWorkCuda_ITk.h.

◆ m_ptCoeff

float SeedMakingWorkCudaITk::m_ptCoeff {}
private

Definition at line 46 of file SeedMakingWorkCuda_ITk.h.

◆ m_ptCoeff2

float SeedMakingWorkCudaITk::m_ptCoeff2 {}
private

Definition at line 46 of file SeedMakingWorkCuda_ITk.h.

◆ m_timeLine

WorkTimeStampQueue* SeedMakingWorkCudaITk::m_timeLine
private

Definition at line 44 of file SeedMakingWorkCuda_ITk.h.

◆ m_workId

unsigned int SeedMakingWorkCudaITk::m_workId
private

Definition at line 41 of file SeedMakingWorkCuda_ITk.h.


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