ATLAS Offline Software
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloGpu
ISF_FastCaloGpu
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
10
class
LoadGpuHist
{
11
12
public
:
13
LoadGpuHist
();
14
~LoadGpuHist
();
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
24
private
:
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
LoadGpuHist::hf1d
FH1D * hf1d() const
Definition:
LoadGpuHist.h:18
LoadGpuHist::LD1D
void LD1D()
FH1D
Definition:
FH_structs.h:22
LoadGpuHist::LoadGpuHist
LoadGpuHist()
LoadGpuHist::m_hf1d
struct FH1D * m_hf1d
Definition:
LoadGpuHist.h:25
LoadGpuHist::set_d_hf1d
void set_d_hf1d(FH1D *hf_ptr)
Definition:
LoadGpuHist.h:17
LoadGpuHist::set_hf1d
void set_hf1d(FH1D *hf_ptr)
Definition:
LoadGpuHist.h:16
LoadGpuHist::hf1d_h
FH1D * hf1d_h() const
Definition:
LoadGpuHist.h:20
LoadGpuHist::~LoadGpuHist
~LoadGpuHist()
LoadGpuHist
Definition:
LoadGpuHist.h:10
LoadGpuHist::m_hf1d_h
struct FH1D * m_hf1d_h
Definition:
LoadGpuHist.h:27
LoadGpuHist::hf1d_d
FH1D * hf1d_d() const
Definition:
LoadGpuHist.h:19
FH_structs.h
LoadGpuHist::m_hf1d_d
struct FH1D * m_hf1d_d
Definition:
LoadGpuHist.h:26
Generated on Tue Dec 24 2024 21:13:57 for ATLAS Offline Software by
1.8.18