Open unit-404 opened 5 years ago
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
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.
I suggest to add command buffer when executing programs...