Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
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

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

Member Function Documentation

◆ compute()

void TensorDeviceState::compute ( )

clFinish(tensorState->device->queue);

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