Intel clGPU
|
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. | |
![]() | |
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. | |
Represents memory buffer.
Definition at line 113 of file engine.hpp.