* Records an event into this instance after all preceding operations in stream have been completed. */
| 525 | * Records an event into this instance after all preceding operations in <code>stream</code> have been completed. |
| 526 | */ |
| 527 | void record(cudaStream_t stream) const |
| 528 | { |
| 529 | CUMAT_SAFE_CALL(cudaEventRecord(event_, stream)); |
| 530 | } |
| 531 | |
| 532 | /** |
| 533 | * Synchronizes the given stream with this event. |