mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add support for thread local support on platforms that do not support it through emulation using a hash map.
This commit is contained in:
@@ -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
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user