CMS 3D CMS Logo

Classes | Typedefs | Functions
portabletest Namespace Reference

Classes

struct  TestSoALayout
 
struct  TestSoALayout2
 
struct  TestSoALayout3
 
struct  TestSoALayoutWithPtr
 
struct  TestStruct
 

Typedefs

using Array = edm::StdArray< short, 4 >
 
using Matrix = Eigen::Matrix< double, 3, 6 >
 
using TestHostCollection = PortableHostCollection< TestSoA >
 
using TestHostMultiCollection2 = PortableHostCollection2< TestSoA, TestSoA2 >
 
using TestHostMultiCollection3 = PortableHostCollection3< TestSoA, TestSoA2, TestSoA3 >
 
using TestHostObject = PortableHostObject< TestStruct >
 
template<typename TDev >
using TestProductWithPtr = PortableCollection< TestSoAWithPtr, TDev >
 
using TestSoA = TestSoALayout<>
 
using TestSoA2 = TestSoALayout2<>
 
using TestSoA3 = TestSoALayout3<>
 
using TestSoAWithPtr = TestSoALayoutWithPtr<>
 

Functions

ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE void setPtrInTestProductWithPtr (TestSoAWithPtr::View view)
 

Detailed Description

This data product is part of a test for CopyToHost::postCopy() (i.e. updating a data product after the device-to-host copy). For any practical purposes the indirection to 'buffer' array via the 'ptr' pointer scalar is completely unnecessary. Do not take this case as an example for good design of a data product.

Typedef Documentation

◆ Array

using portabletest::Array = typedef edm::StdArray<short, 4>

Definition at line 17 of file TestSoA.h.

◆ Matrix

using portabletest::Matrix = typedef Eigen::Matrix<double, 3, 6>

Definition at line 19 of file TestSoA.h.

◆ TestHostCollection

Definition at line 10 of file TestHostCollection.h.

◆ TestHostMultiCollection2

Definition at line 12 of file TestHostCollection.h.

◆ TestHostMultiCollection3

Definition at line 14 of file TestHostCollection.h.

◆ TestHostObject

Definition at line 10 of file TestHostObject.h.

◆ TestProductWithPtr

template<typename TDev >
using portabletest::TestProductWithPtr = typedef PortableCollection<TestSoAWithPtr, TDev>

Definition at line 25 of file TestProductWithPtr.h.

◆ TestSoA

Definition at line 33 of file TestSoA.h.

◆ TestSoA2

Definition at line 45 of file TestSoA.h.

◆ TestSoA3

Definition at line 57 of file TestSoA.h.

◆ TestSoAWithPtr

Definition at line 22 of file TestProductWithPtr.h.

Function Documentation

◆ setPtrInTestProductWithPtr()

ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE void portabletest::setPtrInTestProductWithPtr ( TestSoAWithPtr::View  view)