![]() |
|
|||
File indexing completed on 2025-09-15 08:59:51
0001 //------------------------------- -*- C++ -*- -------------------------------// 0002 // Copyright Celeritas contributors: see top-level COPYRIGHT file for details 0003 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 0004 //---------------------------------------------------------------------------// 0005 /*! 0006 * \file geocel/rasterize/RaytraceImager.nocuda.t.hh 0007 * \brief Template definitions for \c RaytraceImager when CUDA is unsupported 0008 * 0009 * If a particular geometry does not support device raytracing, include this 0010 * file alongside \c RaytraceImager.t.hh before instantiating \c 0011 * RaytraceImager. 0012 */ 0013 //---------------------------------------------------------------------------// 0014 #pragma once 0015 0016 #include "RaytraceImager.hh" 0017 0018 #include "corecel/Config.hh" 0019 0020 #include "corecel/Macros.hh" 0021 0022 namespace celeritas 0023 { 0024 #if CELER_USE_DEVICE 0025 //---------------------------------------------------------------------------// 0026 /*! 0027 * Launch the raytrace kernel on device. 0028 */ 0029 template<class G> 0030 void RaytraceImager<G>::launch_raytrace_kernel( 0031 GeoParamsCRef<MemSpace::device> const&, 0032 GeoStateRef<MemSpace::device> const&, 0033 ImageParamsCRef<MemSpace::device> const&, 0034 ImageStateRef<MemSpace::device> const&) const 0035 { 0036 CELER_ASSERT_UNREACHABLE(); 0037 } 0038 #endif 0039 0040 //---------------------------------------------------------------------------// 0041 } // namespace celeritas
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |