check transfer  0.1
Check data transfer for SDAccell OpenCL application
Public Member Functions | Public Attributes | List of all members
TF_CheckTransferOut_task_data Struct Reference

< Internal data for TF_CheckTransferOut More...

Public Member Functions

 TF_CheckTransferOut_task_data ()
 
 ~TF_CheckTransferOut_task_data ()
 

Public Attributes

cl_ulong8 arrayExpect
 expect values for data block More...
 
cl_uint BlockError
 Count of incorrect blocks. More...
 
cl_uint BlockOk
 Count of correct blocks. More...
 
cl_uint BlockRd
 Count of read blocks. More...
 
cl_uint BlockWr
 Count of written blocks. More...
 
cl_ulong dataExpect
 expect data from input More...
 
cl_ulong dataOut
 current data for output More...
 
std::string deviceName
 OpenCL device name. More...
 
cl::Buffer * dpStatus
 pointer to status buffer in the device memory More...
 
cl_ulong flagGetStatus
 1 - request for get status information More...
 
char * kernelName
 kernel name More...
 
cl::Kernel krnl_calculate
 OpenCL kernel for calculate. More...
 
cl::Kernel krnl_read
 OpenCL kernel for read data. More...
 
cl_uint lastBlock
 Number BlockWr for lastTick. More...
 
clock_t lastTick
 Number of last clock() More...
 
time_t lastTime
 time of last interval More...
 
cl_uint mbSize
 bytes count in 1MB More...
 
cl_uint metricMode
 0 - binary: 1MB=2^10 bytes, 1 - decimal: 1MB=10^6 bytes More...
 
cl::Buffer * pBuffer [2]
 pointers to buffers in the device memory More...
 
cl_uint * pBufOut [2]
 pointers to buffers in the host memory More...
 
TF_DevicepDevice
 OpenCL device and program. More...
 
cl_uint * pStatus
 pointer to status buffer in the host memory More...
 
cl::CommandQueue * q0
 Pointer to OpenCL command queue. More...
 
cl::CommandQueue * q1
 Pointer to OpenCL command queue. More...
 
cl_uint RowNumber
 Number of first row in the table. More...
 
cl_uint Sig
 Signature for status buffer. More...
 
cl_uint sizeBlock
 Size of block [bytes]. More...
 
cl_int sizeOfuint16
 Size of block in 512-bit words. More...
 
clock_t startTick
 Number of start clock();. More...
 
time_t startTime
 time of start main test cycle More...
 
float testTime
 Time from test start. More...
 
float VelocityAverage
 average speed (from test start) More...
 
float VelocityCurMax
 maximum of VelocityCurrent More...
 
float VelocityCurMin
 minimum of VelocityCurrent More...
 
float VelocityCurrent
 current speed (on 4 secund interval) More...
 

Detailed Description

< Internal data for TF_CheckTransferOut

Definition at line 17 of file tf_checktransferout.cpp.

Constructor & Destructor Documentation

◆ TF_CheckTransferOut_task_data()

TF_CheckTransferOut_task_data::TF_CheckTransferOut_task_data ( )
inline

Definition at line 72 of file tf_checktransferout.cpp.

73  {
74  BlockWr=0;
75  BlockRd=0;
76  BlockOk=0;
77  BlockError=0;
78  RowNumber=0;
79 
80  lastBlock = 0;
81  testTime = 0;
82 
83  dataOut=dataExpect=0xA0000000;
84 
85  kernelName = "check_cnt_m2a";
86 
87 
88  pBufOut[0]=NULL;
89  pBufOut[1]=NULL;
90 
91  pBuffer[0]=NULL;
92  pBuffer[1]=NULL;
93 
94  pStatus = NULL;
95  dpStatus = NULL;
96 
97  q0=NULL;
98  q1=NULL;
99 
100  flagGetStatus=0;
101  VelocityCurMax=0;
102  VelocityCurMin=0;
103  VelocityAverage=0;
104  VelocityCurrent=0;
105 
106  sizeOfuint16=0;
107  };
cl_uint * pBufOut[2]
pointers to buffers in the host memory
float VelocityCurMin
minimum of VelocityCurrent
cl::CommandQueue * q0
Pointer to OpenCL command queue.
float VelocityAverage
average speed (from test start)
cl_uint BlockWr
Count of written blocks.
cl_uint * pStatus
pointer to status buffer in the host memory
cl_uint BlockRd
Count of read blocks.
float VelocityCurrent
current speed (on 4 secund interval)
cl::Buffer * pBuffer[2]
pointers to buffers in the device memory
cl_uint lastBlock
Number BlockWr for lastTick.
cl_int sizeOfuint16
Size of block in 512-bit words.
cl_ulong dataOut
current data for output
float VelocityCurMax
maximum of VelocityCurrent
cl_uint BlockError
Count of incorrect blocks.
cl_ulong dataExpect
expect data from input
cl_ulong flagGetStatus
1 - request for get status information
cl_uint BlockOk
Count of correct blocks.
cl::Buffer * dpStatus
pointer to status buffer in the device memory
cl::CommandQueue * q1
Pointer to OpenCL command queue.
cl_uint RowNumber
Number of first row in the table.
float testTime
Time from test start.

◆ ~TF_CheckTransferOut_task_data()

TF_CheckTransferOut_task_data::~TF_CheckTransferOut_task_data ( )
inline

Definition at line 109 of file tf_checktransferout.cpp.

110  {
111  }

Member Data Documentation

◆ arrayExpect

cl_ulong8 TF_CheckTransferOut_task_data::arrayExpect

expect values for data block

Definition at line 70 of file tf_checktransferout.cpp.

◆ BlockError

cl_uint TF_CheckTransferOut_task_data::BlockError

◆ BlockOk

cl_uint TF_CheckTransferOut_task_data::BlockOk

◆ BlockRd

cl_uint TF_CheckTransferOut_task_data::BlockRd

◆ BlockWr

cl_uint TF_CheckTransferOut_task_data::BlockWr

◆ dataExpect

cl_ulong TF_CheckTransferOut_task_data::dataExpect

expect data from input

Definition at line 46 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::CheckBuffer().

◆ dataOut

cl_ulong TF_CheckTransferOut_task_data::dataOut

current data for output

Definition at line 45 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::PrepareInThread(), and TF_CheckTransferOut::SetBuffer().

◆ deviceName

std::string TF_CheckTransferOut_task_data::deviceName

OpenCL device name.

Definition at line 58 of file tf_checktransferout.cpp.

◆ dpStatus

cl::Buffer* TF_CheckTransferOut_task_data::dpStatus

◆ flagGetStatus

cl_ulong TF_CheckTransferOut_task_data::flagGetStatus

1 - request for get status information

Definition at line 68 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::Run(), and TF_CheckTransferOut::StepTable().

◆ kernelName

char* TF_CheckTransferOut_task_data::kernelName

kernel name

Definition at line 48 of file tf_checktransferout.cpp.

◆ krnl_calculate

cl::Kernel TF_CheckTransferOut_task_data::krnl_calculate

OpenCL kernel for calculate.

Definition at line 53 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::PrepareInThread(), and TF_CheckTransferOut::StartCalculateBuf().

◆ krnl_read

cl::Kernel TF_CheckTransferOut_task_data::krnl_read

OpenCL kernel for read data.

Definition at line 52 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::PrepareInThread(), and TF_CheckTransferOut::StartCalculateBuf().

◆ lastBlock

cl_uint TF_CheckTransferOut_task_data::lastBlock

Number BlockWr for lastTick.

Definition at line 38 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::Run().

◆ lastTick

clock_t TF_CheckTransferOut_task_data::lastTick

Number of last clock()

Definition at line 37 of file tf_checktransferout.cpp.

◆ lastTime

time_t TF_CheckTransferOut_task_data::lastTime

time of last interval

Definition at line 43 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::Run().

◆ mbSize

cl_uint TF_CheckTransferOut_task_data::mbSize

bytes count in 1MB

Definition at line 34 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::Run(), and TF_CheckTransferOut::TF_CheckTransferOut().

◆ metricMode

cl_uint TF_CheckTransferOut_task_data::metricMode

0 - binary: 1MB=2^10 bytes, 1 - decimal: 1MB=10^6 bytes

Definition at line 33 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::GetResultInThread(), and TF_CheckTransferOut::TF_CheckTransferOut().

◆ pBuffer

cl::Buffer* TF_CheckTransferOut_task_data::pBuffer[2]

pointers to buffers in the device memory

Definition at line 62 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::PrepareInThread(), TF_CheckTransferOut::Run(), and TF_CheckTransferOut::~TF_CheckTransferOut().

◆ pBufOut

cl_uint* TF_CheckTransferOut_task_data::pBufOut[2]

pointers to buffers in the host memory

Definition at line 60 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::PrepareInThread(), TF_CheckTransferOut::Run(), and TF_CheckTransferOut::~TF_CheckTransferOut().

◆ pDevice

TF_Device* TF_CheckTransferOut_task_data::pDevice

OpenCL device and program.

Definition at line 50 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::PrepareInThread(), and TF_CheckTransferOut::TF_CheckTransferOut().

◆ pStatus

cl_uint* TF_CheckTransferOut_task_data::pStatus

pointer to status buffer in the host memory

Definition at line 66 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::GetStatus(), TF_CheckTransferOut::PrepareInThread(), and TF_CheckTransferOut::~TF_CheckTransferOut().

◆ q0

cl::CommandQueue* TF_CheckTransferOut_task_data::q0

◆ q1

cl::CommandQueue* TF_CheckTransferOut_task_data::q1

◆ RowNumber

cl_uint TF_CheckTransferOut_task_data::RowNumber

Number of first row in the table.

Definition at line 19 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::Run(), and TF_CheckTransferOut::StepTable().

◆ Sig

cl_uint TF_CheckTransferOut_task_data::Sig

Signature for status buffer.

Definition at line 26 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::GetResultInThread(), and TF_CheckTransferOut::GetStatus().

◆ sizeBlock

cl_uint TF_CheckTransferOut_task_data::sizeBlock

◆ sizeOfuint16

cl_int TF_CheckTransferOut_task_data::sizeOfuint16

Size of block in 512-bit words.

Definition at line 25 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::PrepareInThread(), and TF_CheckTransferOut::StartCalculateBuf().

◆ startTick

clock_t TF_CheckTransferOut_task_data::startTick

Number of start clock();.

Definition at line 36 of file tf_checktransferout.cpp.

◆ startTime

time_t TF_CheckTransferOut_task_data::startTime

time of start main test cycle

Definition at line 42 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::Run().

◆ testTime

float TF_CheckTransferOut_task_data::testTime

◆ VelocityAverage

float TF_CheckTransferOut_task_data::VelocityAverage

average speed (from test start)

Definition at line 28 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::GetResultInThread(), TF_CheckTransferOut::Run(), and TF_CheckTransferOut::StepTable().

◆ VelocityCurMax

float TF_CheckTransferOut_task_data::VelocityCurMax

maximum of VelocityCurrent

Definition at line 30 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::GetResultInThread(), and TF_CheckTransferOut::Run().

◆ VelocityCurMin

float TF_CheckTransferOut_task_data::VelocityCurMin

minimum of VelocityCurrent

Definition at line 31 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::GetResultInThread(), and TF_CheckTransferOut::Run().

◆ VelocityCurrent

float TF_CheckTransferOut_task_data::VelocityCurrent

current speed (on 4 secund interval)

Definition at line 27 of file tf_checktransferout.cpp.

Referenced by TF_CheckTransferOut::Run(), and TF_CheckTransferOut::StepTable().


The documentation for this struct was generated from the following file: