SkePU  1.2
 All Classes Namespaces Files Functions Variables Enumerations Friends Macros Groups Pages
Namespaces | Functions
skepu_opencl_helpers.h File Reference

Contains the definitions of some helper functions related to OpenCL backend. More...

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "device_cl.h"
Include dependency graph for skepu_opencl_helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 skepu
 The main namespace for SkePU library.
 

Functions

template<typename T >
void skepu::ExecuteReduceOnADevice (size_t n, const size_t &numThreads, const size_t &numBlocks, _cl_mem *&in_p, _cl_mem *&out_p, cl_kernel &kernel, Device_CL *device)
 
void skepu::replaceTextInString (std::string &text, std::string find, std::string replace)
 
void skepu::printCLError (cl_int Err, std::string s=std::string())
 

Detailed Description

Contains the definitions of some helper functions related to OpenCL backend.