File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,16 @@ typedef int (*opal_accelerator_base_module_create_stream_fn_t)(
175
175
typedef int (* opal_accelerator_base_module_destroy_stream_fn_t )(
176
176
opal_accelerator_stream_t * stream );
177
177
178
+ /**
179
+ * Wait until a stream's operations are complete
180
+ *
181
+ * @param[IN] stream Stream to wait for
182
+ *
183
+ * @return OPAL_SUCCESS or error status on failure
184
+ */
185
+ typedef int (* opal_accelerator_base_module_synchronize_stream_fn_t )(
186
+ opal_accelerator_stream_t * stream );
187
+
178
188
/**
179
189
* Creates an event. An event is a synchronization marker that can be
180
190
* appended to a stream to monitor device progress or synchronize the
@@ -417,6 +427,7 @@ typedef struct {
417
427
418
428
opal_accelerator_base_module_create_stream_fn_t create_stream ;
419
429
opal_accelerator_base_module_destroy_stream_fn_t destroy_stream ;
430
+ opal_accelerator_base_module_synchronize_stream_fn_t synchronize_stream ;
420
431
opal_accelerator_base_module_create_event_fn_t create_event ;
421
432
opal_accelerator_base_module_record_event_fn_t record_event ;
422
433
opal_accelerator_base_module_query_event_fn_t query_event ;
You can’t perform that action at this time.
0 commit comments