Intel® FPGA SDK for OpenCL™ Standard Edition: Custom Platform Toolkit User Guide
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: wmz1517497567481
Ixiasoft
Visible to Intel only — GUID: wmz1517497567481
Ixiasoft
2.3.16. aocl_mmd_hostchannel_get_buffer
Syntax
void *aocl_mmd_hostchannel_get_buffer( int handle, int channel, size_t *buffer_size, int *status );
Function Arguments
- handle—A positive int value representing the handle to the board obtained from the aocl_mmd_open() call.
- channel—A positive int value representing handle to the channel to close obtained from the aocl_mmd_hostchannel_create() call.
- buffer_size—A pointer to size_t that the function will write available buffer space or size to.
- status—A pointer to int that the function will write result of the call to.
Return Value
If the function executes successfully, int pointed to by the status pointer will be 0. Returned void* may still be NULL, in which case size_t pointed by the buffer_size will be 0.
If the function fails to execute, int pointed by the status pointer will be a negative value.