载入中...
搜索中...
未找到
eve::physics::SimulationBackendSelection结构体 参考

Result of choosing an optional accelerator or CPU alternate path. 更多...

#include <SimulationBackend.h>

Public 属性

std::unique_ptr< ISimulationBackend > backend
 Owning selected backend; it borrows the supplied domain state.
 
SimulationBackendKind requestedKind = SimulationBackendKind::Cpu
 Provider family requested by the owner.
 
SimulationBackendKind actualKind = SimulationBackendKind::Cpu
 Provider family actually selected.
 
bool usedFallback = false
 Whether CPU was selected after an accelerator request.
 

详细描述

Result of choosing an optional accelerator or CPU alternate path.

usedFallback is explicit state, while the returned Result status carries a warning diagnostic when the optional capability is absent or unusable.

在文件 SimulationBackend.h 第 288 行定义.

类成员变量说明

◆ actualKind

SimulationBackendKind eve::physics::SimulationBackendSelection::actualKind = SimulationBackendKind::Cpu

Provider family actually selected.

在文件 SimulationBackend.h 第 294 行定义.

◆ backend

std::unique_ptr<ISimulationBackend> eve::physics::SimulationBackendSelection::backend

Owning selected backend; it borrows the supplied domain state.

在文件 SimulationBackend.h 第 290 行定义.

◆ requestedKind

SimulationBackendKind eve::physics::SimulationBackendSelection::requestedKind = SimulationBackendKind::Cpu

Provider family requested by the owner.

在文件 SimulationBackend.h 第 292 行定义.

◆ usedFallback

bool eve::physics::SimulationBackendSelection::usedFallback = false

Whether CPU was selected after an accelerator request.

在文件 SimulationBackend.h 第 296 行定义.


该结构体的文档由以下文件生成: