check transfer
0.1
Check data transfer for SDAccell OpenCL application
|
< 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_Device * | pDevice |
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... | |
< Internal data for TF_CheckTransferOut
Definition at line 17 of file tf_checktransferout.cpp.
|
inline |
Definition at line 72 of file tf_checktransferout.cpp.
|
inline |
Definition at line 109 of file tf_checktransferout.cpp.
cl_ulong8 TF_CheckTransferOut_task_data::arrayExpect |
expect values for data block
Definition at line 70 of file tf_checktransferout.cpp.
cl_uint TF_CheckTransferOut_task_data::BlockError |
Count of incorrect blocks.
Definition at line 23 of file tf_checktransferout.cpp.
Referenced by TF_CheckTransferOut::CheckBuffer(), TF_CheckTransferOut::GetResultInThread(), TF_CheckTransferOut::GetStatus(), and TF_CheckTransferOut::StepTable().
cl_uint TF_CheckTransferOut_task_data::BlockOk |
Count of correct blocks.
Definition at line 22 of file tf_checktransferout.cpp.
Referenced by TF_CheckTransferOut::CheckBuffer(), TF_CheckTransferOut::GetResultInThread(), TF_CheckTransferOut::GetStatus(), and TF_CheckTransferOut::StepTable().
cl_uint TF_CheckTransferOut_task_data::BlockRd |
Count of read blocks.
Definition at line 21 of file tf_checktransferout.cpp.
Referenced by TF_CheckTransferOut::GetResultInThread(), TF_CheckTransferOut::GetStatus(), and TF_CheckTransferOut::StepTable().
cl_uint TF_CheckTransferOut_task_data::BlockWr |
Count of written blocks.
Definition at line 20 of file tf_checktransferout.cpp.
Referenced by TF_CheckTransferOut::GetResultInThread(), TF_CheckTransferOut::Run(), TF_CheckTransferOut::StartWriteBuf(), and TF_CheckTransferOut::StepTable().
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().
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().
std::string TF_CheckTransferOut_task_data::deviceName |
OpenCL device name.
Definition at line 58 of file tf_checktransferout.cpp.
cl::Buffer* TF_CheckTransferOut_task_data::dpStatus |
pointer to status buffer in the device memory
Definition at line 64 of file tf_checktransferout.cpp.
Referenced by TF_CheckTransferOut::GetStatus(), TF_CheckTransferOut::PrepareInThread(), TF_CheckTransferOut::StartCalculateBuf(), and TF_CheckTransferOut::~TF_CheckTransferOut().
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().
char* TF_CheckTransferOut_task_data::kernelName |
kernel name
Definition at line 48 of file tf_checktransferout.cpp.
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().
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().
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().
clock_t TF_CheckTransferOut_task_data::lastTick |
Number of last clock()
Definition at line 37 of file tf_checktransferout.cpp.
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().
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().
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().
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().
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().
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().
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().
cl::CommandQueue* TF_CheckTransferOut_task_data::q0 |
Pointer to OpenCL command queue.
Definition at line 55 of file tf_checktransferout.cpp.
Referenced by TF_CheckTransferOut::CleanupInThread(), TF_CheckTransferOut::GetStatus(), TF_CheckTransferOut::PrepareInThread(), and TF_CheckTransferOut::StartWriteBuf().
cl::CommandQueue* TF_CheckTransferOut_task_data::q1 |
Pointer to OpenCL command queue.
Definition at line 56 of file tf_checktransferout.cpp.
Referenced by TF_CheckTransferOut::CleanupInThread(), TF_CheckTransferOut::PrepareInThread(), and TF_CheckTransferOut::StartCalculateBuf().
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().
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().
cl_uint TF_CheckTransferOut_task_data::sizeBlock |
Size of block [bytes].
Definition at line 24 of file tf_checktransferout.cpp.
Referenced by TF_CheckTransferOut::CheckBuffer(), TF_CheckTransferOut::GetResultInThread(), TF_CheckTransferOut::PrepareInThread(), TF_CheckTransferOut::Run(), TF_CheckTransferOut::SetBuffer(), TF_CheckTransferOut::StartWriteBuf(), and TF_CheckTransferOut::TF_CheckTransferOut().
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().
clock_t TF_CheckTransferOut_task_data::startTick |
Number of start clock();.
Definition at line 36 of file tf_checktransferout.cpp.
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().
float TF_CheckTransferOut_task_data::testTime |
Time from test start.
Definition at line 39 of file tf_checktransferout.cpp.
Referenced by TF_CheckTransferOut::GetResultInThread(), TF_CheckTransferOut::Run(), and TF_CheckTransferOut::StepTable().
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().
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().
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().
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().