Project
Loading...
Searching...
No Matches
standalone.cxx File Reference
#include "utils/qconfig.h"
#include "GPUReconstruction.h"
#include "GPUReconstructionTimeframe.h"
#include "GPUReconstructionConvert.h"
#include "GPUChainTracking.h"
#include "GPUTPCDef.h"
#include "GPUQA.h"
#include "display/GPUDisplayInterface.h"
#include "genEvents.h"
#include <iostream>
#include <fstream>
#include <cstdio>
#include <cstring>
#include <chrono>
#include <tuple>
#include <algorithm>
#include <thread>
#include <future>
#include <atomic>
#include <unistd.h>
#include <sched.h>
#include <csignal>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/select.h>
#include <cfenv>
#include <clocale>
#include <sys/stat.h>
#include "utils/timer.h"
#include "utils/qmaths_helpers.h"
#include "utils/vecpod.h"
#include "TPCFastTransform.h"
#include "CorrectionMapsHelper.h"
#include "GPUTPCGMMergedTrack.h"
#include "GPUSettings.h"
#include <vector>
#include "GPUO2DataTypes.h"
#include "GPUChainITS.h"

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::gpu
 

Functions

void unique_ptr_aligned_delete (char *v)
 
std::unique_ptr< char, void(*)(char *)> outputmemory (nullptr, unique_ptr_aligned_delete)
 
std::unique_ptr< char, void(*)(char *)> outputmemoryPipeline (nullptr, unique_ptr_aligned_delete)
 
std::unique_ptr< char, void(*)(char *)> inputmemory (nullptr, unique_ptr_aligned_delete)
 
void SetCPUAndOSSettings ()
 
int32_t ReadConfiguration (int argc, char **argv)
 
int32_t SetupReconstruction ()
 
int32_t ReadEvent (int32_t n)
 
int32_t LoadEvent (int32_t iEvent, int32_t x)
 
void OutputStat (GPUChainTracking *t, int64_t *nTracksTotal=nullptr, int64_t *nClustersTotal=nullptr)
 
int32_t RunBenchmark (GPUReconstruction *recUse, GPUChainTracking *chainTrackingUse, int32_t runs, int32_t iEvent, int64_t *nTracksTotal, int64_t *nClustersTotal, int32_t threadId=0, HighResTimer *timerPipeline=nullptr)
 
int32_t main (int argc, char **argv)
 

Variables

GPUReconstructionrec
 
GPUReconstructionrecAsync
 
GPUReconstructionrecPipeline
 
GPUChainTrackingchainTracking
 
GPUChainTrackingchainTrackingAsync
 
GPUChainTrackingchainTrackingPipeline
 
GPUChainITSchainITS
 
GPUChainITSchainITSAsync
 
GPUChainITSchainITSPipeline
 
std::unique_ptr< GPUDisplayFrontendInterfaceeventDisplay
 
std::unique_ptr< GPUReconstructionTimeframetf
 
int32_t nEventsInDirectory = 0
 
std::atomic< uint32_t > nIteration
 
std::atomic< uint32_t > nIterationEnd
 
std::vector< GPUTrackingInOutPointersioPtrEvents
 
std::vector< GPUChainTracking::InOutMemoryioMemEvents
 

Detailed Description

Author
David Rohr

Definition in file standalone.cxx.

Function Documentation

◆ inputmemory()

std::unique_ptr< char, void(*)(char *)> inputmemory ( nullptr  ,
unique_ptr_aligned_delete   
)

◆ LoadEvent()

int32_t LoadEvent ( int32_t  iEvent,
int32_t  x 
)

Definition at line 549 of file standalone.cxx.

◆ main()

int32_t main ( int  argc,
char **  argv 
)

Definition at line 732 of file standalone.cxx.

◆ outputmemory()

std::unique_ptr< char, void(*)(char *)> outputmemory ( nullptr  ,
unique_ptr_aligned_delete   
)

◆ outputmemoryPipeline()

std::unique_ptr< char, void(*)(char *)> outputmemoryPipeline ( nullptr  ,
unique_ptr_aligned_delete   
)

◆ OutputStat()

void OutputStat ( GPUChainTracking t,
int64_t *  nTracksTotal = nullptr,
int64_t *  nClustersTotal = nullptr 
)

Definition at line 609 of file standalone.cxx.

◆ ReadConfiguration()

int32_t ReadConfiguration ( int  argc,
char **  argv 
)

Definition at line 105 of file standalone.cxx.

◆ ReadEvent()

int32_t ReadEvent ( int32_t  n)

Definition at line 516 of file standalone.cxx.

◆ RunBenchmark()

int32_t RunBenchmark ( GPUReconstruction recUse,
GPUChainTracking chainTrackingUse,
int32_t  runs,
int32_t  iEvent,
int64_t *  nTracksTotal,
int64_t *  nClustersTotal,
int32_t  threadId = 0,
HighResTimer timerPipeline = nullptr 
)

Definition at line 627 of file standalone.cxx.

◆ SetCPUAndOSSettings()

void SetCPUAndOSSettings ( )

Definition at line 88 of file standalone.cxx.

◆ SetupReconstruction()

int32_t SetupReconstruction ( )

Definition at line 284 of file standalone.cxx.

◆ unique_ptr_aligned_delete()

void unique_ptr_aligned_delete ( char v)

Definition at line 75 of file standalone.cxx.

Variable Documentation

◆ chainITS

GPUChainITS* chainITS

Definition at line 74 of file standalone.cxx.

◆ chainITSAsync

GPUChainITS * chainITSAsync

Definition at line 74 of file standalone.cxx.

◆ chainITSPipeline

GPUChainITS * chainITSPipeline

Definition at line 74 of file standalone.cxx.

◆ chainTracking

GPUChainTracking* chainTracking

Definition at line 73 of file standalone.cxx.

◆ chainTrackingAsync

GPUChainTracking * chainTrackingAsync

Definition at line 73 of file standalone.cxx.

◆ chainTrackingPipeline

GPUChainTracking * chainTrackingPipeline

Definition at line 73 of file standalone.cxx.

◆ eventDisplay

std::unique_ptr<GPUDisplayFrontendInterface> eventDisplay

Definition at line 80 of file standalone.cxx.

◆ ioMemEvents

std::vector<GPUChainTracking::InOutMemory> ioMemEvents

Definition at line 86 of file standalone.cxx.

◆ ioPtrEvents

std::vector<GPUTrackingInOutPointers> ioPtrEvents

Definition at line 85 of file standalone.cxx.

◆ nEventsInDirectory

int32_t nEventsInDirectory = 0

Definition at line 82 of file standalone.cxx.

◆ nIteration

std::atomic<uint32_t> nIteration

Definition at line 83 of file standalone.cxx.

◆ nIterationEnd

std::atomic<uint32_t> nIterationEnd

Definition at line 83 of file standalone.cxx.

◆ rec

Definition at line 72 of file standalone.cxx.

◆ recAsync

GPUReconstruction * recAsync

Definition at line 72 of file standalone.cxx.

◆ recPipeline

GPUReconstruction * recPipeline

Definition at line 72 of file standalone.cxx.

◆ tf

std::unique_ptr<GPUReconstructionTimeframe> tf

Definition at line 81 of file standalone.cxx.