SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
|
OpenCL base class template used in other SICAK plugins. More...
#include <oclengine.hpp>
Public Member Functions | |
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. | |
Static Public Member Functions | |
static std::string | queryDevices () |
Query available platforms and devices. | |
static void | trimWS (std::string &str) |
Trims white space from string. | |
Protected Attributes | |
unsigned int | m_platform |
unsigned int | m_device |
cl_context | m_context |
cl_command_queue | m_command_queue |
cl_platform_id * | m_platforms |
cl_device_id * | m_devices |
OpenCL base class template used in other SICAK plugins.