Skip to main content

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(std::unique_ptr<struct instance> instance) → explicit
  • tracker(instance_type * ref, std::unique_ptr<struct instance> & owned) → explicit

Inherited from host_object_tracker:

Member Functions

explicit tracker(
    std::unique_ptr<struct instance> instance)

Parameters

std::unique_ptr<struct instance> instance

explicit tracker(
    instance_type* ref,
    std::unique_ptr<struct instance>& owned)

Parameters

instance_type* ref
std::unique_ptr<struct instance>& owned