Man page - hwlocality_gl(3)
Packages contains this manual
- hwlocality_membinding(3)
- hwloc_cpuset_from_glibc_sched_affinity(3)
- hwloc_bitmap_compare(3)
- hwloc_obj_type_is_dcache(3)
- hwloc_cuda_get_device_osdev(3)
- hwloc_bitmap_nr_ulongs(3)
- hwloc_topology_diff_u(3)
- hwloc_topology_abi_check(3)
- hwloc_nvml_get_device_osdev(3)
- hwloc_free_xmlbuffer(3)
- hwlocality_syntheticexport(3)
- hwloc_obj_attr_u_hwloc_bridge_attr_s(3)
- hwlocality_rsmi(3)
- hwloc_membind_flags_t(3)
- hwlocality_distances_consult(3)
- hwloc_cpuset_to_glibc_sched_affinity(3)
- hwloc_memattr_get_flags(3)
- hwloc_get_next_bridge(3)
- hwloc_distrib_flags_e(3)
- hwloc_get_obj_index_inside_cpuset(3)
- hwlocality_helper_find_inside(3)
- hwloc_bitmap_first(3)
- hwlocality_object_types(3)
- hwloc_topology_set_components(3)
- hwloc_get_type_depth_e(3)
- hwloc_topology_set_userdata(3)
- hwloc_get_next_child(3)
- hwloc_bitmap_alloc(3)
- hwlocality_cpukinds(3)
- hwloc_cpuset_from_linux_libnuma_bitmask(3)
- hwloc_get_type_or_above_depth(3)
- hwloc_ibv_get_device_osdev_by_name(3)
- hwloc_bitmap_list_snprintf(3)
- hwloc_memattr_get_initiators(3)
- hwloc_get_cpubind(3)
- hwloc_get_pcidev_by_busidstring(3)
- hwloc_bitmap_set_ith_ulong(3)
- hwloc_cudart_get_device_cpuset(3)
- hwloc_get_nbobjs_by_depth(3)
- hwloc_const_cpuset_t(3)
- hwloc_topology_diff_apply_flags_e(3)
- hwlocality_windows(3)
- hwloc_topology_is_thissystem(3)
- hwlocality_xmlexport(3)
- hwloc_obj_set_subtype(3)
- hwloc_free(3)
- hwlocality_openfabrics(3)
- hwloc_topology_restrict(3)
- hwloc_nvml_get_device_cpuset(3)
- hwloc_bitmap_next(3)
- hwloc_obj_attr_u(3)
- hwloc_local_numanode_flag_e(3)
- hwloc_get_obj_below_array_by_type(3)
- hwloc_bitmap_only(3)
- hwloc_location(3)
- hwloc_bitmap_last(3)
- hwloc_bitmap_isfull(3)
- hwloc_levelzero_get_device_osdev(3)
- hwloc_memattr_get_value(3)
- hwloc_topology_load(3)
- hwloc_get_membind(3)
- hwloc_obj_cache_type_e(3)
- hwloc_bitmap_t(3)
- hwloc_cpuset_from_nodeset(3)
- hwloc_cpuset_to_linux_libnuma_bitmask(3)
- hwloc_bitmap_xor(3)
- hwloc_opencl_get_device_osdev(3)
- hwloc_opencl_get_device_cpuset(3)
- hwloc_distances_get_by_name(3)
- hwlocality_helper_find_misc(3)
- hwloc_bitmap_list_sscanf(3)
- hwloc_topology_get_topology_nodeset(3)
- hwloc_topology_free_group_object(3)
- hwloc_cpukinds_register(3)
- hwloc_bitmap_not(3)
- hwloc_cpukinds_get_nr(3)
- hwloc_const_bitmap_t(3)
- hwloc_topology_flags_e(3)
- hwloc_set_proc_membind(3)
- hwloc_topology_t(3)
- hwloc_distances_get_name(3)
- hwloc_linux_read_path_as_cpumask(3)
- hwlocality_levelzero(3)
- hwlocality_object_sets(3)
- hwlocality_distances_add(3)
- hwlocality_diff(3)
- hwlocality_cuda(3)
- hwloc_get_next_obj_inside_cpuset_by_type(3)
- hwloc_topology_set_pid(3)
- hwloc_linux_get_tid_last_cpu_location(3)
- hwloc_levelzero_get_sysman_device_osdev(3)
- hwloc_obj(3)
- hwloc_obj_attr_u_hwloc_osdev_attr_s(3)
- hwloc_topology_export_xml(3)
- hwloc_topology_insert_misc_object(3)
- hwloc_bitmap_taskset_snprintf(3)
- hwloc_type_filter_e(3)
- hwloc_get_obj_by_type(3)
- hwlocality_helper_types(3)
- hwloc_topology_set_flags(3)
- hwloc_obj_type_is_icache(3)
- hwlocality_levels(3)
- hwloc_levelzero_get_device_cpuset(3)
- hwlocality_nvml(3)
- hwloc_shmem_topology_get_length(3)
- hwloc_bitmap_alloc_full(3)
- hwloc_get_next_obj_by_depth(3)
- hwloc_topology_get_topology_cpuset(3)
- hwlocality_object_strings(3)
- hwloc_set_proc_cpubind(3)
- hwloc_topology_get_default_nodeset(3)
- hwloc_get_largest_objs_inside_cpuset(3)
- hwloc_info_s(3)
- hwloc_bitmap_clr_range(3)
- hwlocality_helper_distribute(3)
- hwlocality_helper_nodeset_convert(3)
- hwloc_topology_components_flag_e(3)
- hwloc_distances_s(3)
- hwloc_topology_init(3)
- hwloc_get_next_osdev(3)
- hwlocality_cudart(3)
- hwloc_topology_get_userdata(3)
- hwloc_allow_flags_e(3)
- hwloc_distances_add_create(3)
- hwloc_set_area_membind(3)
- hwloc_topology_diff_load_xml(3)
- hwloc_topology_set_all_types_filter(3)
- hwloc_distances_obj_index(3)
- hwloc_topology_set_xml(3)
- hwloc_topology_diff_export_xmlbuffer(3)
- hwloc_get_obj_covering_cpuset(3)
- hwloc_get_depth_type(3)
- hwloc_get_cache_type_depth(3)
- hwloc_topology_membind_support(3)
- hwloc_membind_policy_t(3)
- hwloc_nodeset_to_linux_libnuma_bitmask(3)
- hwloc_topology_diff_export_xml(3)
- hwloc_bitmap_snprintf(3)
- hwloc_topology_get_type_filter(3)
- hwloc_topology_set_synthetic(3)
- hwloc_distances_add_handle_t(3)
- hwloc_get_area_membind(3)
- hwlocality_gl(3)
- hwloc_obj_attr_u_hwloc_numanode_attr_s_hwloc_memory_page_type_s(3)
- hwloc_distances_kind_e(3)
- hwloc_obj_type_is_normal(3)
- hwloc_get_cache_covering_cpuset(3)
- hwlocality_advanced_io(3)
- hwloc_opencl_get_device_osdev_by_index(3)
- hwloc_bitmap_isset(3)
- hwloc_distances_add_flag_e(3)
- hwloc_type_sscanf_as_depth(3)
- hwloc_get_root_obj(3)
- hwloc_cpuset_from_linux_libnuma_ulongs(3)
- hwloc_set_membind(3)
- hwloc_topology_set_cache_types_filter(3)
- hwloc_obj_type_t(3)
- hwloc_bitmap_andnot(3)
- hwloc_distances_add_commit(3)
- hwloc_get_common_ancestor_obj(3)
- hwloc_get_next_obj_by_type(3)
- hwloc_topology_diff_obj_attr_type_e(3)
- hwloc_topology_get_complete_nodeset(3)
- hwloc_cpubind_flags_t(3)
- hwloc_topology_support(3)
- hwloc_topology_diff_destroy(3)
- hwlocality_helper_ancestors(3)
- hwloc_get_ancestor_obj_by_type(3)
- hwlocality_api_version(3)
- hwloc_topology_misc_support(3)
- hwlocality_helper_find_cache(3)
- hwloc_obj_type_is_cache(3)
- hwloc_shmem_topology_adopt(3)
- hwloc_bitmap_allbut(3)
- hwloc_obj_attr_u_hwloc_pcidev_attr_s(3)
- hwloc_distrib(3)
- hwloc_topology_get_depth(3)
- hwlocality_creation(3)
- hwlocality_objects(3)
- hwloc_bitmap_dup(3)
- hwloc_nodeset_to_linux_libnuma_ulongs(3)
- hwloc_obj_bridge_type_t(3)
- hwloc_rsmi_get_device_osdev_by_index(3)
- hwloc_gl_get_display_osdev_by_port_device(3)
- hwloc_cuda_get_device_pcidev(3)
- hwloc_distances_remove_by_depth(3)
- hwloc_get_thread_cpubind(3)
- hwloc_const_nodeset_t(3)
- hwloc_linux_set_tid_cpubind(3)
- hwloc_topology_diff_apply(3)
- hwloc_rsmi_get_device_cpuset(3)
- hwloc_bitmap_and(3)
- hwloc_distances_transform_e(3)
- hwloc_memattr_id_t(3)
- hwloc_distances_release(3)
- hwloc_bitmap_taskset_asprintf(3)
- hwloc_get_proc_cpubind(3)
- hwloc_get_child_covering_cpuset(3)
- hwloc_obj_attr_u_hwloc_cache_attr_s(3)
- hwloc_topology_dup(3)
- hwloc_topology_get_allowed_cpuset(3)
- hwloc_topology_export_xmlbuffer(3)
- hwloc_levelzero_get_sysman_device_cpuset(3)
- hwloc_windows_get_processor_group_cpuset(3)
- hwloc_rsmi_get_device_osdev(3)
- hwloc_get_type_or_below_depth(3)
- hwloc_cuda_get_device_cpuset(3)
- hwloc_obj_attr_snprintf(3)
- hwloc_bitmap_iszero(3)
- hwloc_bitmap_clr(3)
- hwloc_get_memory_parents_depth(3)
- hwloc_cpukinds_get_by_cpuset(3)
- hwloc_topology_set_xmlbuffer(3)
- hwloc_bitmap_isequal(3)
- hwloc_cuda_get_device_pci_ids(3)
- hwlocality_memattrs(3)
- hwloc_get_proc_membind(3)
- hwloc_bitmap_intersects(3)
- hwloc_cuda_get_device_osdev_by_index(3)
- hwlocality_opencl(3)
- hwloc_bitmap_free(3)
- hwloc_location_type_e(3)
- hwloc_distances_transform(3)
- hwloc_obj_t(3)
- hwloc_get_nbobjs_inside_cpuset_by_depth(3)
- hwloc_distances_get_by_type(3)
- hwloc_topology_discovery_support(3)
- hwloc_obj_type_string(3)
- hwloc_obj_attr_u_hwloc_numanode_attr_s(3)
- hwloc_get_nbobjs_by_type(3)
- hwloc_bitmap_to_ith_ulong(3)
- hwlocality_glibc_sched(3)
- hwloc_memattr_flag_e(3)
- hwloc_memattr_register(3)
- hwloc_get_pu_obj_by_os_index(3)
- hwloc_get_obj_below_by_type(3)
- hwloc_get_closest_objs(3)
- hwloc_export_obj_userdata_base64(3)
- hwloc_memattr_get_best_initiator(3)
- hwlocality_bitmap(3)
- hwloc_get_next_obj_inside_cpuset_by_depth(3)
- hwlocality_distances_get(3)
- hwlocality_tinker(3)
- hwloc_obj_attr_u_hwloc_group_attr_s(3)
- hwloc_bitmap_set_range(3)
- hwloc_cpuset_t(3)
- hwloc_bridge_covers_pcibus(3)
- hwloc_get_next_obj_covering_cpuset_by_type(3)
- hwlocality_linux_libnuma_bitmask(3)
- hwloc_bitmap_from_ulong(3)
- hwloc_cpukinds_get_info(3)
- hwloc_get_nbobjs_inside_cpuset_by_type(3)
- hwlocality_helper_find_covering(3)
- hwlocality_setsource(3)
- hwloc_nodeset_t(3)
- hwloc_obj_get_info_by_name(3)
- hwloc_distances_get_by_depth(3)
- hwloc_distances_remove_by_type(3)
- hwloc_topology_get_flags(3)
- hwloc_get_last_cpu_location(3)
- hwloc_get_pcidev_by_busid(3)
- hwloc_shmem_topology_write(3)
- hwloc_topology_set_userdata_import_callback(3)
- hwloc_gl_get_display_osdev_by_name(3)
- hwloc_obj_type_snprintf(3)
- hwloc_restrict_flags_e(3)
- hwloc_get_ancestor_obj_by_depth(3)
- hwloc_ibv_get_device_cpuset(3)
- hwloc_topology_destroy(3)
- hwloc_compare_types(3)
- hwloc_bitmap_singlify_per_core(3)
- hwloc_bitmap_from_ith_ulong(3)
- hwloc_bitmap_asprintf(3)
- hwloc_alloc_membind_policy(3)
- hwlocality_linux(3)
- hwloc_distances_release_remove(3)
- hwloc_alloc(3)
- hwloc_bitmap_sscanf(3)
- hwloc_topology_insert_group_object(3)
- hwloc_topology_allow(3)
- hwloc_topology_set_userdata_export_callback(3)
- hwlocality_memattrs_manage(3)
- hwloc_bitmap_set(3)
- hwloc_obj_add_other_obj_sets(3)
- hwloc_set_thread_cpubind(3)
- hwloc_alloc_membind(3)
- hwloc_distances_remove(3)
- hwloc_bitmap_foreach_end(3)
- hwloc_topology_get_complete_cpuset(3)
- hwloc_cudart_get_device_pci_ids(3)
- hwloc_bitmap_taskset_sscanf(3)
- hwloc_bitmap_zero(3)
- hwlocality_shmem(3)
- hwloc_get_local_numanode_objs(3)
- hwloc_cpuset_to_linux_libnuma_ulongs(3)
- hwloc_get_type_depth(3)
- hwloc_cudart_get_device_pcidev(3)
- hwlocality_linux_libnuma_ulongs(3)
- hwloc_windows_get_nr_processor_groups(3)
- hwloc_bitmap_from_ulongs(3)
- hwloc_nodeset_from_linux_libnuma_bitmask(3)
- hwloc_memattr_get_best_target(3)
- hwloc_obj_add_info(3)
- hwloc_bitmap_list_asprintf(3)
- hwloc_distances_add_values(3)
- hwloc_obj_is_in_subtree(3)
- hwloc_topology_get_allowed_nodeset(3)
- hwloc_get_obj_inside_cpuset_by_depth(3)
- hwloc_nvml_get_device_osdev_by_index(3)
- hwloc_get_next_pcidev(3)
- hwloc_bitmap_fill(3)
- hwloc_topology_set_icache_types_filter(3)
- hwloc_set_cpubind(3)
- hwloc_bitmap_isincluded(3)
- hwloc_linux_get_tid_cpubind(3)
- hwloc_topology_check(3)
- hwloc_topology_alloc_group_object(3)
- hwloc_bitmap_singlify(3)
- hwloc_get_area_memlocation(3)
- hwloc_bitmap_or(3)
- hwloc_nodeset_from_linux_libnuma_ulongs(3)
- hwloc_get_first_largest_obj_inside_cpuset(3)
- hwloc_obj_type_is_memory(3)
- hwloc_topology_diff_build(3)
- hwloc_topology_diff_type_e(3)
- hwloc_get_proc_last_cpu_location(3)
- hwloc_memattr_get_targets(3)
- hwloc_ibv_get_device_osdev(3)
- hwloc_get_non_io_ancestor_obj(3)
- hwloc_distances_obj_pair_values(3)
- hwloc_bitmap_weight(3)
- hwloc_get_obj_inside_cpuset_by_type(3)
- hwloc_cudart_get_device_osdev_by_index(3)
- hwloc_cpuset_to_nodeset(3)
- hwlocality_distances_remove(3)
- hwloc_distances_get(3)
- hwloc_bitmap_copy(3)
- hwloc_bitmap_foreach_begin(3)
- hwlocality_info_attr(3)
- hwloc_obj_osdev_type_t(3)
- hwloc_memattr_get_by_name(3)
- hwloc_topology_diff_obj_attr_u(3)
- hwloc_get_obj_by_depth(3)
- hwloc_get_api_version(3)
- hwlocality_configuration(3)
- hwloc_memattr_set_value(3)
- hwloc_memattr_get_name(3)
- hwloc_topology_export_synthetic(3)
- hwloc_topology_set_io_types_filter(3)
- hwloc_obj_type_is_io(3)
- hwloc_bitmap_to_ulongs(3)
- hwlocality_helper_topology_sets(3)
- hwlocality_api_error_reporting(3)
- hwloc_type_sscanf(3)
- hwloc_export_obj_userdata(3)
- hwloc_bitmap_to_ulong(3)
- hwloc_obj_osdev_type_e(3)
- hwloc_opencl_get_device_pci_busid(3)
- hwloc_bitmap_compare_first(3)
- hwloc_topology_refresh(3)
- hwloc_get_next_obj_covering_cpuset_by_depth(3)
- hwlocality_cpubinding(3)
- hwloc_obj_cache_type_t(3)
- hwloc_memattr_id_e(3)
- hwloc_topology_cpubind_support(3)
- hwloc_gl_get_display_by_osdev(3)
- hwloc_topology_set_type_filter(3)
- hwloc_topology_diff_load_xmlbuffer(3)
- hwloc_get_shared_cache_covering_obj(3)
- hwloc_obj_bridge_type_e(3)
apt-get install libhwloc-doc
Manual
hwlocality_gl
NAMESYNOPSIS
Functions
Detailed Description
Function Documentation
int hwloc_gl_get_display_by_osdev (hwloc_topology_t topology, hwloc_obj_tosdev, unsigned * port, unsigned * device) [inline]
hwloc_obj_t hwloc_gl_get_display_osdev_by_name (hwloc_topology_t topology,const char * name) [inline]
hwloc_obj_t hwloc_gl_get_display_osdev_by_port_device (hwloc_topology_ttopology, unsigned port, unsigned device) [inline]
Author
NAME
hwlocality_gl - Interoperability with OpenGL displays
SYNOPSIS
Functions
hwloc_obj_t
hwloc_gl_get_display_osdev_by_port_device
(
hwloc_topology_t
topology, unsigned port, unsigned
device)
hwloc_obj_t hwloc_gl_get_display_osdev_by_name
(
hwloc_topology_t
topology, const char *name)
int
hwloc_gl_get_display_by_osdev
(
hwloc_topology_t
topology,
hwloc_obj_t
osdev,
unsigned *port, unsigned *device)
Detailed Description
This interface offers ways to retrieve topology information about OpenGL displays.
Only the NVIDIA display locality information is currently available, using the NV-CONTROL X11 extension and the NVCtrl library.
Function Documentation
int hwloc_gl_get_display_by_osdev (hwloc_topology_t topology, hwloc_obj_tosdev, unsigned * port, unsigned * device) [inline]
Get the OpenGL display port and device corresponding to the given hwloc OS object. Retrieves the OpenGL display port (server) in port and device (screen) in screen that correspond to the given hwloc OS device object.
Returns
0 on success.
-1 if none could be found.
The topology topology does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the GL component must be enabled in the topology.
hwloc_obj_t hwloc_gl_get_display_osdev_by_name (hwloc_topology_t topology,const char * name) [inline]
Get the hwloc OS device object corresponding to the OpenGL display given by name.
Returns
The hwloc OS device object describing the OpenGL display whose name is name , built as β:port.deviceβ such as β:0.0β .
NULL if none could be found.
The topology topology does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the GL component must be enabled in the topology.
Note
The corresponding PCI device object can be obtained by looking at the OS device parent object (unless PCI devices are filtered out).
hwloc_obj_t hwloc_gl_get_display_osdev_by_port_device (hwloc_topology_ttopology, unsigned port, unsigned device) [inline]
Get the hwloc OS device object corresponding to the OpenGL display given by port and device index.
Returns
The hwloc OS device object describing the OpenGL display whose port (server) is port and device (screen) is device .
NULL if none could be found.
The topology topology does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the GL component must be enabled in the topology.
Note
The corresponding PCI device object can be obtained by looking at the OS device parent object (unless PCI devices are filtered out).
Author
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.