SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
OclEngine< T > Class Template Reference

OpenCL base class template used in other SICAK plugins. More...

#include <oclengine.hpp>

Collaboration diagram for OclEngine< T >:
Collaboration graph

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
 

Detailed Description

template<class T>
class OclEngine< T >

OpenCL base class template used in other SICAK plugins.


The documentation for this class was generated from the following file: