Skip to content

Commit aeca5cf

Browse files
seanliu96xliucr
andauthored
fix building of wheels (rusty1s#272)
Co-authored-by: xliucr <xliucr@amazon.com>
1 parent bea2f4a commit aeca5cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

csrc/cpu/utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#define CHECK_CPU(x) AT_ASSERTM(x.device().is_cpu(), #x " must be CPU tensor")
77
#define CHECK_INPUT(x) AT_ASSERTM(x, "Input mismatch")
8+
#define CHECK_LT(low, high) AT_ASSERTM(low < high, "low must be smaller than high")
89

910
#define AT_DISPATCH_HAS_VALUE(optional_value, ...) \
1011
[&] { \

0 commit comments

Comments
 (0)