diff options
author | Jayaram Bobba <jayaram.bobba@intel.com> | 2018-03-26 14:52:32 -0700 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2018-03-26 14:52:32 -0700 |
commit | 0a86c23860968c66e95b9b6e930d14fac2699889 (patch) | |
tree | 139cfb2105e56ce8edef8370396d009384890ecb | |
parent | 8d1392f7c75e766ce1181136c7ca90e660350a09 (diff) |
reverting mkl allocator inline modifier from #17396. causes build issues on linux systems (#18006)
-rw-r--r-- | tensorflow/core/common_runtime/mkl_cpu_allocator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/common_runtime/mkl_cpu_allocator.h b/tensorflow/core/common_runtime/mkl_cpu_allocator.h index 73abf18d97..55c8411ad0 100644 --- a/tensorflow/core/common_runtime/mkl_cpu_allocator.h +++ b/tensorflow/core/common_runtime/mkl_cpu_allocator.h @@ -50,7 +50,7 @@ class MklCPUAllocator : public VisitableAllocator { // Constructor and other standard functions /// Environment variable that user can set to upper bound on memory allocation - static inline constexpr const char* kMaxLimitStr = "TF_MKL_ALLOC_MAX_BYTES"; + static constexpr const char* kMaxLimitStr = "TF_MKL_ALLOC_MAX_BYTES"; /// Default upper limit on allocator size - 64GB static constexpr size_t kDefaultMaxLimit = 64LL << 30; |