![]() |
|
|||
File indexing completed on 2025-09-16 08:52:44
0001 /*-----------------------------------*-C-*------------------------------------- 0002 * Copyright 2022-2024 UT-Battelle, LLC, and other Celeritas developers. 0003 * See the top-level COPYRIGHT file for details. 0004 * SPDX-License-Identifier: (Apache-2.0 OR MIT) 0005 *---------------------------------------------------------------------------*/ 0006 /*! 0007 * \file corecel/device_runtime_api.h 0008 * \brief Include CUDA or HIP runtime APIs for compiling with host/cc compiler. 0009 * \deprecated This file should be replaced by "corecel/DeviceRuntimeApi.hh". 0010 */ 0011 // DEPRECATED: remove in Celeritas v1.0 0012 //---------------------------------------------------------------------------// 0013 #ifndef CELERITAS_DEVICE_RUNTIME_API_H 0014 #define CELERITAS_DEVICE_RUNTIME_API_H 0015 0016 #if __cplusplus < 201703L 0017 # error "Celeritas requires C++17 or greater and is not C compatible" 0018 #endif 0019 0020 #if __GNUC__ > 8 || __clang__ 0021 # pragma GCC warning \ 0022 "corecel/device_runtime_api.h is deprecated and should be replaced by \"corecel/DeviceRuntimeApi.hh\"" 0023 #endif 0024 0025 #include "DeviceRuntimeApi.hh" 0026 0027 #endif /* CELERITAS_DEVICE_RUNTIME_API_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |