Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-13 08:53:54

0001 //------------------------------- -*- C++ -*- -------------------------------//
0002 // Copyright Celeritas contributors: see top-level COPYRIGHT file for details
0003 // SPDX-License-Identifier: (Apache-2.0 OR MIT)
0004 //---------------------------------------------------------------------------//
0005 //! \file corecel/random/engine/RngEngine.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include "corecel/Config.hh"
0010 
0011 // IWYU pragma: begin_exports
0012 // Alias core RNG type using on compile-time RNG selection
0013 #if (CELERITAS_CORE_RNG == CELERITAS_CORE_RNG_CURAND) \
0014     || (CELERITAS_CORE_RNG == CELERITAS_CORE_RNG_HIPRAND)
0015 #    include "CuHipRngEngine.hh"
0016 namespace celeritas
0017 {
0018 using RngEngine = CuHipRngEngine;
0019 }
0020 #elif (CELERITAS_CORE_RNG == CELERITAS_CORE_RNG_XORWOW)
0021 #    include "XorwowRngEngine.hh"
0022 namespace celeritas
0023 {
0024 using RngEngine = XorwowRngEngine;
0025 }
0026 #endif
0027 // IWYU pragma: end_exports