Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/gpgmm/common/MemoryAllocation.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,29 @@ namespace gpgmm {
*/
enum AllocationMethod {

/** \brief Not yet allocated or invalid.

This is an invalid state that assigned temporary before the actual method is known.
*/
kUndefined = 0,

/** \brief Not sub-divided.

One and only one allocation exists for the memory.
*/
kStandalone = 0x0,
kStandalone = 1,

/** \brief Sub-divided using one or more allocations.

Underlying memory will be broken up into one or more memory allocations.
*/
kSubAllocated = 0x2,
kSubAllocated = 2,

/** \brief Sub-divided within a single memory allocation.

A single memory allocation will be broken into one or more sub-allocations.
*/
kSubAllocatedWithin = 0x4,

/** \brief Not yet allocated or invalid.

This is an invalid state that assigned temporary before the actual method is known.
*/
kUndefined = 0x8
kSubAllocatedWithin = 3,
};

struct MemoryBlock;
Expand Down