Turi Create  4.0
sgraph_constants.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef TURI_SGRAPH_SGRAPH_CONTANTS_HPP
7 #define TURI_SGRAPH_SGRAPH_CONTANTS_HPP
8 #include <cstddef>
9 
10 namespace turi {
11 
12 
13 /**
14  * \ingroup sgraph_physical
15  * \addtogroup sgraph_main Main SGraph Objects
16  * \{
17  */
18 
19 /**
20  * Graph Computation Functions
21  */
22 /**
23  * Number of locks used for sgraph triple apply.
24  */
26 
27 /**
28  * Number of locks used for sgraph batch triple apply (used for python lambda).
29  */
31 
32 /**
33  * Number of edges to for graph triple_apply to work on as a unit.
34  */
36 
37 /**
38  * The default number of sgraph partitions
39  */
40 extern size_t SGRAPH_DEFAULT_NUM_PARTITIONS;
41 
42 /**
43  * Buffer size for vertex deduplication during graph ingress
44  */
45 extern size_t SGRAPH_INGRESS_VID_BUFFER_SIZE;
46 
47 /**
48  * Number of threads used for hilber curve parallel for
49  */
51 }
52 
53 /// \}
54 #endif
size_t SGRAPH_TRIPLE_APPLY_LOCK_ARRAY_SIZE
size_t SGRAPH_BATCH_TRIPLE_APPLY_LOCK_ARRAY_SIZE
size_t SGRAPH_DEFAULT_NUM_PARTITIONS
size_t SGRAPH_INGRESS_VID_BUFFER_SIZE
size_t SGRAPH_HILBERT_CURVE_PARALLEL_FOR_NUM_THREADS
size_t SGRAPH_TRIPLE_APPLY_EDGE_BATCH_SIZE