forked from celeritas-project/celeritas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RaytraceImager.nocuda.t.hh
41 lines (37 loc) · 1.37 KB
/
RaytraceImager.nocuda.t.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//----------------------------------*-C++-*----------------------------------//
// Copyright 2024 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//---------------------------------------------------------------------------//
/*!
* \file geocel/rasterize/RaytraceImager.nocuda.t.hh
* \brief Template definition file for \c RaytraceImager when CUDA unsupported.
*
* If a particular geometry does not support device raytracing, include this
* file alongside \c RaytraceImager.t.hh before instantiating \c
* RaytraceImager.
*/
//---------------------------------------------------------------------------//
#pragma once
#include "geocel/rasterize/RaytraceImager.hh"
#include "celeritas_config.h"
#include "corecel/Macros.hh"
namespace celeritas
{
#if CELER_USE_DEVICE
//---------------------------------------------------------------------------//
/*!
* Launch the raytrace kernel on device.
*/
template<class G>
void RaytraceImager<G>::launch_raytrace_kernel(
GeoParamsCRef<MemSpace::device> const&,
GeoStateRef<MemSpace::device> const&,
ImageParamsCRef<MemSpace::device> const&,
ImageStateRef<MemSpace::device> const&) const
{
CELER_ASSERT_UNREACHABLE();
}
#endif
//---------------------------------------------------------------------------//
} // namespace celeritas