2017-08-01 12:30:58 +00:00
|
|
|
|
|
|
|
#ifndef B3_BUFFER_INFO_CL_H
|
|
|
|
#define B3_BUFFER_INFO_CL_H
|
|
|
|
|
|
|
|
#include "b3OpenCLArray.h"
|
|
|
|
|
|
|
|
struct b3BufferInfoCL
|
|
|
|
{
|
|
|
|
//b3BufferInfoCL(){}
|
|
|
|
|
2019-01-03 13:26:51 +00:00
|
|
|
// template<typename T>
|
|
|
|
b3BufferInfoCL(cl_mem buff, bool isReadOnly = false) : m_clBuffer(buff), m_isReadOnly(isReadOnly) {}
|
2017-08-01 12:30:58 +00:00
|
|
|
|
|
|
|
cl_mem m_clBuffer;
|
|
|
|
bool m_isReadOnly;
|
|
|
|
};
|
|
|
|
|
2019-01-03 13:26:51 +00:00
|
|
|
#endif //B3_BUFFER_INFO_CL_H
|