Skip to content
Snippets Groups Projects
Verified Commit 3d7c9d31 authored by raphael.bach's avatar raphael.bach
Browse files

Add `FMPI_REGISTER_ASYNC_TASK()`

parent 607fd63d
No related branches found
No related tags found
No related merge requests found
...@@ -143,6 +143,11 @@ do { \ ...@@ -143,6 +143,11 @@ do { \
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
#define FMPI_REGISTER_SYNC_TASK(ctx, func, stencil, ...) \ #define FMPI_REGISTER_SYNC_TASK(ctx, func, stencil, ...) \
FMPI_TASK_REGISTER(ctx, func, FMPI_TASK_TYPE_SYNC, stencil, __VA_ARGS__) FMPI_TASK_REGISTER(ctx, func, FMPI_TASK_TYPE_SYNC, stencil, __VA_ARGS__)
/*------------------------------------------------------------------------------
FMPI_REGISTER_ASYNC_TASK()
------------------------------------------------------------------------------*/
#define FMPI_REGISTER_ASYNC_TASK(ctx, func, stencil, ...) \
FMPI_TASK_REGISTER(ctx, func, FMPI_TASK_TYPE_ASYNC, stencil, __VA_ARGS__)
/*============================================================================== /*==============================================================================
GUARD GUARD
==============================================================================*/ ==============================================================================*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment