QUDA  v1.1.0
A library for QCD on GPUs
Namespaces | Functions | Variables
device.cpp File Reference
#include <cuda_runtime.h>
#include <cuda_profiler_api.h>
#include <util_quda.h>
#include <quda_internal.h>

Go to the source code of this file.

Namespaces

 quda
 
 quda::device
 
 quda::device::profile
 

Functions

void quda::device::init (int dev)
 Create the device context. Called by initQuda when initializing the library. More...
 
void quda::device::create_context ()
 Create the streams associated with parallel execution. More...
 
void quda::device::destroy ()
 Free any persistent context state. Called by endQuda when tearing down the library. More...
 
void quda::device::profile::start ()
 Start profiling. More...
 
void quda::device::profile::stop ()
 Stop profiling. More...
 

Variables

cudaDeviceProp deviceProp
 
qudaStream_tstreams
 

Variable Documentation

◆ deviceProp

cudaDeviceProp deviceProp

Definition at line 14 of file device.cpp.

◆ streams

qudaStream_t* streams

Definition at line 15 of file device.cpp.