Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-17 08:54:09

0001 // Copyright Celeritas contributors: see top-level COPYRIGHT file for details
0002 // SPDX-License-Identifier: (Apache-2.0 OR MIT)
0003 //---------------------------------------------------------------------------//
0004 //! \file corecel/sys/detail/NvtxUtils.hh
0005 // //---------------------------------------------------------------------------//
0006 #pragma once
0007 
0008 #include <string_view>
0009 #include <nvtx3/nvToolsExt.h>
0010 
0011 namespace celeritas
0012 {
0013 //---------------------------------------------------------------------------//
0014 //! Library-wide handle to the domain name.
0015 nvtxDomainHandle_t domain_handle();
0016 
0017 //! Retrieve the handle for a given message.
0018 nvtxStringHandle_t message_handle_for(std::string_view message);
0019 
0020 //---------------------------------------------------------------------------//
0021 }  // namespace celeritas