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
7af61dbe
"cacheflow/vscode:/vscode.git/clone" did not exist on "c9d5b6d4a8b3f51ff6c9eee7eb52bb5149d89b6a"
Commit
7af61dbe
authored
Jul 29, 2021
by
rusty1s
Browse files
typo
parent
9fcc4d8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
csrc/cuda/utils.cuh
csrc/cuda/utils.cuh
+2
-5
No files found.
csrc/cuda/utils.cuh
View file @
7af61dbe
...
...
@@ -6,13 +6,10 @@
AT_ASSERTM(x.device().is_cuda(), #x " must be CUDA tensor")
#define CHECK_INPUT(x) AT_ASSERTM(x, "Input mismatch")
#ifndef _WIN32
__device__
__inline__
at
::
Half
__shfl_sync
(
const
unsigned
mask
,
const
at
::
Half
var
,
const
unsigned
int
srcLane
)
{
__device__
__inline__
at
::
Half
__shfl_sync
(
const
unsigned
mask
,
const
at
::
Half
var
,
const
int
srcLane
)
{
return
__shfl_sync
(
mask
,
(
__half
)
var
,
srcLane
);
}
#endif
__device__
__inline__
at
::
Half
__shfl_down_sync
(
const
unsigned
mask
,
const
at
::
Half
var
,
...
...
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