b3BufferInfoCL.h 332 B

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