Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Accelerate DGL csr neighbor sampling (#13588)
Browse files Browse the repository at this point in the history
* Speedup and fix bug in dgl_csr_sampling op

* Update dgl_graph.cc

* simplify functions.

* avoid adding nodes in the last level in the queue.

* remove a hashtable lookup in neigh_pos.

* reduce a hashtable lookup in sub_ver_mp.

* merge copying vids and layers.

* reduce hashtable lookup when writing to output csr.

* fix a bug.

* limit the number of sampled vertices.

* fix lint.

* fix a compile error.

* fix compile error.

* fix compile.

* remove one hashtable lookup per vertex and hashtable iteration.

* remove queue.

* use vector for neigh_pos.

* fix lint

* avoid init output arrays.

* fix tests.

* fix tests.

* update docs.

* retrigger

* retrigger
  • Loading branch information
BullDemonKing authored and eric-haibin-lin committed Dec 19, 2018
1 parent 8dd2fb1 commit defa614
Show file tree
Hide file tree
Showing 2 changed files with 170 additions and 169 deletions.
Loading

0 comments on commit defa614

Please sign in to comment.