11 #include <isce3/core/Common.h>
12 #include <isce3/geometry/forward.h>
23 gpuTopoLayers(
const gpuTopoLayers & layers) :
29 _localInc(layers._localInc),
30 _localPsi(layers._localPsi),
32 _crossTrack(layers._crossTrack),
33 _length(layers.length()),
34 _width(layers.width()),
35 _nbytes_double(layers.nbytes_double()),
36 _nbytes_float(layers.nbytes_float()),
41 CUDA_HOST ~gpuTopoLayers();
44 CUDA_DEV
inline void x(
size_t index,
double value) {
48 CUDA_DEV
inline void y(
size_t index,
double value) {
52 CUDA_DEV
inline void z(
size_t index,
double value) {
56 CUDA_DEV
inline void inc(
size_t index,
float value) {
60 CUDA_DEV
inline void hdg(
size_t index,
float value) {
64 CUDA_DEV
inline void localInc(
size_t index,
float value) {
65 _localInc[index] = value;
68 CUDA_DEV
inline void localPsi(
size_t index,
float value) {
69 _localPsi[index] = value;
72 CUDA_DEV
inline void sim(
size_t index,
float value) {
76 CUDA_DEV
inline void crossTrack(
size_t index,
double value) {
77 _crossTrack[index] = value;
81 CUDA_HOSTDEV
inline size_t length()
const {
return _length; }
82 CUDA_HOSTDEV
inline size_t width()
const {
return _width; }
83 CUDA_HOSTDEV
inline size_t nbytes_double()
const {
return _nbytes_double; }
84 CUDA_HOSTDEV
inline size_t nbytes_float()
const {
return _nbytes_float; }
100 double * _crossTrack;
105 size_t _nbytes_double, _nbytes_float;
Definition: gpuTopoLayers.h:15
Definition: TopoLayers.h:15