.. _program_listing_file_include_flamegpu_detail_curand.cuh: Program Listing for File curand.cuh =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``include/flamegpu/detail/curand.cuh``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef INCLUDE_FLAMEGPU_DETAIL_CURAND_CUH_ #define INCLUDE_FLAMEGPU_DETAIL_CURAND_CUH_ // This header exists to allow a convenient way to switch between curand implementations #include namespace flamegpu { namespace detail { #if defined(FLAMEGPU_CURAND_MRG32k3a) typedef curandStateMRG32k3a_t curandState; #elif defined(FLAMEGPU_CURAND_XORWOW) typedef curandStateXORWOW_t curandState; #else // defined(FLAMEGPU_CURAND_Philox4_32_10) typedef curandStatePhilox4_32_10_t curandState; #endif } // namespace detail } // namespace flamegpu #endif // INCLUDE_FLAMEGPU_DETAIL_CURAND_CUH_