Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-16 08:27:19

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 accel/Types.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 namespace celeritas
0010 {
0011 //---------------------------------------------------------------------------//
0012 //! Setup mode for Celeritas usage
0013 enum class OffloadMode
0014 {
0015     uninitialized,  //!< Celeritas has not been initialized
0016     disabled,  //!< Offload is disabled
0017     kill_offload,  //!< Tracks are killed instead of offloaded
0018     enabled,  //!< Celeritas setup is complete
0019     size_
0020 };
0021 
0022 //---------------------------------------------------------------------------//
0023 }  // namespace celeritas