You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
385 B

#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]);
}