oa::ComputeApp

Vulkan application — owns one factory-created, pinned oa::Engine around the tick loop. Subclass for training, inference, compute apps. Device selection: engineConfig_.devicePref / deviceIndex (see oa::EngineConfig).

Public Methods

int oa::ComputeApp::main(int argc, char ** argv)

Public Data Members

isRunningboolfield

Constructor & Destructor Documentation

void oa::ComputeApp::~ComputeApp()
No public source comment is attached to this declaration.

Public Method Documentation

int oa::ComputeApp::main( int argc, char ** argv )
Orchestrates: Setup -> Engine::Create -> init -> tick loop -> shutdown -> Engine::Close. shutdown runs exactly once after init is entered, including when init fails, and runs while the engine remains live. Engine-init failure closes partial engine state without retaining an app engine or entering init or shutdown. Setup's nonzero result is preserved; init, tick, or Close failure returns 1.

Parameters

argc
int

argv
char **

Returns

int

The declared return value.