linbox
Namespaces | Functions
opencl-resource-controller.h File Reference
#include <pthread.h>
#include <algorithm>
#include <istream>
#include <iterator>
#include <map>
#include <sstream>
#include <string>
#include <vector>
#include <CL/cl.h>
#include "opencl-environ.h"
+ Include dependency graph for opencl-resource-controller.h:

Namespaces

 LinBox
 Namespace in which all linbox code resides.
 

Functions

std::vector< cl_platform_id > enumPlatforms ()
 Enumerate all of the platforms currently available on the system.
 
std::string getPlatformName (cl_platform_id platform)
 Get the platform name associated with the platform.
 
double getPlatformVersion (cl_platform_id platform)
 Get the platform version associated with the platform.
 
std::vector< std::string > getPlatformExtensions (cl_platform_id platform)
 Get the platform extensions associated with the platform.
 
std::vector< cl_device_id > enumDevices (cl_platform_id platform)
 Enumerate all of the devices currently available on the platform.
 
cl_context createContext (cl_platform_id platform, cl_device_id device)
 Create an OpenCL context from a platfrom and device.