FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Member Functions | Public Attributes | Friends | List of all members
TensorDeviceState Struct Reference

Public Member Functions

void setSize (size_t _particleNum, RefPtr< BoundingBox > bb, float radius)
 icl_kernel *hashKernelDouble; icl_kernel *startEndKernelDouble; icl_kernel *tensorKernelDouble;
 
void setupDeviceContext ()
 
void sorting (icl_buffer *d_DstKey, icl_buffer *d_DstVal, icl_buffer *d_SrcKey, icl_buffer *d_SrcVal, uint batch, uint arrayLength, uint dir)
 
void setupKernel (bool _relaxedMath, bool _useFloat)
 
void setupBuffer (size_t _particleNum, RefPtr< BoundingBox > bb, float _radius)
 
void writeFragment (float *)
 
void compute ()
 
void readFragment (float *)
 
void displayFragment ()
 
 TensorDeviceState (unsigned _deviceId)
 

Public Attributes

double kernelTime
 
double overallTime
 
Timer time
 

Friends

ostream & operator<< (std::ostream &out, const TensorDeviceState &t)
 

Member Function Documentation

◆ compute()

void TensorDeviceState::compute ( )

clFinish(tensorState->device->queue);

References std::cout, and std::endl().