Commit 6e9b6578 authored by Dominik Charousset's avatar Dominik Charousset

Merge branch 'unstable' of github.com:Neverlord/libcppa into unstable

parents 3f687cd7 15567756
...@@ -42,6 +42,9 @@ namespace cppa { namespace opencl { ...@@ -42,6 +42,9 @@ namespace cppa { namespace opencl {
template<typename Signature> template<typename Signature>
class actor_facade; class actor_facade;
/**
* @brief A wrapper for OpenCL's cl_program.
*/
class program { class program {
template<typename Signature> template<typename Signature>
...@@ -49,11 +52,15 @@ class program { ...@@ -49,11 +52,15 @@ class program {
public: public:
/**
* @brief Factory method, that creates a cppa::opencl::program
* from a given @p kernel_source.
* @returns A program object.
*/
static program create(const char* kernel_source); static program create(const char* kernel_source);
private: private:
//program();
program(context_ptr context, program_ptr program); program(context_ptr context, program_ptr program);
context_ptr m_context; context_ptr m_context;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment