diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-01-24 11:50:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-24 11:50:21 +0000 |
commit | 4aa979cd6cd0e437ab5cc02367adf140d63030b6 (patch) | |
tree | 164c276955c53efa7ae7a5742750a2cec01cdbb7 | |
parent | b38ac34e763aa442a19dff7c2c22f8892cc0cd3c (diff) | |
parent | 2694ad1b18d14fcfd7d57ded7290ebd1bf845fda (diff) | |
download | regularization-4aa979cd6cd0e437ab5cc02367adf140d63030b6.tar.gz regularization-4aa979cd6cd0e437ab5cc02367adf140d63030b6.tar.bz2 regularization-4aa979cd6cd0e437ab5cc02367adf140d63030b6.tar.xz regularization-4aa979cd6cd0e437ab5cc02367adf140d63030b6.zip |
Merge pull request #93 from vais-ral/wincudafix
fixes gpu build on windows
-rwxr-xr-x | Core/regularisers_GPU/TV_FGP_GPU_core.h | 9 | ||||
-rwxr-xr-x | Core/regularisers_GPU/TV_SB_GPU_core.h | 10 | ||||
-rw-r--r-- | Core/regularisers_GPU/dTV_FGP_GPU_core.h | 9 | ||||
-rw-r--r-- | Wrappers/Python/conda-recipe/meta.yaml | 2 |
4 files changed, 14 insertions, 16 deletions
diff --git a/Core/regularisers_GPU/TV_FGP_GPU_core.h b/Core/regularisers_GPU/TV_FGP_GPU_core.h index b28cdf3..bf13508 100755 --- a/Core/regularisers_GPU/TV_FGP_GPU_core.h +++ b/Core/regularisers_GPU/TV_FGP_GPU_core.h @@ -1,10 +1,9 @@ -#include <stdio.h> -#include <stdlib.h> -#include <memory.h> - #ifndef _TV_FGP_GPU_ #define _TV_FGP_GPU_ -extern "C" int TV_FGP_GPU_main(float *Input, float *Output, float lambdaPar, int iter, float epsil, int methodTV, int nonneg, int printM, int dimX, int dimY, int dimZ); +#include "CCPiDefines.h" +#include <memory.h> + +extern "C" CCPI_EXPORT int TV_FGP_GPU_main(float *Input, float *Output, float lambdaPar, int iter, float epsil, int methodTV, int nonneg, int printM, int dimX, int dimY, int dimZ); #endif diff --git a/Core/regularisers_GPU/TV_SB_GPU_core.h b/Core/regularisers_GPU/TV_SB_GPU_core.h index d44ab77..901b90f 100755 --- a/Core/regularisers_GPU/TV_SB_GPU_core.h +++ b/Core/regularisers_GPU/TV_SB_GPU_core.h @@ -1,10 +1,10 @@ -#include <stdio.h> -#include <stdlib.h> -#include <memory.h> - #ifndef _SB_TV_GPU_ #define _SB_TV_GPU_ -extern "C" int TV_SB_GPU_main(float *Input, float *Output, float mu, int iter, float epsil, int methodTV, int printM, int dimX, int dimY, int dimZ); +#include "CCPiDefines.h" +#include <memory.h> + + +extern "C" CCPI_EXPORT int TV_SB_GPU_main(float *Input, float *Output, float mu, int iter, float epsil, int methodTV, int printM, int dimX, int dimY, int dimZ); #endif diff --git a/Core/regularisers_GPU/dTV_FGP_GPU_core.h b/Core/regularisers_GPU/dTV_FGP_GPU_core.h index 9020b1a..f9281e8 100644 --- a/Core/regularisers_GPU/dTV_FGP_GPU_core.h +++ b/Core/regularisers_GPU/dTV_FGP_GPU_core.h @@ -1,10 +1,9 @@ -#include <stdio.h> -#include <stdlib.h> -#include <memory.h> - #ifndef _dTV_FGP_GPU_ #define _dTV_FGP_GPU_ -extern "C" int dTV_FGP_GPU_main(float *Input, float *InputRef, float *Output, float lambdaPar, int iter, float epsil, float eta, int methodTV, int nonneg, int printM, int dimX, int dimY, int dimZ); +#include "CCPiDefines.h" +#include <memory.h> + +extern "C" CCPI_EXPORT int dTV_FGP_GPU_main(float *Input, float *InputRef, float *Output, float lambdaPar, int iter, float epsil, float eta, int methodTV, int nonneg, int printM, int dimX, int dimY, int dimZ); #endif diff --git a/Wrappers/Python/conda-recipe/meta.yaml b/Wrappers/Python/conda-recipe/meta.yaml index 9fe813d..9dd5544 100644 --- a/Wrappers/Python/conda-recipe/meta.yaml +++ b/Wrappers/Python/conda-recipe/meta.yaml @@ -12,7 +12,7 @@ test: files: - lena_gray_512.tif requires: - - pillow + - pillow=4.1.1 requirements: build: |