Column-oriented GPU-accelerated Database Management System
CoGaDB
hype::core::DeviceConstraint Struct Reference

A DeviceConstraint restricts the type of processing device, which HyPE may choose to process an operator. More...

#include <specification.hpp>

List of all members.

Public Member Functions

 DeviceConstraint (DeviceTypeConstraint dev_constr=ANY_DEVICE, ProcessingDeviceMemoryID pd_mem_constr=PD_Memory_0)
 constructs an DeviceConstraint object by assigning necessary informations to all fields of the object
DeviceTypeConstraint getDeviceTypeConstraint () const
 returns the DeviceTypeConstraint
 operator DeviceTypeConstraint ()
 implicit conversion to an object of type DeviceTypeConstraint
 operator ProcessingDeviceMemoryID ()
 implicit conversion to an object of type ProcessingDeviceMemoryID
 operator DeviceTypeConstraint () const
 implicit conversion to an object of type DeviceTypeConstraint
 operator ProcessingDeviceMemoryID () const
 implicit conversion to an object of type ProcessingDeviceMemoryID

Private Attributes

DeviceTypeConstraint dev_constr_
 the device type constraint
ProcessingDeviceMemoryID pd_mem_constr_
 the memory id of the memory, where the data should be processed

Detailed Description

A DeviceConstraint restricts the type of processing device, which HyPE may choose to process an operator.

This is especially important if an algorithms does not support a certain data type on a certain processing device (e.g., no filter operations on an array of strings on the GPU). On default construction, no constraint is defined.

Author:
Sebastian Breß
Version:
0.2
Date:
2013

Constructor & Destructor Documentation

constructs an DeviceConstraint object by assigning necessary informations to all fields of the object

Parameters:
dev_constra device type constraint (e.g., CPU_ONLY or ANY_DEVICE for now restriction)
pd_mem_constrmemory id, where the data should be stored when processed (experimental)

Member Function Documentation

hype::core::DeviceConstraint::operator DeviceTypeConstraint ( )

implicit conversion to an object of type DeviceTypeConstraint

non-const version

hype::core::DeviceConstraint::operator DeviceTypeConstraint ( ) const

implicit conversion to an object of type DeviceTypeConstraint

const version

hype::core::DeviceConstraint::operator ProcessingDeviceMemoryID ( )

implicit conversion to an object of type ProcessingDeviceMemoryID

non-const version

hype::core::DeviceConstraint::operator ProcessingDeviceMemoryID ( ) const

implicit conversion to an object of type ProcessingDeviceMemoryID

const version


Member Data Documentation

the memory id of the memory, where the data should be processed


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines