diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-11-01 15:05:13 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-11-01 15:05:13 +0100 |
commit | f70f68fcd465f421b566b199e23e66c1f186b01d (patch) | |
tree | 1699757401101eabac1e2bffc67b5ddc23cf1aeb /cuda/2d/astra.h | |
parent | adda34cf902c246a75eb46800949dc15d5e84f37 (diff) | |
download | astra-f70f68fcd465f421b566b199e23e66c1f186b01d.tar.gz astra-f70f68fcd465f421b566b199e23e66c1f186b01d.tar.bz2 astra-f70f68fcd465f421b566b199e23e66c1f186b01d.tar.xz astra-f70f68fcd465f421b566b199e23e66c1f186b01d.zip |
Separate cuda from astra headers further
Diffstat (limited to 'cuda/2d/astra.h')
-rw-r--r-- | cuda/2d/astra.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cuda/2d/astra.h b/cuda/2d/astra.h index c9e0762..e4cefac 100644 --- a/cuda/2d/astra.h +++ b/cuda/2d/astra.h @@ -224,6 +224,15 @@ _AstraExport bool convertAstraGeometry(const CVolumeGeometry2D* pVolGeom, astraCUDA::SFanProjection*& pProjs, float& outputScale); +} + +namespace astraCUDA { + +// Return string with CUDA device number, name and memory size. +// Use device == -1 to get info for the current device. +_AstraExport std::string getCudaDeviceString(int device); + +_AstraExport bool setGPUIndex(int index); } #endif |