#include <OCLManager.hpp>
◆ OCLManager()
◆ ~OCLManager()
sgpp::base::OCLManager::~OCLManager |
( |
| ) |
|
◆ buildKernel()
void sgpp::base::OCLManager::buildKernel |
( |
const std::string & |
program_src, |
|
|
const char * |
kernel_name, |
|
|
cl_context |
context, |
|
|
size_t |
num_devices, |
|
|
cl_device_id * |
device_ids, |
|
|
cl_kernel * |
kernel |
|
) |
| |
buildKernel builds the program that is represented by program_src and creates num_devices kernel objects that are stored into the array kernel (must be already allocated with at least num_devices )
- Parameters
-
program_src | the source of the program to compile |
kernel_name | name of the kernel function (in program_src) to create the kernel for |
context | OpenCL context |
num_devices | number of OpenCL devices |
device_ids | array with device ids, necessary for displaying build info |
kernel | already allocated array: the resulting kernels are put into this array, one for each device (=> at least num_devices entries) |
- Returns
References python.statsfileInfo::i, num_devices, parameters, and verbose.
◆ command_queue
cl_command_queue* sgpp::base::OCLManager::command_queue |
◆ context
cl_context sgpp::base::OCLManager::context |
◆ device_ids
cl_device_id* sgpp::base::OCLManager::device_ids |
◆ num_devices
cl_uint sgpp::base::OCLManager::num_devices |
◆ num_platforms
cl_uint sgpp::base::OCLManager::num_platforms |
◆ parameters
◆ platform_id
cl_platform_id sgpp::base::OCLManager::platform_id |
◆ platform_ids
cl_platform_id* sgpp::base::OCLManager::platform_ids |
◆ verbose
bool sgpp::base::OCLManager::verbose |
Referenced by python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast::addFullGridPoints(), buildKernel(), python.uq.refinement.RefinementManager.RefinementManager::candidates(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates::computeCandidates(), python.uq.operations.forcePositivity.findIntersections.IntersectionCandidates::findIntersections(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates::getLocalMaxLevel(), python.uq.manager.ASGCUQManager.ASGCUQManager::learnDataWithoutTest(), python.uq.manager.ASGCUQManager.ASGCUQManager::learnDataWithTest(), python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive::makeCurrentNodalValuesPositive(), python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive::makePositive(), python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast::makePositive(), OCLManager(), python.uq.manager.ASGCUQManager.ASGCUQManager::recomputeStats(), python.uq.refinement.RefinementManager.RefinementManager::refineGrid(), and python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates::splitFullGrids().
The documentation for this class was generated from the following files: