|
||||
File indexing completed on 2025-01-18 09:54:50
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 corecel/sys/ThreadId.hh 0007 //! \todo Rename to corecel/Id.hh 0008 //---------------------------------------------------------------------------// 0009 #pragma once 0010 0011 #include "corecel/OpaqueId.hh" 0012 0013 namespace celeritas 0014 { 0015 //---------------------------------------------------------------------------// 0016 //! Unique ID for multithreading/multitasking 0017 using StreamId = OpaqueId<class Stream_>; 0018 0019 //! Index of a thread inside the current kernel 0020 using ThreadId = OpaqueId<struct Thread_>; 0021 0022 //! Index of a state inside the vector of all states 0023 using TrackSlotId = OpaqueId<struct TrackSlot_>; 0024 0025 //! Within-step action to apply to a track 0026 using ActionId = OpaqueId<class ActionInterface>; 0027 0028 //---------------------------------------------------------------------------// 0029 } // namespace celeritas
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |