Syncaidius / MoltenEngine

A spare-time C# .NET 8 game engine project. Cross-platform, multi-threaded.
MIT License
301 stars 20 forks source link

Multi-GPU Support #207

Closed Syncaidius closed 1 year ago

Syncaidius commented 1 year ago

Support for adding additional GPUs to task pools, so that they can be used to offload secondary compute or render tasks. For example, pathfinding/AI or texture generation tasks.

A mechanism may also need to be implemented to simplify duplicating, copying or transferring resources between GPUs, since resource cannot be directly shared between different GPUs.

A mechanism may also need to be provided for specifying which types of tasks each additional GPU is allowed to process, as a developer (or user) may want to assign lower priority tasks to less powerful GPUs.

This will rely on:

Syncaidius commented 1 year ago

Implemented initial support for this in 7a9c51b1d2add1b6a75a4a6191f47ca4826877ad