Skip to main content

struct staging_allocation

Declaration

struct staging_allocation { /* full declaration omitted */ };

Description

Staging allocations are kept around in a pool, so size and last-use information needs to be maintained for them.

Declared at: src/instruction_graph_generator.cc:496

Member Variables

allocation_id aid
size_t size_bytes
size_t align_bytes
access_front last_accesses

Member Function Overview

  • apply_epoch(instruction * epoch) → void
  • staging_allocation(allocation_id aid, size_t size_bytes, size_t align_bytes, alloc_instruction * alloc_instr)

Member Functions

void apply_epoch(instruction* epoch)

Declared at: src/instruction_graph_generator.cc:505

Parameters

instruction* epoch

staging_allocation(allocation_id aid,
                   size_t size_bytes,
                   size_t align_bytes,
                   alloc_instruction* alloc_instr)

Declared at: src/instruction_graph_generator.cc:502

Parameters

allocation_id aid
size_t size_bytes
size_t align_bytes
alloc_instruction* alloc_instr