![]() |
|
|||
File indexing completed on 2025-02-22 10:31:30
0001 //----------------------------------*-C++-*----------------------------------// 0002 // Copyright 2022-2024 UT-Battelle, LLC, and other Celeritas developers. 0003 // See the top-level COPYRIGHT file for details. 0004 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 0005 //---------------------------------------------------------------------------// 0006 //! \file celeritas/random/RngEngine.hh 0007 //---------------------------------------------------------------------------// 0008 #pragma once 0009 0010 #include "corecel/Config.hh" 0011 0012 // IWYU pragma: begin_exports 0013 // Alias core RNG type using on compile-time RNG selection 0014 #if (CELERITAS_CORE_RNG == CELERITAS_CORE_RNG_CURAND) \ 0015 || (CELERITAS_CORE_RNG == CELERITAS_CORE_RNG_HIPRAND) 0016 # include "CuHipRngEngine.hh" 0017 namespace celeritas 0018 { 0019 using RngEngine = CuHipRngEngine; 0020 } 0021 #elif (CELERITAS_CORE_RNG == CELERITAS_CORE_RNG_XORWOW) 0022 # include "XorwowRngEngine.hh" 0023 namespace celeritas 0024 { 0025 using RngEngine = XorwowRngEngine; 0026 } 0027 #endif 0028 // IWYU pragma: end_exports
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |