QUDA  v1.1.0
A library for QCD on GPUs
Namespaces | Functions
quda::device Namespace Reference

Namespaces

 profile
 

Functions

void init (int dev)
 Create the device context. Called by initQuda when initializing the library. More...
 
void print_device_properties ()
 Query and print to stdout device properties of all GPUs. More...
 
void create_context ()
 Create the streams associated with parallel execution. More...
 
void destroy ()
 Free any persistent context state. Called by endQuda when tearing down the library. More...
 
size_t max_dynamic_shared_memory ()
 Returns the maximum dynamic shared memory per block. More...
 

Function Documentation

◆ create_context()

void quda::device::create_context ( )

Create the streams associated with parallel execution.

Definition at line 185 of file device.cpp.

◆ destroy()

void quda::device::destroy ( )

Free any persistent context state. Called by endQuda when tearing down the library.

Definition at line 200 of file device.cpp.

◆ init()

void quda::device::init ( int  dev)

Create the device context. Called by initQuda when initializing the library.

Definition at line 25 of file device.cpp.

◆ max_dynamic_shared_memory()

size_t quda::device::max_dynamic_shared_memory ( )

Returns the maximum dynamic shared memory per block.

Returns
The maximum dynamic shared memory to each block of threads

Definition at line 215 of file device.cpp.

◆ print_device_properties()

void quda::device::print_device_properties ( )

Query and print to stdout device properties of all GPUs.

Definition at line 122 of file device.cpp.