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

Technically can Kompute be modified to support data visualization? #260

Closed
b1060t opened this issue Jan 16, 2022 · 2 comments
Closed

Technically can Kompute be modified to support data visualization? #260

b1060t opened this issue Jan 16, 2022 · 2 comments

Comments

@b1060t
Copy link

b1060t commented Jan 16, 2022

Since kompute is based on Vulkan, am I able to modify the manager class to pick and render a tensor on screen directly by mapping it to a texture and bypass the data synchronization between GPU and CPU?

@axsaucedo
Copy link
Member

@Biobots your thinking is along the correct path - Kompute augments the computing capabilities of Vulkan, and works with a "Bring your own vulkan" approach, which means that if you have a graphical Vulkan application that is rendering graphics, you are able to leverage Kompute into that application to simplify any particular computations. Namely you are able to initialise a Manager with an existing Vulkan Application, Instance and Device. That means that any rendering would still be done by your graphical rendering logic, as opposed to Kompute. Hope that helps.

@b1060t
Copy link
Author

b1060t commented Jan 16, 2022

@Biobots your thinking is along the correct path - Kompute augments the computing capabilities of Vulkan, and works with a "Bring your own vulkan" approach, which means that if you have a graphical Vulkan application that is rendering graphics, you are able to leverage Kompute into that application to simplify any particular computations. Namely you are able to initialise a Manager with an existing Vulkan Application, Instance and Device. That means that any rendering would still be done by your graphical rendering logic, as opposed to Kompute. Hope that helps.

Thank you! I will try this later.

@b1060t b1060t closed this as completed Jan 16, 2022
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

No branches or pull requests

2 participants