ocl: workaround for ProgramCache cleanup issue, use RAII to print kernel build error

This commit is contained in:
Alexander Alekhin
2013-10-21 19:15:11 +04:00
parent a54d36bde8
commit 9acca12d2d
2 changed files with 23 additions and 19 deletions

View File

@@ -52,7 +52,6 @@ class ProgramCache
protected:
ProgramCache();
~ProgramCache();
friend class std::auto_ptr<ProgramCache>;
public:
static ProgramCache *getProgramCache();