vSMC
vSMC: Scalable Monte Carlo
Classes | Namespaces | Macros
cl_manager.hpp File Reference
#include <vsmc/internal/common.hpp>
#include <vsmc/opencl/cl_setup.hpp>
#include <vsmc/opencl/cl_manip.hpp>
#include <vsmc/opencl/cl_query.hpp>
#include <vsmc/opencl/internal/cl_wrapper.hpp>
#include <vsmc/utility/stop_watch.hpp>

Go to the source code of this file.

Classes

class  vsmc::CLManager< ID >
 OpenCL Manager. More...
 

Namespaces

 vsmc
 

Macros

#define VSMC_RUNTIME_ASSERT_OPENCL_CL_MANAGER_SETUP(func)
 
#define VSMC_RUNTIME_WARNING_OPENCL_CL_MANAGER_BLOCK(func, block, event)
 
#define VSMC_RUNTIME_WARNING_OPENCL_CL_MANAGER_SETUP_COMMAND_QUEUE
 
#define VSMC_RUNTIME_WARNING_OPENCL_CL_MANAGER_SETUP_CONTEXT
 
#define VSMC_RUNTIME_WARNING_OPENCL_CL_MANAGER_SETUP_DEVICE
 
#define VSMC_RUNTIME_WARNING_OPENCL_CL_MANAGER_SETUP_PLATFORM
 

Macro Definition Documentation

#define VSMC_RUNTIME_ASSERT_OPENCL_CL_MANAGER_SETUP (   func)
Value:
VSMC_RUNTIME_ASSERT((setup()), \
("**CLManager::"#func"** CAN ONLY BE CALLED AFTER TRUE " \
"**CLManager::setup**"));
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:64

Definition at line 42 of file cl_manager.hpp.

#define VSMC_RUNTIME_WARNING_OPENCL_CL_MANAGER_BLOCK (   func,
  block,
  event 
)
Value:
VSMC_RUNTIME_WARNING((block || event != VSMC_NULLPTR), \
("**CLManager::"#func" NOT BLOCKING BUT WITH NULL EVENT"))
#define VSMC_NULLPTR
nullptr
Definition: defines.hpp:79
#define VSMC_RUNTIME_WARNING(cond, msg)
Definition: assert.hpp:84

Definition at line 63 of file cl_manager.hpp.

#define VSMC_RUNTIME_WARNING_OPENCL_CL_MANAGER_SETUP_COMMAND_QUEUE
Value:
VSMC_RUNTIME_WARNING(setup_command_queue, \
("**CLManager::setup** FAILED TO SETUP A COMMAND_QUEUE"));
#define VSMC_RUNTIME_WARNING(cond, msg)
Definition: assert.hpp:84

Definition at line 59 of file cl_manager.hpp.

#define VSMC_RUNTIME_WARNING_OPENCL_CL_MANAGER_SETUP_CONTEXT
Value:
VSMC_RUNTIME_WARNING(setup_context, \
("**CLManager::setup** FAILED TO SETUP A CONTEXT"));
#define VSMC_RUNTIME_WARNING(cond, msg)
Definition: assert.hpp:84

Definition at line 51 of file cl_manager.hpp.

#define VSMC_RUNTIME_WARNING_OPENCL_CL_MANAGER_SETUP_DEVICE
Value:
VSMC_RUNTIME_WARNING(setup_device, \
("**CLManager::setup** FAILED TO SETUP A DEVICE"));
#define VSMC_RUNTIME_WARNING(cond, msg)
Definition: assert.hpp:84

Definition at line 55 of file cl_manager.hpp.

#define VSMC_RUNTIME_WARNING_OPENCL_CL_MANAGER_SETUP_PLATFORM
Value:
VSMC_RUNTIME_WARNING(setup_platform, \
("**CLManager::setup** FAILED TO SETUP A PLATFORM"));
#define VSMC_RUNTIME_WARNING(cond, msg)
Definition: assert.hpp:84

Definition at line 47 of file cl_manager.hpp.