Skip to content

Commit 7974d56

Browse files
committed
add eggpu doc
1 parent 9bf9afd commit 7974d56

78 files changed

Lines changed: 1608 additions & 17194 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,5 @@ $RECYCLE.BIN/
8383
*/.env
8484
.idea/
8585

86+
docs/env/
87+
docs/_sources/env/

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 495056e95c5d3b016219afa0130528f0
3+
config: b628fa54c01d8e3cbd1efeb674b18d12
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_sources/eggpu.rst.txt

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
EGGPU
2+
========
3+
4+
Overview
5+
+++++++++++++
6+
7+
EGGPU is a GPU-accelerated network analysis library that supports essential functions such as betweenness centrality, k-core centrality, and single-source shortest path. Built on top of the **EasyGraph** library, EGGPU delivers a user-friendly Python API while achieving remarkable speedups for large-scale network analysis.
8+
9+
EGGPU is engineered with a three-layer architecture:
10+
- User Interface Layer: Developed in Python, this layer offers intuitive and easy-to-use APIs for end users.
11+
- Middleware Layer: Constructed in C++, this layer shares memory space with the Computation Layer and serves as the binding agent. It also provides a graph container responsible for graph loading, storage, and format conversion.
12+
- Computation Layer: Implemented in CUDA C/C++, this layer primarily executes the GPU-based network analysis functions, including betweenness centrality, k-core centrality, and SSSP.
13+
.. image:: eggpu_architecture.png
14+
15+
Installation
16+
+++++++++++++
17+
18+
On Linux
19+
--------
20+
21+
.. code-block:: bash
22+
23+
git clone --recursive https://github.com/easy-graph/Easy-Graph
24+
export EASYGRAPH_ENABLE_GPU="TRUE"
25+
pip install ./Easy-Graph
26+
27+
On Windows
28+
----------
29+
30+
.. code-block:: none
31+
32+
% For Windows users who want to enable GPU-based functions,
33+
% you must execute the commands below in cmd but not PowerShell.
34+
git clone --recursive https://github.com/easy-graph/Easy-Graph
35+
set EASYGRAPH_ENABLE_GPU=TRUE
36+
pip install ./Easy-Graph

docs/_sources/reference/easygraph.model.hypergraphs.rst.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ easygraph.model.hypergraphs.hnhn module
4444
:undoc-members:
4545
:show-inheritance:
4646

47+
easygraph.model.hypergraphs.hwnn module
48+
---------------------------------------
49+
50+
.. automodule:: easygraph.model.hypergraphs.hwnn
51+
:members:
52+
:undoc-members:
53+
:show-inheritance:
54+
4755
easygraph.model.hypergraphs.hypergcn module
4856
-------------------------------------------
4957

docs/_sources/reference/easygraph.nn.convs.hypergraphs.rst.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ easygraph.nn.convs.hypergraphs.hnhn\_conv module
4444
:undoc-members:
4545
:show-inheritance:
4646

47+
easygraph.nn.convs.hypergraphs.hwnn\_conv module
48+
------------------------------------------------
49+
50+
.. automodule:: easygraph.nn.convs.hypergraphs.hwnn_conv
51+
:members:
52+
:undoc-members:
53+
:show-inheritance:
54+
4755
easygraph.nn.convs.hypergraphs.hypergcn\_conv module
4856
----------------------------------------------------
4957

docs/_sources/reference/easygraph.rst.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Subpackages
55
-----------
66

77
.. toctree::
8-
:maxdepth: 3
8+
:maxdepth: 4
99

1010
easygraph.classes
1111
easygraph.datapipe
@@ -18,7 +18,6 @@ Subpackages
1818
easygraph.readwrite
1919
easygraph.utils
2020

21-
2221
Submodules
2322
----------
2423

@@ -38,3 +37,10 @@ easygraph.exception module
3837
:undoc-members:
3938
:show-inheritance:
4039

40+
Module contents
41+
---------------
42+
43+
.. automodule:: easygraph
44+
:members:
45+
:undoc-members:
46+
:show-inheritance:

docs/_sources/reference/modules.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ easygraph
22
=========
33

44
.. toctree::
5-
:maxdepth: 2
5+
:maxdepth: 4
66

77
easygraph

docs/_static/_sphinx_javascript_frameworks_compat.js

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
1-
/* Compatability shim for jQuery and underscores.js.
1+
/*
2+
* _sphinx_javascript_frameworks_compat.js
3+
* ~~~~~~~~~~
4+
*
5+
* Compatability shim for jQuery and underscores.js.
6+
*
7+
* WILL BE REMOVED IN Sphinx 6.0
8+
* xref RemovedInSphinx60Warning
29
*
3-
* Copyright Sphinx contributors
4-
* Released under the two clause BSD licence
510
*/
611

12+
/**
13+
* select a different prefix for underscore
14+
*/
15+
$u = _.noConflict();
16+
17+
718
/**
819
* small helper function to urldecode strings
920
*

docs/_static/basic.css

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx stylesheet -- basic theme.
66
*
7-
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -236,6 +236,16 @@ div.body p, div.body dd, div.body li, div.body blockquote {
236236
a.headerlink {
237237
visibility: hidden;
238238
}
239+
a.brackets:before,
240+
span.brackets > a:before{
241+
content: "[";
242+
}
243+
244+
a.brackets:after,
245+
span.brackets > a:after {
246+
content: "]";
247+
}
248+
239249

240250
h1:hover > a.headerlink,
241251
h2:hover > a.headerlink,
@@ -324,17 +334,11 @@ aside.sidebar {
324334
p.sidebar-title {
325335
font-weight: bold;
326336
}
327-
328-
nav.contents,
329-
aside.topic,
330337
div.admonition, div.topic, blockquote {
331338
clear: left;
332339
}
333340

334341
/* -- topics ---------------------------------------------------------------- */
335-
336-
nav.contents,
337-
aside.topic,
338342
div.topic {
339343
border: 1px solid #ccc;
340344
padding: 7px;
@@ -373,17 +377,13 @@ div.body p.centered {
373377

374378
div.sidebar > :last-child,
375379
aside.sidebar > :last-child,
376-
nav.contents > :last-child,
377-
aside.topic > :last-child,
378380
div.topic > :last-child,
379381
div.admonition > :last-child {
380382
margin-bottom: 0;
381383
}
382384

383385
div.sidebar::after,
384386
aside.sidebar::after,
385-
nav.contents::after,
386-
aside.topic::after,
387387
div.topic::after,
388388
div.admonition::after,
389389
blockquote::after {
@@ -608,27 +608,19 @@ ol.simple p,
608608
ul.simple p {
609609
margin-bottom: 0;
610610
}
611-
612-
aside.footnote > span,
613-
div.citation > span {
611+
dl.footnote > dt,
612+
dl.citation > dt {
614613
float: left;
614+
margin-right: 0.5em;
615615
}
616-
aside.footnote > span:last-of-type,
617-
div.citation > span:last-of-type {
618-
padding-right: 0.5em;
619-
}
620-
aside.footnote > p {
621-
margin-left: 2em;
622-
}
623-
div.citation > p {
624-
margin-left: 4em;
625-
}
626-
aside.footnote > p:last-of-type,
627-
div.citation > p:last-of-type {
616+
617+
dl.footnote > dd,
618+
dl.citation > dd {
628619
margin-bottom: 0em;
629620
}
630-
aside.footnote > p:last-of-type:after,
631-
div.citation > p:last-of-type:after {
621+
622+
dl.footnote > dd:after,
623+
dl.citation > dd:after {
632624
content: "";
633625
clear: both;
634626
}
@@ -644,6 +636,10 @@ dl.field-list > dt {
644636
padding-left: 0.5em;
645637
padding-right: 5px;
646638
}
639+
dl.field-list > dt:after {
640+
content: ":";
641+
}
642+
647643

648644
dl.field-list > dd {
649645
padding-left: 0.5em;

docs/_static/css/badge_only.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)