载入中...
搜索中...
未找到
eve::procgen::PointCompute类 参考

Backend-neutral GPU kernels used by PointGraph with deterministic CPU fallback. 更多...

#include <PointCompute.h>

类

struct  Impl
 
struct  Transform
 One transform operation in a fused point-compute dispatch. 更多...
 

Public 成员函数

 PointCompute ()
 
 ~PointCompute ()
 
 PointCompute (const PointCompute &)=delete
 
PointCompute & operator= (const PointCompute &)=delete
 
bool transform (const PointSet &input, PointSet &output, float translateX, float translateY, float translateZ, float yawDegrees, float scaleX, float scaleY, float scaleZ)
 Transform attributed points through the active Vulkan or WebGPU compute backend.
 
bool transformChain (const PointSet &input, PointSet &output, const std::vector< Transform > &transforms)
 Execute one to four transforms in one upload, dispatch and readback.
 
const std::string & getError () const
 Return the last GPU unavailability, compilation, dispatch, or readback error.
 
uint64_t getUploadCount () const
 Return successful host-to-GPU upload count for this executor.
 
uint64_t getDispatchCount () const
 Return successful compute dispatch count for this executor.
 
uint64_t getReadbackCount () const
 Return successful GPU-to-host readback count for this executor.
 
uint64_t getBufferReuseCount () const
 Return executions that reused existing GPU buffers.
 
uint64_t getPeakBufferBytes () const
 Return peak bytes reserved in each reusable GPU point buffer.
 
int getLastFusedTransformCount () const
 Return logical transform count in the most recent successful dispatch.
 

详细描述

Backend-neutral GPU kernels used by PointGraph with deterministic CPU fallback.

在文件 PointCompute.h 第 13 行定义.

构造及析构函数说明

◆ PointCompute() [1/2]

eve::procgen::PointCompute::PointCompute ( )

在文件 PointCompute.cpp 第 144 行定义.

◆ ~PointCompute()

eve::procgen::PointCompute::~PointCompute ( )
default

◆ PointCompute() [2/2]

eve::procgen::PointCompute::PointCompute ( const PointCompute &  )
delete

成员函数说明

◆ getBufferReuseCount()

uint64_t eve::procgen::PointCompute::getBufferReuseCount ( ) const

Return executions that reused existing GPU buffers.

在文件 PointCompute.cpp 第 282 行定义.

◆ getDispatchCount()

uint64_t eve::procgen::PointCompute::getDispatchCount ( ) const

Return successful compute dispatch count for this executor.

在文件 PointCompute.cpp 第 280 行定义.

◆ getError()

const std::string & eve::procgen::PointCompute::getError ( ) const
inline

Return the last GPU unavailability, compilation, dispatch, or readback error.

在文件 PointCompute.h 第 42 行定义.

◆ getLastFusedTransformCount()

int eve::procgen::PointCompute::getLastFusedTransformCount ( ) const

Return logical transform count in the most recent successful dispatch.

在文件 PointCompute.cpp 第 284 行定义.

◆ getPeakBufferBytes()

uint64_t eve::procgen::PointCompute::getPeakBufferBytes ( ) const

Return peak bytes reserved in each reusable GPU point buffer.

在文件 PointCompute.cpp 第 283 行定义.

◆ getReadbackCount()

uint64_t eve::procgen::PointCompute::getReadbackCount ( ) const

Return successful GPU-to-host readback count for this executor.

在文件 PointCompute.cpp 第 281 行定义.

◆ getUploadCount()

uint64_t eve::procgen::PointCompute::getUploadCount ( ) const

Return successful host-to-GPU upload count for this executor.

在文件 PointCompute.cpp 第 279 行定义.

◆ operator=()

PointCompute & eve::procgen::PointCompute::operator= ( const PointCompute &  )
delete

◆ transform()

bool eve::procgen::PointCompute::transform ( const PointSet &  input,
PointSet &  output,
float  translateX,
float  translateY,
float  translateZ,
float  yawDegrees,
float  scaleX,
float  scaleY,
float  scaleZ 
)

Transform attributed points through the active Vulkan or WebGPU compute backend.

返回
True when GPU execution completed; false leaves output untouched and describes the fallback reason in getError().

在文件 PointCompute.cpp 第 147 行定义.

引用了 input, output , 以及 transformChain().

被这些函数引用 transformChain().

◆ transformChain()

bool eve::procgen::PointCompute::transformChain ( const PointSet &  input,
PointSet &  output,
const std::vector< Transform > &  transforms 
)

Execute one to four transforms in one upload, dispatch and readback.

返回
True when GPU execution completed; false leaves output untouched.

在文件 PointCompute.cpp 第 152 行定义.

引用了 capacity, index, input, offset, output, point, transform(), values , 以及 eve::procgen::ProcgenPoint::x.

被这些函数引用 transform().


该类的文档由以下文件生成: