Merge pull request #9 from astron-rd/cmake-bugfix
Fix issue when building with TRIGDX_USE_GPU=1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define TRIGDX_USE_MKL @TRIGDX_USE_MKL@
|
#cmakedefine TRIGDX_USE_MKL
|
||||||
#define TRIGDX_USE_GPU @TRIGDX_USE_GPU@
|
#cmakedefine TRIGDX_USE_GPU
|
||||||
#define TRIGDX_USE_XSIMD @TRIGDX_USE_XSIMD@
|
#cmakedefine TRIGDX_USE_XSIMD
|
||||||
@@ -6,14 +6,14 @@
|
|||||||
#include <trigdx/lookup.hpp>
|
#include <trigdx/lookup.hpp>
|
||||||
#include <trigdx/lookup_avx.hpp>
|
#include <trigdx/lookup_avx.hpp>
|
||||||
|
|
||||||
#if TRIGDX_USE_MKL
|
#if defined(TRIGDX_USE_MKL)
|
||||||
#include <trigdx/mkl.hpp>
|
#include <trigdx/mkl.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if TRIGDX_USE_GPU
|
#if defined(TRIGDX_USE_GPU)
|
||||||
#include <trigdx/gpu.hpp>
|
#include <trigdx/gpu.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if TRIGDX_USE_XSIMD
|
#if defined(TRIGDX_USE_XSIMD)
|
||||||
#include <trigdx/lookup_xsimd.hpp>
|
#include <trigdx/lookup_xsimd.hpp>
|
||||||
#endif
|
#endif
|
||||||
Reference in New Issue
Block a user