MCPcopy Create free account
hub / github.com/a2flo/floor / generic_indirect_compute_command_encoder

Method generic_indirect_compute_command_encoder

src/device/indirect_command.cpp:311–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309
310//
311generic_indirect_compute_command_encoder::generic_indirect_compute_command_encoder(generic_indirect_pipeline_entry& pipeline_entry_,
312 const device& dev_, const device_function& kernel_obj_) :
313indirect_compute_command_encoder(dev_, kernel_obj_), pipeline_entry(pipeline_entry_) {
314 if (!entry || !entry->info) {
315 throw std::runtime_error("state is invalid or no compute pipeline entry exists for device " + dev.name);
316 }
317}
318
319void generic_indirect_compute_command_encoder::set_arguments_vector(std::vector<device_function_arg>&& args_) {
320 args = std::move(args_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected