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