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
27633e2e
Unverified
Commit
27633e2e
authored
Jul 23, 2022
by
Gerico Vidanes
Committed by
GitHub
Jul 23, 2022
Browse files
import `torch/torch.h` instead of `torch/extension.h` (#260)
parent
ad228bb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
csrc/extensions.h
csrc/extensions.h
+1
-1
csrc/sparse.h
csrc/sparse.h
+1
-2
No files found.
csrc/extensions.h
View file @
27633e2e
#include "macros.h"
#include <torch/
extension
.h>
#include <torch/
torch
.h>
csrc/sparse.h
View file @
27633e2e
#pragma once
#include <torch/extension.h>
#include "extensions.h"
#include "macros.h"
namespace
sparse
{
...
...
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