mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
Fixed some OpenCL interface bugs
This commit is contained in:
parent
87c27a074d
commit
41519d3ac0
@ -584,7 +584,6 @@ public:
|
||||
Program();
|
||||
Program(const ProgramSource& src,
|
||||
const String& buildflags, String& errmsg);
|
||||
explicit Program(const String& buf);
|
||||
Program(const Program& prog);
|
||||
|
||||
Program& operator = (const Program& prog);
|
||||
|
@ -2143,7 +2143,7 @@ int Kernel::set(int i, const Image2D& image2D)
|
||||
|
||||
int Kernel::set(int i, const UMat& m)
|
||||
{
|
||||
return set(i, KernelArg(KernelArg::READ_WRITE, (UMat*)&m, 0, 0));
|
||||
return set(i, KernelArg(KernelArg::READ_WRITE, (UMat*)&m));
|
||||
}
|
||||
|
||||
int Kernel::set(int i, const KernelArg& arg)
|
||||
|
Loading…
Reference in New Issue
Block a user