Bolt  1.3
C++ template library with support for OpenCL
Namespaces | Macros | Functions
bolt.h File Reference

Define global functions for Bolt AMP. More...

#include <amp.h>
#include <string>
#include <map>
#include "bolt/boltVersion.h"
#include "bolt/amp/control.h"

Go to the source code of this file.

Namespaces

namespace  bolt
 Defining namespace for the Bolt project.
 
namespace  bolt::amp
 Namespace containing AMP related data types and functions.
 

Macros

#define BOLT_AMP_BOLT_H
 
#define PUSH_BACK_UNIQUE(CONTAINER, ELEMENT)
 
#define ALIGNED(bound)   __attribute__ ( (aligned( bound ) ) )
 

Functions

void bolt::amp::getVersion (unsigned int &major, unsigned int &minor, unsigned int &patch)
 Query the Bolt library for version information.
 

Detailed Description

Define global functions for Bolt AMP.

Macro Definition Documentation

#define PUSH_BACK_UNIQUE (   CONTAINER,
  ELEMENT 
)
Value:
if (std::find(CONTAINER.begin(), CONTAINER.end(), ELEMENT) == CONTAINER.end()) \
CONTAINER.push_back(ELEMENT);