CMS 3D CMS Logo

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::TestCUDAAnalyzerGPUKernel ( cudaStream_t  stream)

◆ ~TestCUDAAnalyzerGPUKernel()

TestCUDAAnalyzerGPUKernel::~TestCUDAAnalyzerGPUKernel ( )
default

Member Function Documentation

◆ analyzeAsync()

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

◆ value()

float TestCUDAAnalyzerGPUKernel::value ( cudaStream_t  stream) const

Member Data Documentation

◆ NUM_VALUES

constexpr int TestCUDAAnalyzerGPUKernel::NUM_VALUES = 4000
staticconstexpr

Definition at line 10 of file TestCUDAAnalyzerGPUKernel.h.

◆ sum_

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

Definition at line 20 of file TestCUDAAnalyzerGPUKernel.h.