QUDA  v1.1.0
A library for QCD on GPUs
device.h
Go to the documentation of this file.
1 namespace quda
2 {
3 
4  namespace device
5  {
6 
11  void init(int dev);
12 
17 
21  void create_context();
22 
27  void destroy();
28 
34 
35  namespace profile
36  {
37 
41  void start();
42 
46  void stop();
47  } // namespace profile
48 
49  } // namespace device
50 } // namespace quda
void stop()
Stop profiling.
Definition: device.cpp:228
void start()
Start profiling.
Definition: device.cpp:226
void create_context()
Create the streams associated with parallel execution.
Definition: device.cpp:185
void print_device_properties()
Query and print to stdout device properties of all GPUs.
Definition: device.cpp:122
void init(int dev)
Create the device context. Called by initQuda when initializing the library.
Definition: device.cpp:25
size_t max_dynamic_shared_memory()
Returns the maximum dynamic shared memory per block.
Definition: device.cpp:215
void destroy()
Free any persistent context state. Called by endQuda when tearing down the library.
Definition: device.cpp:200