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

#include <SeedMakingWorkCuda_ITk.h>

Inheritance diagram for SeedMakingWorkCudaManagedITk:
Collaboration diagram for SeedMakingWorkCudaManagedITk:

Public Member Functions

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

Private Member Functions

void checkError () const
 

Private Attributes

unsigned int m_workId
 
SeedMakingManagedDeviceContextm_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 49 of file SeedMakingWorkCuda_ITk.h.

Constructor & Destructor Documentation

◆ SeedMakingWorkCudaManagedITk()

SeedMakingWorkCudaManagedITk::SeedMakingWorkCudaManagedITk ( unsigned int  ,
SeedMakingManagedDeviceContext ,
std::shared_ptr< TrigAccel::OffloadBuffer ,
WorkTimeStampQueue  
)

◆ ~SeedMakingWorkCudaManagedITk()

SeedMakingWorkCudaManagedITk::~SeedMakingWorkCudaManagedITk ( )

Member Function Documentation

◆ checkError()

void SeedMakingWorkCudaManagedITk::checkError ( ) const
inlineprivate

Definition at line 63 of file SeedMakingWorkCuda_ITk.h.

63  {
64  cudaError_t error = cudaGetLastError();
65  if(error != cudaSuccess) {
66  printf("CUDA error: %s\n", cudaGetErrorString(error));
67  exit(-1);
68  }
69  };

◆ getId()

unsigned int SeedMakingWorkCudaManagedITk::getId ( ) const
inlinevirtual

Implements TrigAccel::Work.

Definition at line 57 of file SeedMakingWorkCuda_ITk.h.

57  {
58  return m_workId;
59  }

◆ getOutput()

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

Implements TrigAccel::Work.

◆ run()

bool SeedMakingWorkCudaManagedITk::run ( )
virtual

Implements TrigAccel::Work.

Member Data Documentation

◆ m_context

SeedMakingManagedDeviceContext* SeedMakingWorkCudaManagedITk::m_context
private

Definition at line 72 of file SeedMakingWorkCuda_ITk.h.

◆ m_CovMS

float SeedMakingWorkCudaManagedITk::m_CovMS {}
private

Definition at line 76 of file SeedMakingWorkCuda_ITk.h.

◆ m_input

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

Definition at line 73 of file SeedMakingWorkCuda_ITk.h.

◆ m_maxD0

float SeedMakingWorkCudaManagedITk::m_maxD0 {}
private

Definition at line 76 of file SeedMakingWorkCuda_ITk.h.

◆ m_minPt2

float SeedMakingWorkCudaManagedITk::m_minPt2 {}
private

Definition at line 76 of file SeedMakingWorkCuda_ITk.h.

◆ m_output

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

Definition at line 73 of file SeedMakingWorkCuda_ITk.h.

◆ m_ptCoeff

float SeedMakingWorkCudaManagedITk::m_ptCoeff {}
private

Definition at line 76 of file SeedMakingWorkCuda_ITk.h.

◆ m_ptCoeff2

float SeedMakingWorkCudaManagedITk::m_ptCoeff2 {}
private

Definition at line 76 of file SeedMakingWorkCuda_ITk.h.

◆ m_timeLine

WorkTimeStampQueue* SeedMakingWorkCudaManagedITk::m_timeLine
private

Definition at line 74 of file SeedMakingWorkCuda_ITk.h.

◆ m_workId

unsigned int SeedMakingWorkCudaManagedITk::m_workId
private

Definition at line 71 of file SeedMakingWorkCuda_ITk.h.


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