Skip to main content

struct buffer::tracker

Declaration

struct buffer::tracker { /* full declaration omitted */ };

Description

A tacker instance is shared by all shallow copies of this buffer via a std::shared_ptr to implement (SYCL) reference semantics. It notifies the runtime of buffer creation and destruction and also persists changes of the buffer debug name.

Member Variables

detail::buffer_id id
celerity::range<Dims> range
std::string debug_name

Member Function Overview

Member Functions

tracker& operator=(const tracker&)

Parameters

const tracker&

tracker& operator=(tracker&&)

Parameters

tracker&&

tracker(const celerity::range<Dims>& range,
        const void* host_init_ptr)

Parameters

const celerity::range<Dims>& range
const void* host_init_ptr

tracker(const tracker&)

Parameters

const tracker&

tracker(tracker&&)

Parameters

tracker&&

~tracker()