|
GCVL
Multi-platform (Windows, Unix and Mac OS) C++/OpenCL/CUDA library with several Computer Vision algorithms.
|
#include <oclcore.h>
Public Member Functions | |
| Core () | |
| Default constructor. | |
| Core (std::string platform, bool locking) | |
| Class constructor. | |
| ~Core () | |
| Class destructor. | |
| const std::string & | getPlatform () |
| Obtains the associated platform. | |
| const cl_context & | getContext () |
| Obtains the associated context. | |
| const cl_device_id & | getDevice () |
| Obtains the associated device id. | |
| const cl_command_queue & | getQueue () |
| Obtains the associated command queue. | |
| const void | waitForQueue () |
| Function that waits for the command queue to finish all tasks. | |
| const void | printInfo () |
| Function that prints information about the available platforms. | |
| Core::Core | ( | ) |
Default constructor.
| Core::Core | ( | std::string | platform, |
| bool | locking | ||
| ) |
Class constructor.
| platform | desired platform in which to create the context, nvidia, amd, intel or apple. |
| inputLeft | path to the left input image. |
| Core::~Core | ( | ) |
Class destructor.
| const cl_context& gcvl::opencl::Core::getContext | ( | ) | [inline] |
Obtains the associated context.
| const cl_device_id& gcvl::opencl::Core::getDevice | ( | ) | [inline] |
Obtains the associated device id.
| const std::string& gcvl::opencl::Core::getPlatform | ( | ) | [inline] |
Obtains the associated platform.
| const cl_command_queue& gcvl::opencl::Core::getQueue | ( | ) | [inline] |
Obtains the associated command queue.
| const void gcvl::opencl::Core::printInfo | ( | ) | [inline] |
Function that prints information about the available platforms.
| const void gcvl::opencl::Core::waitForQueue | ( | ) | [inline] |
Function that waits for the command queue to finish all tasks.