anari-library-viskores
October 28, 2025 ยท View on GitHub
Proof-of-concept ANARI device implementation built using Viskores.
Build + install
Building this library requires the following:
Viskores and ANARI-SDK can be found via placing their installation locations on
CMAKE_PREFIX_PATH.
The ANARI-SDK only requires that the resulting library is available on the
runtime library search path (i.e. LD_LIBRARY_PATH on Linux or
DYLD_LIBRARY_PATH on MacOS). Alternatively, setting CMAKE_INSTALL_PREFIX to
where ANARI-SDK is installed will install the Viskores device library next to
libanari, which will also find it instead of using a runtime library search
path.
Once you have set up your LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH or placed
the Viskores libraries next to the SDK), you can test the Viskores data with a
command like this:
./ANARI-SDK/build/anariRenderTests -l viskores --scene demo gravity_spheres_volume