CUDPP 1.1.1
|
Singleton manager class for CUDPPPlan objects. More...
#include <cudpp_plan_manager.h>
Static Public Member Functions | |
static CUDPPHandle | AddPlan (CUDPPPlan *plan) |
Add a plan to the plan manager. | |
static bool | RemovePlan (CUDPPHandle handle) |
Remove a plan from the plan manager. | |
static CUDPPPlan * | GetPlan (CUDPPHandle handle) |
Get a plan from the plan manager by handle. |
Singleton manager class for CUDPPPlan objects.
This class manages all active plans in CUDPP. It is a singleton class, meaning that only one instance can exist. It is created automatically the first time AddPlan() is called, and destroyed when the last plan is removed using RemovePlan().
CUDPPHandle CUDPPPlanManager::AddPlan | ( | CUDPPPlan * | plan | ) | [static] |
Add a plan to the plan manager.
[in] | plan | The plan to add |
bool CUDPPPlanManager::RemovePlan | ( | CUDPPHandle | handle | ) | [static] |
Remove a plan from the plan manager.
[in] | handle | The handle to the plan to remove |
CUDPPPlan * CUDPPPlanManager::GetPlan | ( | CUDPPHandle | handle | ) | [static] |
Get a plan from the plan manager by handle.
handle | The handle to the requested plan |