#include "model/processor/BIP.h" BIP* BIP::_instance; BIP::BIP() { } BIP *BIP::getInstance() { if(_instance == Q_NULLPTR) _instance = new BIP(); return _instance; } void BIP::init(cl::Context &context, OpenCLHelper &openCLHelper) { CLQueue = openCLHelper.createCommandQueue(context, openCLHelper .getDevicesByContext( context)[0]); }