Driver: no longer instantiating events when unnecessary ; general cleaning of the driver module
This commit is contained in:
@@ -41,6 +41,9 @@ class Buffer;
|
||||
class ISAACAPI Kernel
|
||||
{
|
||||
friend class CommandQueue;
|
||||
public:
|
||||
typedef HANDLE_TYPE(cl_kernel, CUfunction) handle_type;
|
||||
|
||||
public:
|
||||
Kernel(Program const & program, const char * name);
|
||||
void setArg(unsigned int index, std::size_t size, void* ptr);
|
||||
@@ -53,7 +56,7 @@ private:
|
||||
unsigned int address_bits_;
|
||||
std::vector<std::shared_ptr<void> > cu_params_store_;
|
||||
std::vector<void*> cu_params_;
|
||||
HANDLE_TYPE(cl_kernel, CUfunction) h_;
|
||||
handle_type h_;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user