7#ifndef NVIDIA_INDEX_IAFFINITY_INFORMATION_H
8#define NVIDIA_INDEX_IAFFINITY_INFORMATION_H
10#include <mi/math/bbox.h>
11#include <mi/neuraylib/dice.h>
12#include <mi/neuraylib/istring.h>
39 public mi::base::Interface_declare<0x3fbeb811,0xffd1,0x4521,0x33,0x21,0xbd,0x67,0x12,0x21,0x11,0x69,
40 mi::neuraylib::ISerializable>
77 const mi::math::Bbox_struct<mi::Float32, 3>& subregion,
79 mi::IString* host_name,
80 mi::Uint32& device_id)
const = 0;
109 public mi::base::Interface_declare<0x1fefb212,0xffe1,0x1431,0x13,0x67,0xbd,0x17,0x13,0x31,0x41,0x6e,
110 nv::index::IAffinity_information>
132 virtual mi::math::Bbox_struct<mi::Float32, 3>
get_subregion(mi::Uint32 index)
const = 0;
145 public mi::base::Interface_declare<0x25d72982,0x3cff,0x4f72,0x99,0x72,0x41,0x95,0xec,0x06,0x16,0x12,
146 nv::index::IDomain_specific_subdivision>
166 virtual mi::math::Bbox_struct<mi::Float32, 3>
get_node_box(mi::Uint32 inode)
const = 0;
178 virtual mi::Sint32
get_node_child(mi::Uint32 inode, mi::Uint32 ichild)
const = 0;
Domain specific subdivision with topology information.
Definition: iaffinity_information.h:147
Topology_type
Subdivision schemes can rely on different topologies.
Definition: iaffinity_information.h:151
@ TOPO_KD_TREE
! Kd-tree based topology.
Definition: iaffinity_information.h:152
@ TOPO_OCTREE
! Octree-based topology.
Definition: iaffinity_information.h:153
virtual mi::Uint32 get_node_child_count(mi::Uint32 inode) const =0
Get the number of children of node inode.
virtual mi::Sint32 get_node_child(mi::Uint32 inode, mi::Uint32 ichild) const =0
Get a child index of the node inode.
virtual mi::math::Bbox_struct< mi::Float32, 3 > get_node_box(mi::Uint32 inode) const =0
Get the bounding box of the node inode.
virtual mi::Uint32 get_topology_type() const =0
Get type of topology,.
virtual mi::Uint32 get_nb_nodes() const =0
Get the total number of nodes of the topology.
virtual mi::Sint32 get_node_subregion_index(mi::Uint32 inode) const =0
Get index of subregion associated with node inode (or -1, if no subregion).
Domain specific subdivision and data distribution.
Definition: iaffinity_information.h:111
virtual mi::Uint32 get_nb_subregions() const =0
Provides the number of spatial regions that span the application's decomposition scheme.
virtual mi::math::Bbox_struct< mi::Float32, 3 > get_subregion(mi::Uint32 index) const =0
Provides each spatial regions according to on the given index.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349