Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-10-17 08:35:27

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 // Local include(s).
0010 #include "traccc/examples/throughput_st.hpp"
0011 
0012 #include "traccc/examples/hip/full_chain_algorithm.hpp"
0013 
0014 // VecMem include(s).
0015 #include <vecmem/memory/hip/host_memory_resource.hpp>
0016 
0017 int main(int argc, char* argv[]) {
0018   // We use a pinned HIP host memory resource to allocate memory for the
0019   // cell inputs in order to speed up the memory copies.
0020   vecmem::hip::host_memory_resource pinned_host_mr;
0021 
0022   // Execute the throughput test.
0023   return traccc::throughput_st<traccc::hip::full_chain_algorithm>(
0024       "Single-threaded HIP GPU throughput tests", argc, argv, &pinned_host_mr);
0025 }