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

Method get_work

compute/vulkan/vulkan_queue.cpp:110–114  ·  view source on GitHub ↗

returns and removes the cmd from the front of the work queue NOTE: requires holding "work_cv_lock"

Source from the content-addressed store, hash-verified

108 //! returns and removes the cmd from the front of the work queue
109 //! NOTE: requires holding "work_cv_lock"
110 inline cmd_t get_work() {
111 cmd_t cmd = std::move(work_queue.front());
112 work_queue.pop();
113 return cmd;
114 }
115};
116static unique_ptr<vulkan_cmd_completion_handler> vk_cmd_completion_handler;
117

Callers 1

runMethod · 0.80

Calls 1

popMethod · 0.45

Tested by

no test coverage detected