File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright © 2009 CNRS
3
- * Copyright © 2009-2015 Inria. All rights reserved.
3
+ * Copyright © 2009-2017 Inria. All rights reserved.
4
4
* Copyright © 2009-2010 Université Bordeaux
5
5
* Copyright © 2011 Cisco Systems, Inc. All rights reserved.
6
6
* See COPYING in top-level directory.
@@ -49,6 +49,11 @@ int main(void)
49
49
assert (hwloc_get_type_or_below_depth (topology , HWLOC_OBJ_GROUP ) == HWLOC_TYPE_DEPTH_MULTIPLE );
50
50
assert (hwloc_get_type_depth (topology , HWLOC_OBJ_L3CACHE ) == 6 );
51
51
52
+ assert (hwloc_get_type_depth (topology , HWLOC_OBJ_BRIDGE ) == HWLOC_TYPE_DEPTH_BRIDGE );
53
+ assert (hwloc_get_type_depth (topology , HWLOC_OBJ_PCI_DEVICE ) == HWLOC_TYPE_DEPTH_PCI_DEVICE );
54
+ assert (hwloc_get_type_depth (topology , HWLOC_OBJ_OS_DEVICE ) == HWLOC_TYPE_DEPTH_OS_DEVICE );
55
+ assert (hwloc_get_type_depth (topology , HWLOC_OBJ_MISC ) == HWLOC_TYPE_DEPTH_MISC );
56
+
52
57
hwloc_topology_destroy (topology );
53
58
54
59
return EXIT_SUCCESS ;
You can’t perform that action at this time.
0 commit comments