|
UraniumCompute 0.1.0
A GPU accelerated parallel task scheduler
|
Base class for all compute backend objects. More...
#include <DeviceObjectBase.h>
Public Types | |
| using | DescriptorType = typename TInterface::DescriptorType |
Public Member Functions | |
| const DescriptorType & | GetDesc () const override |
| std::string_view | GetDebugName () const override |
| IComputeDevice * | GetDevice () const override |
| UInt32 | Release () override |
Public Member Functions inherited from UN::Object< TInterface, > | |
| Object (const Object &)=delete | |
| Object (Object &&)=delete | |
| UInt32 | AddRef () override |
| Add a strong reference to the object. More... | |
| UInt32 | Release () override |
| void | AttachRefCounter (ReferenceCounter *pRefCounter) override |
| Attach a reference counter to the object. More... | |
| ReferenceCounter * | GetRefCounter () override |
| Get reference counter attached to this object. | |
Protected Member Functions | |
| void | Init (std::string_view name, const DescriptorType &desc) |
| Common device object initializer. More... | |
| DeviceObjectBase (IComputeDevice *pDevice) | |
Protected Member Functions inherited from UN::Object< TInterface, > | |
| template<class F > | |
| UInt32 | Release (F &&destroyCallback) |
Protected Attributes | |
| Ptr< IComputeDevice > | m_pDevice |
| DescriptorType | m_Desc |
| std::string | m_Name |
Base class for all compute backend objects.
TInterface must be derived from IDeviceObject and must have these members:
|
inlineprotected |