diff options
Diffstat (limited to 'cuda/2d')
-rw-r--r-- | cuda/2d/darthelper.cu | 2 | ||||
-rw-r--r-- | cuda/2d/darthelper.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cuda/2d/darthelper.cu b/cuda/2d/darthelper.cu index 28b77cc..768d14e 100644 --- a/cuda/2d/darthelper.cu +++ b/cuda/2d/darthelper.cu @@ -342,7 +342,7 @@ void dartSmoothing(float* out, const float* in, float b, unsigned int radius, un -bool setGPUIndex(int iGPUIndex) +_AstraExport bool setGPUIndex(int iGPUIndex) { if (iGPUIndex != -1) { cudaSetDevice(iGPUIndex); diff --git a/cuda/2d/darthelper.h b/cuda/2d/darthelper.h index 3694b96..8f57d3c 100644 --- a/cuda/2d/darthelper.h +++ b/cuda/2d/darthelper.h @@ -29,13 +29,15 @@ $Id$ #ifndef _CUDA_ARITH2_H #define _CUDA_ARITH2_H +#include "util.h" + namespace astraCUDA { void roiSelect(float* out, float radius, unsigned int width, unsigned int height); void dartMask(float* out, const float* in, unsigned int conn, unsigned int radius, unsigned int threshold, unsigned int width, unsigned int height); void dartSmoothing(float* out, const float* in, float b, unsigned int radius, unsigned int width, unsigned int height); - bool setGPUIndex(int index); + _AstraExport bool setGPUIndex(int index); } |