adjustments for upcoming ANARI-SDK changes

This commit is contained in:
Jefferson Amstutz 2023-11-01 20:39:48 -05:00
parent 7c2a150c12
commit c3489535af

@ -15,15 +15,17 @@
#include <vtkm/Types.h>
// anari
#include <anari/anari_cpp.hpp>
#if ANARI_SDK_VERSION_MINOR <= 3
#include <anari/type_utility.h>
#endif
#include <anari/anari_cpp/ext/linalg.h>
namespace anari_cpp = ::anari;
namespace anari
{
#if ANARI_SDK_VERSION_MINOR >= 8
using namespace ::anari::math;
#endif
/// These declarations let ANARI C++ bindings infer the correct `ANARIDataType`
/// enum value from VTK-m's C++ math types. This header should be included
/// before any code which needs this type inference to function.