core/ocl: temporary move device selection from ocl module

This commit is contained in:
Alexander Alekhin
2013-12-25 14:39:21 +04:00
parent 0966e5ffa1
commit e49065b1dc
8 changed files with 443 additions and 13 deletions

View File

@@ -210,6 +210,7 @@ public:
Context2(const Context2& c);
Context2& operator = (const Context2& c);
bool create();
bool create(int dtype);
size_t ndevices() const;
const Device& device(size_t idx) const;