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

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

#include "../array.hpp"
#include "../device.hpp"
#include "../event.hpp"
#include "../kernel_launch.hpp"
#include "../pointer.hpp"
#include "../stream.hpp"
#include "../primary_context.hpp"
#include "../kernel.hpp"
#include "../current_context.hpp"
#include "../current_device.hpp"
Include dependency graph for stream.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::stream
 Definitions and functionality related to CUDA streams (not including the device wrapper type stream_t itself)
 

Functions

stream_t cuda::stream::create (const device_t &device, bool synchronizes_with_default_stream, priority_t priority=stream::default_priority)
 Create a new stream (= queue) in the primary execution context of a CUDA device. More...
 
stream_t cuda::stream::create (const context_t &context, bool synchronizes_with_default_stream, priority_t priority=stream::default_priority, bool hold_pc_refcount_unit=false)
 Create a new stream (= queue) in a CUDA execution context. More...
 

Detailed Description

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

Specifically:

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