ATLAS Offline Software
Loading...
Searching...
No Matches
LoadGpuFuncHist.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_LOADGPUFUNCHIST_H
6#define ISF_FASTCALOGPU_LOADGPUFUNCHIST_H
7
8#include "FH_structs.h"
9
11
12 public:
15
16 void set_hf( FHs* hf_ptr ) { m_hf = hf_ptr; }
17 void set_d_hf( FHs* hf_ptr ) { m_hf_d = hf_ptr; }
18 void set_hf2d( FH2D* hf_ptr ) { m_hf2d = hf_ptr; }
19 void set_d_hf2d( FH2D* hf_ptr ) { m_hf2d_d = hf_ptr; }
20 FHs* hf() const { return m_hf; }
21 FHs* hf_h() const { return m_hf_h; } // device ptr on HOST
22 FHs* hf_d() const { return m_hf_d; } // device ptr on DEVICE
23 FH2D* hf2d() const { return m_hf2d; }
24 FH2D* hf2d_h() const { return m_hf2d_h; } // device ptr on HOST
25 FH2D* hf2d_d() const { return m_hf2d_d; } // device ptr on DEVICE
26
27 void LD();
28 void LD2D();
29
30 private:
31 struct FHs* m_hf{0};
32 struct FHs* m_hf_d{0}; // device pointer
33 struct FHs* m_hf_h{0}; // host pointer to struct hold device param that is copied to device
34
35 struct FH2D* m_hf2d{0};
36 struct FH2D* m_hf2d_d{0}; // device pointer
37 struct FH2D* m_hf2d_h{0}; // host pointer struct hold device param to be copied to device
38
39};
40
41
42#endif
FH2D * hf2d_h() const
FHs * hf_h() const
FHs * hf_d() const
void set_d_hf2d(FH2D *hf_ptr)
struct FHs * m_hf_d
FHs * hf() const
void set_hf2d(FH2D *hf_ptr)
struct FH2D * m_hf2d_h
FH2D * hf2d_d() const
struct FH2D * m_hf2d_d
struct FHs * m_hf_h
void set_d_hf(FHs *hf_ptr)
void set_hf(FHs *hf_ptr)
FH2D * hf2d() const
struct FH2D * m_hf2d
struct FHs * m_hf