Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BTS-MTGNN
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhlj
BTS-MTGNN
Commits
563c0199
Commit
563c0199
authored
Jan 01, 2024
by
Wenjie Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update METIS
parent
27d6712a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
CMakeLists.txt
+1
-1
csrc/partition/metis.cpp
+1
-0
third_party/METIS
+1
-1
No files found.
CMakeLists.txt
View file @
563c0199
...
...
@@ -61,7 +61,7 @@ if(WITH_METIS)
# target_link_libraries(metis_partition PRIVATE ${METIS_LIBRARIES})
add_definitions
(
-DWITH_METIS
)
set
(
METIS_DIR
"
${
CMAKE_SOURCE_DIR
}
/third_party/
mts/
METIS"
)
set
(
METIS_DIR
"
${
CMAKE_SOURCE_DIR
}
/third_party/METIS"
)
set
(
METIS_GKLIB_DIR
"
${
METIS_DIR
}
/GKlib"
)
file
(
GLOB METIS_SRCS
"
${
METIS_DIR
}
/libmetis/*.c"
)
...
...
csrc/partition/metis.cpp
View file @
563c0199
...
...
@@ -14,6 +14,7 @@ at::Tensor metis_partition(
bool
min_edge_cut
)
{
static_assert
(
sizeof
(
idx_t
)
==
sizeof
(
int64_t
));
static_assert
(
sizeof
(
real_t
)
==
sizeof
(
float
));
CHECK_CPU
(
rowptr
);
AT_ASSERT
(
rowptr
.
dim
()
==
1
);
...
...
METIS
@
22008804
Subproject commit
f5ae915a84d3bbf1508b529af90292dd7085b9ec
Subproject commit
22008804e8c9b78893ae10a94c0d8b4b592438b4
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