Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose gpu allocation configuration options #5875

Merged
merged 6 commits into from
Jul 8, 2024
Merged

Commits on Jul 3, 2024

  1. Expose gpu allocation configuration options

    This commit adds hints to control memory allocations strategies to the configuration options. These hints allow for automatic profiles such as optimizing for performance (the default, makes sense for a game), optimizing for memory usage (typically more useful for a web browser or UI library) and specifying settings manually.
    
    The details of gpu allocation are still in flux. The goal is to switch vulkan and metal to gpu_allocator which is currently used with d3d12. gpu_allocator will also likely receive more configuration options, in particular the ability to start with smaller memory block sizes and progressively grow the block size. So the manual settings already provision for this upcoming option. Another approach could be to wait and add the manual option after the dust settles.
    
    The reason for providing presets and defining values in the backends is that I am convinced that optimal fonigurations should take hardware capabilities into consideration. It's a deep rabbithole, though, so that will be an exercise for later.
    nical committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    100813b View commit details
    Browse the repository at this point in the history
  2. changelog

    nical committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    93ffde9 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Update CHANGELOG.md

    Co-authored-by: Andreas Reich <[email protected]>
    nical and Wumpf authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    ab63109 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c7efe8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    51d069d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    10e2eac View commit details
    Browse the repository at this point in the history