|
VexCL
|
VexCL context holder. More...
#include <devlist.hpp>
Public Member Functions | |
| template<class DevFilter > | |
| Context (DevFilter filter, cl_command_queue_properties properties=0) | |
| Initialize context from a device filter. | |
| Context (const std::vector< std::pair< cl::Context, cl::CommandQueue >> &user_ctx) | |
| Initializes context from user-supplied list of cl::Contexts and cl::CommandQueues. | |
| const std::vector< cl::Context > & | context () const |
| const cl::Context & | context (uint d) const |
|
const std::vector < cl::CommandQueue > & | queue () const |
| operator const std::vector< cl::CommandQueue > & () const | |
| const cl::CommandQueue & | queue (uint d) const |
| cl::Device | device (uint d) const |
| size_t | size () const |
| bool | empty () const |
| operator bool () const | |
VexCL context holder.
Holds vectors of cl::Contexts and cl::CommandQueues returned by queue_list.
1.8.3.1