ISAAC
Overview :: Library Doc :: Server Doc :: JSON Commands

In Situ Animation of Accelerated Computations

Macros
isaac_defines.hpp File Reference
#include <boost/preprocessor.hpp>
Include dependency graph for isaac_defines.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ISAAC_VECTOR_ELEM   2
 
#define ISAAC_MAX_DIFFERENCE   4
 
#define ISAAC_MAX_FUNCTORS   3
 
#define ISAAC_FUNCTOR_COMPLEX_SUBDEF(Z, I, U)   * ISAAC_FUNCTOR_COUNT
 
#define ISAAC_FUNCTOR_COMPLEX   ( ISAAC_FUNCTOR_COUNT BOOST_PP_REPEAT( BOOST_PP_DEC( ISAAC_MAX_FUNCTORS ), ISAAC_FUNCTOR_COMPLEX_SUBDEF, ~) )
 
#define ISAAC_MAX_SOURCES   16
 
#define ISAAC_GUARD_SIZE   2
 
#define ISAAC_DEFAULT_STEP   0.5
 
#define ISAAC_MAX_CLIPPING   16
 
#define ISAAC_DEFAULT_WEIGHT   isaac_float( 2 )
 
#define ISAAC_MAX_RECEIVE   262144
 
#define ISAAC_Z_NEAR   1.0f
 
#define ISAAC_Z_FAR   100.0f
 
#define ISAAC_HOST_DEVICE_INLINE   __device__ __host__ __forceinline__
 
#define ISAAC_HOST_INLINE   __host__ __forceinline__
 
#define ISAAC_DEVICE_INLINE   __device__ __forceinline__
 
#define ISAAC_DEVICE
 
#define ISAAC_NO_HOST_DEVICE_WARNING
 
#define ISAAC_ELEM_ITERATE(NAME)   for (isaac_uint NAME = 0; NAME < isaac_uint(ISAAC_VECTOR_ELEM); NAME++)
 
#define ISAAC_ELEM_ALL_TRUE_RETURN(NAME)
 
#define ISAAC_CONSTANT   __constant__
 
#define ISAAC_MAX   std::max
 
#define ISAAC_MIN   std::min
 

Macro Definition Documentation

§ ISAAC_CONSTANT

#define ISAAC_CONSTANT   __constant__

Definition at line 109 of file isaac_defines.hpp.

§ ISAAC_DEFAULT_STEP

#define ISAAC_DEFAULT_STEP   0.5

Definition at line 45 of file isaac_defines.hpp.

§ ISAAC_DEFAULT_WEIGHT

#define ISAAC_DEFAULT_WEIGHT   isaac_float( 2 )

Definition at line 53 of file isaac_defines.hpp.

§ ISAAC_DEVICE

#define ISAAC_DEVICE

Definition at line 85 of file isaac_defines.hpp.

§ ISAAC_DEVICE_INLINE

#define ISAAC_DEVICE_INLINE   __device__ __forceinline__

Definition at line 79 of file isaac_defines.hpp.

§ ISAAC_ELEM_ALL_TRUE_RETURN

#define ISAAC_ELEM_ALL_TRUE_RETURN (   NAME)
Value:
{ \
bool all_true = true; \
for (isaac_uint e = 0; e < isaac_uint(ISAAC_VECTOR_ELEM); e++) \
if (NAME[e] == false) \
all_true = false; \
if (all_true) \
return; \
}
uint32_t isaac_uint
Definition: isaac_types.hpp:27
#define ISAAC_VECTOR_ELEM

Definition at line 96 of file isaac_defines.hpp.

§ ISAAC_ELEM_ITERATE

#define ISAAC_ELEM_ITERATE (   NAME)    for (isaac_uint NAME = 0; NAME < isaac_uint(ISAAC_VECTOR_ELEM); NAME++)

Definition at line 94 of file isaac_defines.hpp.

§ ISAAC_FUNCTOR_COMPLEX

#define ISAAC_FUNCTOR_COMPLEX   ( ISAAC_FUNCTOR_COUNT BOOST_PP_REPEAT( BOOST_PP_DEC( ISAAC_MAX_FUNCTORS ), ISAAC_FUNCTOR_COMPLEX_SUBDEF, ~) )

Definition at line 34 of file isaac_defines.hpp.

§ ISAAC_FUNCTOR_COMPLEX_SUBDEF

#define ISAAC_FUNCTOR_COMPLEX_SUBDEF (   Z,
  I,
 
)    * ISAAC_FUNCTOR_COUNT

Definition at line 33 of file isaac_defines.hpp.

§ ISAAC_GUARD_SIZE

#define ISAAC_GUARD_SIZE   2

Definition at line 41 of file isaac_defines.hpp.

§ ISAAC_HOST_DEVICE_INLINE

#define ISAAC_HOST_DEVICE_INLINE   __device__ __host__ __forceinline__

Definition at line 67 of file isaac_defines.hpp.

§ ISAAC_HOST_INLINE

#define ISAAC_HOST_INLINE   __host__ __forceinline__

Definition at line 73 of file isaac_defines.hpp.

§ ISAAC_MAX

#define ISAAC_MAX   std::max

Definition at line 116 of file isaac_defines.hpp.

§ ISAAC_MAX_CLIPPING

#define ISAAC_MAX_CLIPPING   16

Definition at line 49 of file isaac_defines.hpp.

§ ISAAC_MAX_DIFFERENCE

#define ISAAC_MAX_DIFFERENCE   4

Definition at line 25 of file isaac_defines.hpp.

§ ISAAC_MAX_FUNCTORS

#define ISAAC_MAX_FUNCTORS   3

Definition at line 29 of file isaac_defines.hpp.

§ ISAAC_MAX_RECEIVE

#define ISAAC_MAX_RECEIVE   262144

Definition at line 56 of file isaac_defines.hpp.

§ ISAAC_MAX_SOURCES

#define ISAAC_MAX_SOURCES   16

Definition at line 37 of file isaac_defines.hpp.

§ ISAAC_MIN

#define ISAAC_MIN   std::min

Definition at line 117 of file isaac_defines.hpp.

§ ISAAC_NO_HOST_DEVICE_WARNING

#define ISAAC_NO_HOST_DEVICE_WARNING

Definition at line 91 of file isaac_defines.hpp.

§ ISAAC_VECTOR_ELEM

#define ISAAC_VECTOR_ELEM   2

Definition at line 21 of file isaac_defines.hpp.

§ ISAAC_Z_FAR

#define ISAAC_Z_FAR   100.0f

Definition at line 58 of file isaac_defines.hpp.

§ ISAAC_Z_NEAR

#define ISAAC_Z_NEAR   1.0f

Definition at line 57 of file isaac_defines.hpp.