1 #ifndef TF_CHECKTRANSFEROUT_H 2 #define TF_CHECKTRANSFEROUT_H 50 void StartWriteBuf( cl::Buffer *pDevice, cl_uint *pHost, cl::Event &event );
61 #endif // TF_CHECKTRANSFEROUT_H
virtual void PrepareInThread()
Prepare test.
virtual void CleanupInThread()
Free any resource.
virtual void StepTable()
Show table during test executing.
~TF_CheckTransferOut()
Destructor.
void CheckBuffer(cl_uint *ptr)
check data in the buffer
Base class for application with thread.
virtual void Run()
Main body of test.
virtual void GetResultInThread()
Show results of test.
void GetStatus(void)
Read status information from device.
common data for OpenCL device
TF_CheckTransferOut_task_data * td
< Internal data for TF_CheckTransferOut
void SetBuffer(cl_uint *ptr)
set test data in buffer buffer
check data transfer from device to host
TF_CheckTransferOut(TableEngine *pTable, TF_Device *pDevice, int argc, char **argv)
Constructor.
void WaitForCalculateComplete(cl::Event &event)
Wait for complete calculate.
< Internal data for TF_CheckTransferOut
void WaitForTransferBufComplete(cl::Event &event)
Wait for complete data transfer.
void StartWriteBuf(cl::Buffer *pDevice, cl_uint *pHost, cl::Event &event)
Start data transfer.
void StartCalculateBuf(cl::Buffer *pDevice, cl::Event &event)
Start kernel for buffer.