|
core 1.5.0
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
|
Owning device-resident scene. Copyable (Views are shared_ptr-like); view() is cheap. More...
#include <device_scene.hpp>
Public Member Functions | |
| DeviceScene ()=default | |
| SceneView< Real > | view () const |
| Non-owning bundle over the device arrays; capture by value into kernels. | |
| bool | empty () const |
| int | instanceCount () const |
Static Public Member Functions | |
| static DeviceScene | from (const SceneBuilder< Real > &b) |
| Upload from a host SceneBuilder (the composition path). | |
| static DeviceScene | fromFlat (const std::vector< int > &nodeInts, const std::vector< Real > &nodeReals, const std::vector< int > &instInts, const std::vector< Real > &instReals) |
| Upload from the flat encoding (the binding path; see scene_builder.hpp for the layout). | |
Owning device-resident scene. Copyable (Views are shared_ptr-like); view() is cheap.
Definition at line 38 of file device_scene.hpp.
|
default |
|
inlinestatic |
Upload from a host SceneBuilder (the composition path).
Definition at line 43 of file device_scene.hpp.
References peclet::core::geom::SceneBuilder< Real >::grids(), peclet::core::geom::SceneBuilder< Real >::instances(), peclet::core::geom::SceneBuilder< Real >::nodes(), and peclet::core::geom::SceneBuilder< Real >::samples().
Referenced by peclet::core::geom::SceneQueryDevice< Real, MemSpace >::build(), and peclet::core::geom::DeviceScene< Real, MemSpace >::fromFlat().
|
inlinestatic |
Upload from the flat encoding (the binding path; see scene_builder.hpp for the layout).
Definition at line 50 of file device_scene.hpp.
References peclet::core::geom::SceneBuilder< Real >::decode(), and peclet::core::geom::DeviceScene< Real, MemSpace >::from().
|
inline |
Non-owning bundle over the device arrays; capture by value into kernels.
Definition at line 59 of file device_scene.hpp.
References peclet::core::geom::SceneView< Real >::gridCount, peclet::core::geom::SceneView< Real >::grids, peclet::core::geom::SceneView< Real >::instanceCount, peclet::core::geom::SceneView< Real >::instances, peclet::core::geom::SceneView< Real >::nodeCount, peclet::core::geom::SceneView< Real >::nodes, peclet::core::geom::SceneView< Real >::sampleCount, and peclet::core::geom::SceneView< Real >::samples.
|
inline |
Definition at line 104 of file device_scene.hpp.
|
inline |
Definition at line 105 of file device_scene.hpp.