mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Merge topic 'anari_sdk_compatibility'
c3489535a adjustments for upcoming ANARI-SDK changes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kenneth Moreland <morelandkd@ornl.gov> Merge-request: !3147
This commit is contained in:
commit
b7125bd6fc
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user