1 2 #ifndef B3_BUFFER_INFO_CL_H 3 #define B3_BUFFER_INFO_CL_H 4 5 #include "b3OpenCLArray.h" 6 7 struct b3BufferInfoCL 8 { 9 //b3BufferInfoCL(){} 10 11 // template<typename T> m_clBufferb3BufferInfoCL12 b3BufferInfoCL(cl_mem buff, bool isReadOnly = false) : m_clBuffer(buff), m_isReadOnly(isReadOnly) {} 13 14 cl_mem m_clBuffer; 15 bool m_isReadOnly; 16 }; 17 18 #endif //B3_BUFFER_INFO_CL_H 19