Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-sparse
Commits
aeca5cf7
Unverified
Commit
aeca5cf7
authored
Aug 31, 2022
by
Sean Liu
Committed by
GitHub
Aug 31, 2022
Browse files
fix building of wheels (#272)
Co-authored-by:
xliucr
<
xliucr@amazon.com
>
parent
bea2f4a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
csrc/cpu/utils.h
csrc/cpu/utils.h
+1
-0
No files found.
csrc/cpu/utils.h
View file @
aeca5cf7
...
...
@@ -5,6 +5,7 @@
#define CHECK_CPU(x) AT_ASSERTM(x.device().is_cpu(), #x " must be CPU tensor")
#define CHECK_INPUT(x) AT_ASSERTM(x, "Input mismatch")
#define CHECK_LT(low, high) AT_ASSERTM(low < high, "low must be smaller than high")
#define AT_DISPATCH_HAS_VALUE(optional_value, ...) \
[&] { \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment