目录

SetDataSize

Function Description

Sets the length of tiling data.

Function Prototype

void SetDataSize(const size_t size);

Parameters

Parameter Input/Output Description
size Input Length of tiling data.

Return Value

None

Restrictions

None

Calling 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