CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
cms::cudatest::Thing Class Reference

#include <Thing.h>

Public Member Functions

const float * get () const
 
 Thing ()=default
 
 Thing (cms::cuda::device::unique_ptr< float[]> ptr)
 

Private Attributes

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

Detailed Description

Definition at line 8 of file Thing.h.

Constructor & Destructor Documentation

◆ Thing() [1/2]

cms::cudatest::Thing::Thing ( )
default

◆ Thing() [2/2]

cms::cudatest::Thing::Thing ( cms::cuda::device::unique_ptr< float[]>  ptr)
inlineexplicit

Definition at line 11 of file Thing.h.

11 : ptr_(std::move(ptr)) {}
cms::cuda::device::unique_ptr< float[]> ptr_
Definition: Thing.h:16
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

◆ get()

const float* cms::cudatest::Thing::get ( ) const
inline

Member Data Documentation

◆ ptr_

cms::cuda::device::unique_ptr<float[]> cms::cudatest::Thing::ptr_
private

Definition at line 16 of file Thing.h.

Referenced by get().