Intel clGPU
buffer Struct Referenceabstract

Represents memory buffer. More...

#include <engine.hpp>

Inherits engine_object.

Public Member Functions

virtual size_t size () const =0
 Returns size of the memory buffer.
 
virtual void * get_host_ptr ()=0
 Returns direct raw pointer to the buffer data.
 
- Public Member Functions inherited from engine_object
 engine_object (const std::shared_ptr< engine > &engine)
 
template<class EngTy = engine>
auto get_engine () const -> typename std::enable_if< std::is_base_of< engine, EngTy >::value, std::shared_ptr< EngTy >>::type
 Returns associated Engine object.
 

Detailed Description

Represents memory buffer.

Definition at line 113 of file engine.hpp.


The documentation for this struct was generated from the following file: