Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-27 08:33:40

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 #pragma once
0010 
0011 #include <string_view>
0012 
0013 namespace ActsPlugins::detail {
0014 
0015 /// Report that a CUDA-only code path was reached in a build configured without
0016 /// CUDA. Shared by the no-CUDA implementations of the device entry points, so
0017 /// they read as one line each.
0018 ///
0019 /// @param operation what the caller was asked to do, phrased to follow
0020 ///        "Cannot ", e.g. "clone CUDA tensor"
0021 [[noreturn]] void throwNoCudaSupport(std::string_view operation);
0022 
0023 }  // namespace ActsPlugins::detail