12#ifndef ARCANE_ACCELERATOR_CUDA_RUNTIME_INTERNAL_CUPTI_H
13#define ARCANE_ACCELERATOR_CUDA_RUNTIME_INTERNAL_CUPTI_H
17#include "arcane/utils/FixedArray.h"
19#include "arcane/accelerator/cuda/CudaAccelerator.h"
21#ifdef ARCANE_HAS_CUDA_CUPTI
29namespace Arcane::Accelerator::Cuda
41 void init(Int32 level,
bool do_print)
43 m_profiling_level = level;
44 m_do_print = do_print;
46 bool isActive()
const {
return m_is_active; }
50#ifdef ARCANE_HAS_CUDA_CUPTI
62#ifdef ARCANE_HAS_CUDA_CUPTI
64 CUpti_ActivityPCSamplingConfig configPC;
66 bool m_is_active =
false;
67 bool m_do_print =
true;
68 int m_profiling_level = 0;
Classe singleton pour gérer CUPTI.
Tableau 1D de taille fixe.