ATLAS Offline Software
Loading...
Searching...
No Matches
LoadGpuHist.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ISF_FASTCALOGPU_LOADGPUHIST_H
6#define ISF_FASTCALOGPU_LOADGPUHIST_H
7
8#include "FH_structs.h"
9
11
12public:
15
16 void set_hf1d( FH1D* hf_ptr ) { m_hf1d = hf_ptr; }
17 void set_d_hf1d( FH1D* hf_ptr ) { m_hf1d_d = hf_ptr; }
18 FH1D* hf1d() const { return m_hf1d; }
19 FH1D* hf1d_d() const { return m_hf1d_d; }
20 FH1D* hf1d_h() const { return m_hf1d_h; } // device ptr on HOST
21
22 void LD1D();
23
24private:
25 struct FH1D* m_hf1d{0};
26 struct FH1D* m_hf1d_d{0}; // device pointer
27 struct FH1D* m_hf1d_h{0}; // host pointer struct hold device param to be copied to device
28
29};
30
31#endif
struct FH1D * m_hf1d_d
Definition LoadGpuHist.h:26
FH1D * hf1d_h() const
Definition LoadGpuHist.h:20
void set_hf1d(FH1D *hf_ptr)
Definition LoadGpuHist.h:16
FH1D * hf1d() const
Definition LoadGpuHist.h:18
struct FH1D * m_hf1d_h
Definition LoadGpuHist.h:27
void set_d_hf1d(FH1D *hf_ptr)
Definition LoadGpuHist.h:17
FH1D * hf1d_d() const
Definition LoadGpuHist.h:19
struct FH1D * m_hf1d
Definition LoadGpuHist.h:25