diff options
| author | Marijn Tamis <[email protected]> | 2017-10-20 14:30:56 +0200 |
|---|---|---|
| committer | Marijn Tamis <[email protected]> | 2017-10-20 14:36:12 +0200 |
| commit | fabb251458f4a2d6d4f87dd36038fac2774b378c (patch) | |
| tree | 68a4a0ecd940dc949e0477d521d8c159968cfcd5 /NvCloth/src/NvSimd | |
| parent | NvCloth 1.1.2 Release. (22576033) (diff) | |
| download | nvcloth-1.1.3.tar.xz nvcloth-1.1.3.zip | |
NvCloth 1.1.3 Release. (23014067)v1.1.3
Diffstat (limited to 'NvCloth/src/NvSimd')
| -rw-r--r-- | NvCloth/src/NvSimd/NvSimdTypes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/NvCloth/src/NvSimd/NvSimdTypes.h b/NvCloth/src/NvSimd/NvSimdTypes.h index 0625332..dd94b40 100644 --- a/NvCloth/src/NvSimd/NvSimdTypes.h +++ b/NvCloth/src/NvSimd/NvSimdTypes.h @@ -104,7 +104,7 @@ void foo(const float* ptr) #define NV_SIMD_INLINE_ASSEMBLER 1 #endif -/*! \def NV_SIMD_USE_NAMESPACE +/*! \def NV_CLOTH_NO_SIMD_NAMESPACE * \brief Set to 1 to define the SIMD library types and functions inside the nvidia::simd namespace. * By default, the types and functions defined in this header live in the global namespace. * This is because MSVC (prior to version 12, Visual Studio 2013) does an inferior job at optimizing @@ -116,11 +116,11 @@ void foo(const float* ptr) * __m128i are wrapped into structs. Arguments need to be passed by reference in this mode. * \see NV_SIMD_VECTORCALL, Simd4fArg */ -#if defined NV_SIMD_USE_NAMESPACE&& NV_SIMD_USE_NAMESPACE +#ifndef NV_CLOTH_NO_SIMD_NAMESPACE #define NV_SIMD_NAMESPACE_BEGIN \ namespace nv \ { \ - namespace simd \ + namespace cloth \ { #define NV_SIMD_NAMESPACE_END \ } \ |