struct host_object::tracker
Declaration
struct host_object::tracker : public host_object_tracker { /* full declaration omitted */ };
Description
A tacker
instance is shared by all copies of any host_object
via a std::shared_ptr
to implement (SYCL) reference semantics. It notifies the runtime of host object creation and destruction.
Inherits from: host_object_tracker
Member Variables
- instance_type* instance = nullptr
Inherited from host_object_tracker:
- id = {}
Member Function Overview
- tracker(instance_type * ref) → explicit
Inherited from host_object_tracker:
Member Functions
¶explicit tracker(instance_type* ref)
explicit tracker(instance_type* ref)
Parameters
- instance_type* ref