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

[WIP] Resource management #740

Draft
wants to merge 6 commits into
base: vulkan
Choose a base branch
from
Draft

[WIP] Resource management #740

wants to merge 6 commits into from

Conversation

w23
Copy link
Owner

@w23 w23 commented May 7, 2024

  • extract resource management from vk_rtx.c to vk_resources.c
  • correct resource registration by their producers
  • resource state tracking for barrier/sync purposes

w23 added 6 commits May 7, 2024 11:06
- rename ray_resources to vk_resources
- add agenda and notes
functionally it's the same, the move is mostly mechanical
Adds r_vk_barrier_t type for collecting data needed for pipeline barriers.
Makes all resources, passes and dependencies visible. Can be a precursor
to bytecode generator, where render graph is serialized into passes and
barriers in python code, and native engine ends up only interpreting
this bytecode.
Do not build BLASes on model creation. Collect all BLASes to be built,
and then build them just before the TLAS is built.

Known issues:
- crashes (timeout + device lost) RADV AMD on dynamic model update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant