Method GetScratchpadAllocator
GetScratchpadAllocator()
Retrieve the ScratchpadAllocator from the Scratchpad with index corresponding to the running thread index.
Declaration
public ref ScratchpadAllocator GetScratchpadAllocator()
Returns
Type | Description |
---|---|
ScratchpadAllocator | Returns reference to the ScratchpadAllocator for the running thread. |
GetScratchpadAllocator(int)
Retrieve the ScratchpadAllocator from the Scratchpad with index corresponding to the running thread index.
Declaration
public ref ScratchpadAllocator GetScratchpadAllocator(int threadIndex)
Parameters
Type | Name | Description |
---|---|---|
int | threadIndex | Index of the running thread. |
Returns
Type | Description |
---|---|
ScratchpadAllocator | Returns reference to the ScratchpadAllocator for the running thread. |