ATLAS Offline Software
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloGpu
ISF_FastCaloGpu
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
10
class
LoadGpuFuncHist
{
11
12
public
:
13
LoadGpuFuncHist
();
14
~LoadGpuFuncHist
();
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
LoadGpuFuncHist::m_hf
struct FHs * m_hf
Definition:
LoadGpuFuncHist.h:31
LoadGpuFuncHist::hf2d
FH2D * hf2d() const
Definition:
LoadGpuFuncHist.h:23
LoadGpuFuncHist::set_hf2d
void set_hf2d(FH2D *hf_ptr)
Definition:
LoadGpuFuncHist.h:18
LoadGpuFuncHist::m_hf_h
struct FHs * m_hf_h
Definition:
LoadGpuFuncHist.h:33
LoadGpuFuncHist::m_hf2d
struct FH2D * m_hf2d
Definition:
LoadGpuFuncHist.h:35
LoadGpuFuncHist::~LoadGpuFuncHist
~LoadGpuFuncHist()
LoadGpuFuncHist::m_hf2d_d
struct FH2D * m_hf2d_d
Definition:
LoadGpuFuncHist.h:36
LoadGpuFuncHist::hf2d_h
FH2D * hf2d_h() const
Definition:
LoadGpuFuncHist.h:24
LoadGpuFuncHist::m_hf_d
struct FHs * m_hf_d
Definition:
LoadGpuFuncHist.h:32
LoadGpuFuncHist
Definition:
LoadGpuFuncHist.h:10
LoadGpuFuncHist::hf2d_d
FH2D * hf2d_d() const
Definition:
LoadGpuFuncHist.h:25
LoadGpuFuncHist::set_hf
void set_hf(FHs *hf_ptr)
Definition:
LoadGpuFuncHist.h:16
LoadGpuFuncHist::LoadGpuFuncHist
LoadGpuFuncHist()
LoadGpuFuncHist::set_d_hf2d
void set_d_hf2d(FH2D *hf_ptr)
Definition:
LoadGpuFuncHist.h:19
LoadGpuFuncHist::LD
void LD()
LoadGpuFuncHist::LD2D
void LD2D()
LoadGpuFuncHist::hf_h
FHs * hf_h() const
Definition:
LoadGpuFuncHist.h:21
LoadGpuFuncHist::hf_d
FHs * hf_d() const
Definition:
LoadGpuFuncHist.h:22
LoadGpuFuncHist::m_hf2d_h
struct FH2D * m_hf2d_h
Definition:
LoadGpuFuncHist.h:37
LoadGpuFuncHist::hf
FHs * hf() const
Definition:
LoadGpuFuncHist.h:20
FH_structs.h
FH2D
Definition:
FH_structs.h:29
LoadGpuFuncHist::set_d_hf
void set_d_hf(FHs *hf_ptr)
Definition:
LoadGpuFuncHist.h:17
FHs
Definition:
FH_structs.h:10
Generated on Sat Jan 11 2025 21:13:44 for ATLAS Offline Software by
1.8.18