|
| OclCpaEngine (unsigned int platform, unsigned int device, unsigned int samplesPerTrace, unsigned int noOfCandidates, unsigned int noOfTraces) |
| Initialize given platform and device, create command queue and allocate device memory buffers.
|
|
void | buildProgram () |
| Build the OpenCL kernels.
|
|
void | loadPredictionsToDevice (const PowerPredictions< Tp > &pp, bool blocking=false) |
| Load power predictions from local memory to device buffers.
|
|
void | loadTracesToDevice (const PowerTraces< Tt > &pt, bool blocking=false) |
| Load power traces from local memory to device buffers.
|
|
void | compute (UnivariateContext< Tc > &context, unsigned int sliceSize) |
| Launch the computation kernel, divide the work by sliceSize (long running GPU kernel is not good), return result in UnivariateContext context.
|
|
| OclEngine (unsigned int platform, unsigned int device) |
| Initializes the specified OpenCL device and creates an OpenCL command queue.
|
|
std::string | getTypeName (float dummy) |
| Returns the data type name.
|
|
std::string | getTypeName (double dummy) |
| Returns the data type name.
|
|
std::string | getTypeName (int8_t dummy) |
| Returns the data type name.
|
|
std::string | getTypeName (uint8_t dummy) |
| Returns the data type name.
|
|
std::string | getTypeName (int16_t dummy) |
| Returns the data type name.
|
|
std::string | getTypeName (uint16_t dummy) |
| Returns the data type name.
|
|
std::string | getTypeName (int32_t dummy) |
| Returns the data type name.
|
|
std::string | getTypeName (uint32_t dummy) |
| Returns the data type name.
|
|
std::string | getTypeName (int64_t dummy) |
| Returns the data type name.
|
|
std::string | getTypeName (uint64_t dummy) |
| Returns the data type name.
|
|