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.

Declared at: include/buffer.h:99

Member Variables

detail::buffer_id id
celerity::range<Dims> range
std::string debug_name
bool references_user_memory = false

Member Function Overview

Member Functions

tracker& operator=(const tracker&)

Declared at: include/buffer.h:115

Parameters

const tracker&

tracker& operator=(tracker&&)

Declared at: include/buffer.h:116

Parameters

tracker&&

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

Declared at: include/buffer.h:100

Parameters

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

tracker(const tracker&)

Declared at: include/buffer.h:113

Parameters

const tracker&

tracker(tracker&&)

Declared at: include/buffer.h:114

Parameters

tracker&&

~tracker()

Declared at: include/buffer.h:118