SetDataSize

Description

Sets the length of tiling data.

Prototype

void SetDataSize(const size_t size)

Parameters

Parameter

Input/Output

Description

size

Input

Length of tiling data

Returns

None

Restrictions

None

Example

auto td_buf = TilingData::CreateCap(100U);
auto td = reinterpret_cast<TilingData *>(td_buf.get());
size_t data_size = td->GetDataSize(); // 0

td->SetDataSize(100U);
data_size = td->GetDataSize(); // 100