CMS 3D CMS Logo

TritonDummyCache.h
Go to the documentation of this file.
1 #ifndef HeterogeneousCore_SonicTriton_TritonDummyCache
2 #define HeterogeneousCore_SonicTriton_TritonDummyCache
3 
4 struct TritonDummyCache {};
5 
6 //Triton modules want to call initializeGlobalCache, but don't want GlobalCache pointer in constructor
7 //-> override framework function (can't partial specialize function templates)
8 namespace edm {
9  class ParameterSet;
10  namespace stream {
11  namespace impl {
12  template <typename T>
14  return new T(iPSet);
15  }
16  } // namespace impl
17  } // namespace stream
18 } // namespace edm
19 
20 #endif
edm
HLT enums.
Definition: AlignableModifier.h:19
cms::cuda::stream
cudaStream_t stream
Definition: HistoContainer.h:57
TritonDummyCache
Definition: TritonDummyCache.h:4
edm::stream::impl::makeStreamModule
T * makeStreamModule(edm::ParameterSet const &iPSet, DQMEDAnalyzerGlobalCache const *global)
Definition: DQMEDAnalyzer.h:15
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
impl
Definition: trackAlgoPriorityOrder.h:18
T
long double T
Definition: Basic3DVectorLD.h:48