CreateContext
Description
Creates a context.
Explicitly creates a context in the current process or thread.
Definition
1 | Status CreateContext(Context **context, uint32_t hostTilingBlockNum, uint32_t deviceTilingBlockNum); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
context |
Input |
Input context. |
hostTilingBlockNum |
Input |
Number of HostTilingBuffer blocks in the context. The value ranges from 128 to 1024. |
deviceTilingBlockNum |
Input |
Number of DeviceTilingBuffer blocks in the context. The value ranges from 32 to 1024. |
Returns
Type |
Input/Output |
Description |
|---|---|---|
Status |
Output |
Status value. If the setting is successful, NO_ERROR is returned. In the case of a failure, see ErrorType. |
Parent topic: atb/context.h