2#define PERIDYNO_VERSION 0.8.2
3#define PERIDYNO_VERSION_MAJOR 0
4#define PERIDYNO_VERSION_MINOR 8
5#define PERIDYNO_VERSION_PATCH 2
8#if ((defined _WIN32) || (defined(__MINGW32__) || defined(__CYGWIN__))) && defined(_DLL)
9#if !defined(PERIDYNO_DLL) && !defined(PERIDYNO_STATIC)
14#if ((defined _WIN32) || (defined(__MINGW32__) || defined(__CYGWIN__))) && defined(PERIDYNO_DLL)
15#define PERIDYNO_EXPORT extern "C" __declspec(dllexport)
16#define PERIDYNO_IMPORT extern "C" __declspec(dllimport)
18#define PERIDYNO_EXPORT
19#define PERIDYNO_IMPORT
22#if defined(PERIDYNO_API_EXPORTS)
23#define PERIDYNO_API PERIDYNO_EXPORT
25#define PERIDYNO_API PERIDYNO_IMPORT
30#if(defined(CUDA_BACKEND))
31#include <cuda_runtime.h>
32# define DYN_FUNC __device__ __host__
33# define GPU_FUNC __device__
34# define CPU_FUNC __host__
48#define PRECISION_FLOAT
52#if defined(VK_USE_PLATFORM_ANDROID_KHR)
54#elif defined(VK_EXAMPLE_DATA_DIR)
55 return VK_EXAMPLE_DATA_DIR;
57 return "E:/Peridyno/peridyno/data/";
62 return "E:/Peridyno/build-peridyno-master/plugin/";