|
|
|||
File indexing completed on 2026-07-26 08:22:04
0001 /** TRACCC library, part of the ACTS project (R&D line) 0002 * 0003 * (c) 2025 CERN for the benefit of the ACTS project 0004 * 0005 * Mozilla Public License Version 2.0 0006 */ 0007 0008 // Local include(s). 0009 #include "utils.hpp" 0010 0011 // Project include(s). 0012 #include "traccc/alpaka/utils/get_device_info.hpp" 0013 0014 namespace traccc::alpaka { 0015 0016 std::string get_device_info() { 0017 int device = 0; 0018 auto devAcc = ::alpaka::getDevByIdx(::alpaka::Platform<Acc>{}, 0u); 0019 return std::string("Using Alpaka device: " + ::alpaka::getName(devAcc) + 0020 " [id: " + std::to_string(device) + "] "); 0021 } 0022 0023 } // namespace traccc::alpaka
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|