CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Attributes | Private Attributes
TestCUDAAnalyzerGPUKernel Class Reference

#include <TestCUDAAnalyzerGPUKernel.h>

Public Member Functions

void analyzeAsync (const float *d_input, cudaStream_t stream)
 
 TestCUDAAnalyzerGPUKernel (cudaStream_t stream)
 
float value (cudaStream_t stream) const
 
 ~TestCUDAAnalyzerGPUKernel ()=default
 

Static Public Attributes

static constexpr int NUM_VALUES = 4000
 

Private Attributes

cms::cuda::device::unique_ptr
< float[]> 
sum_
 

Detailed Description

Definition at line 8 of file TestCUDAAnalyzerGPUKernel.h.

Constructor & Destructor Documentation

TestCUDAAnalyzerGPUKernel::TestCUDAAnalyzerGPUKernel ( cudaStream_t  stream)
TestCUDAAnalyzerGPUKernel::~TestCUDAAnalyzerGPUKernel ( )
default

Member Function Documentation

void TestCUDAAnalyzerGPUKernel::analyzeAsync ( const float *  d_input,
cudaStream_t  stream 
)
float TestCUDAAnalyzerGPUKernel::value ( cudaStream_t  stream) const

Member Data Documentation

constexpr int TestCUDAAnalyzerGPUKernel::NUM_VALUES = 4000
static

Definition at line 10 of file TestCUDAAnalyzerGPUKernel.h.

cms::cuda::device::unique_ptr<float[]> TestCUDAAnalyzerGPUKernel::sum_
private

Definition at line 20 of file TestCUDAAnalyzerGPUKernel.h.