Skip to content

Commit

Permalink
[Fix] OpenMP compatibility issues (dmlc#1992)
Browse files Browse the repository at this point in the history
* fix OpenMP compatibility issues

* typo

Co-authored-by: Jinjing Zhou <[email protected]>
  • Loading branch information
chwan1016 and VoVAllen authored Aug 11, 2020
1 parent a089b91 commit 71f4230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/dgl/distributed/partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def partition_graph(g, graph_name, num_parts, out_path, num_hops=1, part_method=
The partitioned data is stored into multiple files.
First, the metadata of the original graph and the partitioning is stored in a JSON file
named after `graph_name`. This JSON file contains the information of the originla graph
named after `graph_name`. This JSON file contains the information of the original graph
as well as the file names that store each partition.
The node assignment is stored in a separate file if we don't reshuffle node Ids to ensure
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* \brief DGL util functions
*/

#include <omp.h>
#include <dmlc/omp.h>

#include <dgl/packed_func_ext.h>
#include "../c_api_common.h"
Expand Down

0 comments on commit 71f4230

Please sign in to comment.