DLPrimitives
Public Member Functions | Static Public Member Functions | List of all members
dlprim::gpu::Cache Class Reference

Public Member Functions

template<typename Val , typename... Args>
cl::Program const & get_program (Context &ctx, std::string const &source, std::string const &n1, Val const &v1, Args...args)
 
cl::Program const & get_program (Context &ctx, std::string const &source)
 
cl::Program const & get_program (Context &ctx, std::string const &source, std::vector< Parameter > const &params)
 

Static Public Member Functions

static Cacheinstance ()
 
static void fill_params (std::vector< Parameter > &)
 
template<typename Val , typename... Args>
static void fill_params (std::vector< Parameter > &p, std::string const &n, Val v, Args...args)
 
template<typename Val , typename... Args>
static cl::Program build_program (Context &ctx, std::string const &source, std::string const &n1, Val const &v1, Args...args)
 
static cl::Program build_program (Context &ctx, std::string const &source)
 
static cl::Program build_program (Context &ctx, std::string const &source, std::vector< Parameter > const &params)
 

The documentation for this class was generated from the following file: