Skip to main content

struct host_object_tracker

Declaration

struct 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.

Member Variables

detail::host_object_id id = {}

Member Function Overview

Member Functions

explicit host_object_tracker(
    std::unique_ptr<host_object_instance>
        instance)

Parameters

std::unique_ptr<host_object_instance> instance

host_object_tracker(const host_object_tracker&)

Parameters

const host_object_tracker&

host_object_tracker(host_object_tracker&&)

Parameters

host_object_tracker&&

host_object_tracker& operator=(
    host_object_tracker&&)

Parameters

host_object_tracker&&

host_object_tracker& operator=(
    const host_object_tracker&)

Parameters

const host_object_tracker&

~host_object_tracker()