![]() |
Project
|
#include <Spline1DSpec.h>
Inherits o2::gpu::Spline1DContainerBase< DataT, NoFlatObject >.
Public Member Functions | |
| GPUd () const int32_t *getUtoKnotMapFromBuffer(const char *flatBuf) const | |
| Get the U->knot-index map from an explicit flat buffer pointer. | |
| template<SafetyLevel SafeT = SafetyLevel::kSafe> | |
| GPUd () int32_t getLeftKnotIndexForUFromBuffer(const char *flatBuf | |
| if (SafeT==SafetyLevel::kSafe) | |
| return | getUtoKnotMapFromBuffer (flatBuf)[iu] |
| GPUd () const Knot< DataT > *getKnotsFromBuffer(const char *flatBuf) const | |
| template<SafetyLevel SafeT = SafetyLevel::kSafe> | |
| GPUd () const Knot< DataT > &getKnotFromBuffer(const char *flatBuf | |
| void | destroy () |
| GPUdi () void setActualBufferAddress(char *) | |
| GPUdi () void setFutureBufferAddress(char *) | |
| template<class OtherFlatBase > | |
| void | importFrom (const Spline1DContainerBase< DataT, OtherFlatBase > &src) |
| Copy schema fields from a spline with a different FlatBase (no pointer members to copy). | |
Public Member Functions inherited from o2::gpu::Spline1DContainerBase< DataT, NoFlatObject > | |
| GPUd () static const expr int32_t getVersion() | |
| _____________ Version control __________________________ | |
| GPUd () int32_t getUmax() const | |
| _______________ Getters ________________________ | |
| GPUd () int32_t getYdimensions() const | |
| Get number of Y dimensions. | |
| GPUd () size_t getParameterAlignmentBytes() const | |
| Get minimal required alignment for the spline parameters. | |
| GPUd () int32_t getNumberOfParameters() const | |
| Number of parameters. | |
| GPUd () size_t getSizeOfParameters() const | |
| Size of the parameter array in bytes. | |
| GPUd () int32_t getNumberOfKnots() const | |
| Get a number of knots. | |
| GPUd () DataT convXtoU(DataT x) const | |
| _______________ Technical stuff ________________________ | |
| GPUd () DataT convUtoX(DataT u) const | |
| Convert U coordinate to X. | |
| GPUd () DataT getXmin() const | |
| Get Xmin. | |
| GPUd () DataT getXmax() const | |
| Get Xmax. | |
| GPUd () DataT getXtoUscale() const | |
| Get XtoUscale. | |
| GPUd () void setXrange(DataT xMin | |
| Set X range. | |
| GPUd () int32_t calcNumberOfParameters(int32_t nYdim) const | |
| _______________ Expert tools _______________ | |
| Spline1DContainerBase ()=default | |
| _____________ C++ constructors / destructors __________________________ | |
| Spline1DContainerBase (const Spline1DContainerBase &)=delete | |
| Disable all other constructors. | |
| ~Spline1DContainerBase ()=default | |
| Destructor. | |
Public Member Functions inherited from o2::gpu::NoFlatObject | |
| GPUdi () size_t getFlatBufferSize() const | |
Public Attributes | |
| DataT u | const |
| int32_t i | const |
Public Attributes inherited from o2::gpu::Spline1DContainerBase< DataT, NoFlatObject > | |
| DataT | xMax |
| int32_t | mYdim |
| _____________ Data members ____________ | |
| int32_t | mNumberOfKnots |
| n knots on the grid | |
| int32_t | mUmax |
| U of the last knot. | |
| DataT | mXmin |
| X of the first knot. | |
| DataT | mXtoUscale |
| a scaling factor to convert X to U | |
Public Attributes inherited from o2::gpu::NoFlatObject | |
| int32_t | mFlatBufferSize = 0 |
Additional Inherited Members | |
Static Public Member Functions inherited from o2::gpu::NoFlatObject | |
| static constexpr size_t | getClassAlignmentBytes () |
| static constexpr size_t | getBufferAlignmentBytes () |
Definition at line 217 of file Spline1DSpec.h.
|
inline |
Definition at line 255 of file Spline1DSpec.h.
| return o2::gpu::Spline1DContainer< DataT, NoFlatObject >::getUtoKnotMapFromBuffer | ( | flatBuf | ) |
|
inline |
Get the U->knot-index map from an explicit flat buffer pointer.
Definition at line 221 of file Spline1DSpec.h.
| o2::gpu::Spline1DContainer< DataT, NoFlatObject >::GPUd | ( | ) | const & |
Get i-th knot from an explicit flat buffer pointer. Use this instead of getKnot() on the zero-copy path.
|
inline |
Get the knot array from an explicit flat buffer pointer. Use this instead of getKnots() when the object was copied across process boundaries and mFlatBufferPtr has not been fixed up (zero-copy path).
Definition at line 241 of file Spline1DSpec.h.
| o2::gpu::Spline1DContainer< DataT, NoFlatObject >::GPUd | ( | ) | const |
Map a U coordinate to its left knot index, using an explicit flat buffer pointer. Use this instead of getLeftKnotIndexForU() on the zero-copy path.
|
inline |
Definition at line 264 of file Spline1DSpec.h.
|
inline |
Definition at line 265 of file Spline1DSpec.h.
|
inline |
Definition at line 232 of file Spline1DSpec.h.
|
inline |
Copy schema fields from a spline with a different FlatBase (no pointer members to copy).
Definition at line 270 of file Spline1DSpec.h.
| DataT u o2::gpu::Spline1DContainer< DataT, NoFlatObject >::const |
Definition at line 229 of file Spline1DSpec.h.
| int32_t i o2::gpu::Spline1DContainer< DataT, NoFlatObject >::const |
Definition at line 246 of file Spline1DSpec.h.