ALF_ACCEL_EXPORT_API - Declares one entry of the computing kernel API exporting definition section.
ALF_ACCEL_EXPORT_API(const char *p_api_name, int (*p_api)())
Parameters | |
p_api_name[IN] | The string constant that uniquely identifies the exported API. It is recommended to be just the same as the correspondent function identifier. |
p_api[IN] | The exported function entry pointer. |
This macro declares one entry of the computing kernel API exporting definition section. The ALF runtime locates the entry address of the user-implemented computing kernel functions based on information provided by the corresponding entries.