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.
23 lines
294 B
23 lines
294 B
5 years ago
|
#ifndef BIP_H
|
||
|
#define BIP_H
|
||
|
|
||
|
#include "utils/OpenCLHelper.h"
|
||
|
|
||
|
#define SCRATCH_PAD_SIZE 2000
|
||
|
|
||
|
class BIP
|
||
|
{
|
||
|
public:
|
||
|
BIP();
|
||
|
static BIP* getInstance();
|
||
|
|
||
|
cl::CommandQueue CLQueue;
|
||
|
|
||
|
void init(cl::Context &context, OpenCLHelper &openCLHelper);
|
||
|
|
||
|
private:
|
||
|
static BIP* _instance;
|
||
|
};
|
||
|
|
||
|
#endif // BIP_H
|