summarylogtreecommitdiffstats
path: root/fix_c10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix_c10.patch')
-rw-r--r--fix_c10.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/fix_c10.patch b/fix_c10.patch
index fd03d6cb59a2..3e6fd9c6178b 100644
--- a/fix_c10.patch
+++ b/fix_c10.patch
@@ -7,6 +7,6 @@ diff --color -aur pytorch-1.9.0-old/c10/core/TensorImpl.h pytorch-1.9.0-new/c10/
static_assert(
- sizeof(void*) != sizeof(int64_t) || // if 64-bit...
+ sizeof(void*) <= sizeof(int64_t) || // if 64-bit...
- sizeof(TensorImpl) == sizeof(int64_t) * 23,
+ sizeof(TensorImpl) == sizeof(int64_t) * 24,
"You changed the size of TensorImpl on 64-bit arch."
"See Note [TensorImpl size constraints] on how to proceed.");