diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2018-08-13 15:31:23 -0700 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2018-08-13 15:31:23 -0700 |
commit | 8278ae63137fb2ce2cdf6fc8117df3080e5cb2fe (patch) | |
tree | cc8d13bf47e412a5ee63de818645006f4c4344b9 /test/main.h | |
parent | 3ec60215dfd010ecc3777e707d045a0f144304aa (diff) |
Add support for thread local support on platforms that do not support it through emulation using a hash map.
Diffstat (limited to 'test/main.h')
-rw-r--r-- | test/main.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/main.h b/test/main.h index de8a4865f..36784b1f4 100644 --- a/test/main.h +++ b/test/main.h @@ -125,7 +125,7 @@ inline void on_temporary_creation(long int size) { if(nb_temporaries!=(N)) { std::cerr << "nb_temporaries == " << nb_temporaries << "\n"; }\ VERIFY( (#XPR) && nb_temporaries==(N) ); \ } - + #endif #include "split_test_helper.h" @@ -328,7 +328,7 @@ namespace Eigen #define VERIFY_RAISES_STATIC_ASSERT(a) \ std::cout << "Can't VERIFY_RAISES_STATIC_ASSERT( " #a " ) with exceptions disabled\n"; #endif - + #if !defined(__CUDACC__) && !defined(__HIPCC__) && !defined(__SYCL_DEVICE_ONLY__) #define EIGEN_USE_CUSTOM_ASSERT #endif @@ -845,4 +845,4 @@ int main(int argc, char *argv[]) #ifdef _MSC_VER // 4503 - decorated name length exceeded, name was truncated #pragma warning( disable : 4503) -#endif
\ No newline at end of file +#endif |