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 |
Passed 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. |
Return Value
Type |
Input/Output |
Description |
|---|---|---|
Status |
Output |
Status value. Successful setting returns NO_ERROR. In the case of a failure, see ErrorType. |
Parent topic: atb/context.h