cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
event.hpp File Reference

Implementations requiring the definitions of multiple CUDA entity proxy classes, and which regard events. More...

#include "../device.hpp"
#include "../event.hpp"
#include "../stream.hpp"
#include "../primary_context.hpp"
#include "../virtual_memory.hpp"
#include "../current_context.hpp"
#include "../current_device.hpp"
#include <type_traits>
#include <vector>
#include <algorithm>
Include dependency graph for event.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cuda
 Definitions and functionality wrapping CUDA APIs.
 
 cuda::event
 CUDA timing functionality, via events and their related code (not including the event wrapper type event_t itself)
 
 cuda::event::ipc
 Definitions and functionality related to CUDA events (not including the event wrapper type event_t itself)
 

Functions

event_t cuda::event::create (const context_t &context, bool uses_blocking_sync=sync_by_busy_waiting, bool records_timing=do_record_timings, bool interprocess=not_interprocess)
 creates a new event. More...
 
event_t cuda::event::create (const device_t &device, bool uses_blocking_sync=sync_by_busy_waiting, bool records_timing=do_record_timings, bool interprocess=not_interprocess)
 creates a new event on (the primary execution context of) a device. More...
 
handle_t cuda::event::ipc::export_ (const event_t &event)
 Enable use of an event which this process created by other processes. More...
 
event_t cuda::event::ipc::import (const context_t &context, const handle_t &event_ipc_handle)
 
event_t cuda::event::ipc::import (const device_t &device, const handle_t &event_ipc_handle)
 Obtain a proper CUDA event, corresponding to an event created by another process, using a handle communicated via operating-system inter-process communications. More...
 

Detailed Description

Implementations requiring the definitions of multiple CUDA entity proxy classes, and which regard events.

Specifically:

  1. Functions in the cuda::event namespace.
  2. Methods of cuda::event_t and possibly some relates classes.