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-cluster
Commits
b1d9a365
Commit
b1d9a365
authored
May 01, 2018
by
rusty1s
Browse files
typo
parent
e5f34a12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
aten/cuda/cluster_kernel.cu
aten/cuda/cluster_kernel.cu
+1
-1
No files found.
aten/cuda/cluster_kernel.cu
View file @
b1d9a365
...
@@ -32,7 +32,7 @@ at::Tensor grid_cuda(at::Tensor pos, at::Tensor size, at::Tensor start,
...
@@ -32,7 +32,7 @@ at::Tensor grid_cuda(at::Tensor pos, at::Tensor size, at::Tensor start,
const
int
threads
=
1024
;
const
int
threads
=
1024
;
const
dim3
blocks
((
num_nodes
+
threads
-
1
)
/
threads
);
const
dim3
blocks
((
num_nodes
+
threads
-
1
)
/
threads
);
AT_DISPATCH_ALL_TYPES
(
pos
.
type
(),
"
unique
"
,
[
&
]
{
AT_DISPATCH_ALL_TYPES
(
pos
.
type
(),
"
grid_cuda_kernel
"
,
[
&
]
{
auto
cluster_data
=
cluster
.
data
<
int64_t
>
();
auto
cluster_data
=
cluster
.
data
<
int64_t
>
();
auto
pos_info
=
at
::
cuda
::
detail
::
getTensorInfo
<
scalar_t
,
int
>
(
pos
);
auto
pos_info
=
at
::
cuda
::
detail
::
getTensorInfo
<
scalar_t
,
int
>
(
pos
);
auto
size_data
=
size
.
data
<
scalar_t
>
();
auto
size_data
=
size
.
data
<
scalar_t
>
();
...
...
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