pack.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2021, NVIDIA CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #pragma once
18 
19 namespace ML {
20 namespace Dbscan {
21 namespace AdjGraph {
22 
23 template <typename Index_ = int>
24 struct Pack {
30  Index_* vd;
32  bool* adj;
34  Index_* adj_graph;
35 
36  Index_ adjnnz;
37 
39  Index_* ex_scan;
41  Index_ N;
42 };
43 
44 } // namespace AdjGraph
45 } // namespace Dbscan
46 } // namespace ML
Definition: dbscan.hpp:30
Definition: pack.h:24
Index_ * vd
Definition: pack.h:30
Index_ N
Definition: pack.h:41
bool * adj
Definition: pack.h:32
Index_ adjnnz
Definition: pack.h:36
Index_ * ex_scan
Definition: pack.h:39
Index_ * adj_graph
Definition: pack.h:34