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

Command Buffers? #29

Open
unit-404 opened this issue Jan 15, 2019 · 1 comment
Open

Command Buffers? #29

unit-404 opened this issue Jan 15, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@unit-404
Copy link

I suggest to add command buffer when executing programs...

   auto queue = device.queues().at(0);
   auto cmd = device.command(); // something alike this
   auto program = vuh::Program<Specs, Params>(device, "saxpy.spv"); // load shader
   program.grid(128/64).spec(64)(cmd, {128, 0.1}, d_y, d_x); // write to command
   queue.submit(cmd); // submit command 
@Glavnokoman
Copy link
Owner

Better queues handling is coming with the next feature release, I just do not have much time to work on it now. And then we see whether explicit buffers is still the feature you want.

@Glavnokoman Glavnokoman added the enhancement New feature or request label Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants