载入中...
搜索中...
未找到
PointCompute.cpp
浏览该文件的文档.
147bool PointCompute::transform(const PointSet& input, PointSet& output, float translateX, float translateY,
149 return transformChain(input, output, {{translateX, translateY, translateZ, yawDegrees, scaleX, scaleY, scaleZ}});
152bool PointCompute::transformChain(const PointSet& input, PointSet& output, const std::vector<Transform>& transforms) {
232 impl_->sequence->recordDispatch(impl_->shader.get(), (input.getCount() + kWorkgroupSize - 1) / kWorkgroupSize);
uint64_t getReadbackCount() const
Return successful GPU-to-host readback count for this executor.
Definition PointCompute.cpp:281
~PointCompute()
bool transformChain(const PointSet &input, PointSet &output, const std::vector< Transform > &transforms)
Execute one to four transforms in one upload, dispatch and readback.
Definition PointCompute.cpp:152
int getLastFusedTransformCount() const
Return logical transform count in the most recent successful dispatch.
Definition PointCompute.cpp:284
uint64_t getBufferReuseCount() const
Return executions that reused existing GPU buffers.
Definition PointCompute.cpp:282
uint64_t getDispatchCount() const
Return successful compute dispatch count for this executor.
Definition PointCompute.cpp:280
uint64_t getPeakBufferBytes() const
Return peak bytes reserved in each reusable GPU point buffer.
Definition PointCompute.cpp:283
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.
Definition PointCompute.cpp:147
uint64_t getUploadCount() const
Return successful host-to-GPU upload count for this executor.
Definition PointCompute.cpp:279
Definition EvpackPointGraphLoader.h:12
Definition Container.h:602
uint64_t peakBufferBytes
Definition PointCompute.cpp:132
std::unique_ptr< eve::gpgpu::Sequence > sequence
Definition PointCompute.cpp:126
int lastFusedTransformCount
Definition PointCompute.cpp:133
uint64_t readbackCount
Definition PointCompute.cpp:130
std::unique_ptr< eve::gpgpu::ComputeShader > shader
Definition PointCompute.cpp:125
uint64_t dispatchCount
Definition PointCompute.cpp:129
uint64_t bufferReuseCount
Definition PointCompute.cpp:131
std::unique_ptr< eve::gpgpu::GpuBuffer > storage
Definition PointCompute.cpp:123
std::unique_ptr< eve::gpgpu::GpuBuffer > staging
Definition PointCompute.cpp:124
One transform operation in a fused point-compute dispatch.
Definition PointCompute.h:16
One deterministic sample used by script-first procedural pipelines.
Definition PointSet.h:17