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
67d0cd48
Commit
67d0cd48
authored
Mar 29, 2018
by
rusty1s
Browse files
removed branch
parent
157a8fe1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
torch_cluster/src/serial_cpu.c
torch_cluster/src/serial_cpu.c
+4
-9
No files found.
torch_cluster/src/serial_cpu.c
View file @
67d0cd48
...
@@ -12,16 +12,11 @@
...
@@ -12,16 +12,11 @@
while(e < THLongTensor_nElement(row)) { \
while(e < THLongTensor_nElement(row)) { \
row_value = row_data[e]; \
row_value = row_data[e]; \
if (output_data[row_value] < 0) { \
if (output_data[row_value] < 0) { \
col_value =
-1
; \
col_value =
row_value
; \
SELECT \
SELECT \
if (col_value < 0) { \
v = row_value < col_value ? row_value : col_value; \
output_data[row_value] = row_value; \
output_data[row_value] = v; \
} \
output_data[col_value] = v; \
else { \
v = row_value < col_value ? row_value : col_value; \
output_data[row_value] = v; \
output_data[col_value] = v; \
} \
} \
} \
e += degree_data[row_value]; \
e += degree_data[row_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