MCPcopy Create free account
hub / github.com/ml-explore/mlx / ~CommandEncoder

Method ~CommandEncoder

mlx/backend/cuda/device.cpp:215–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215CommandEncoder::~CommandEncoder() {
216 synchronize();
217 worker_->stop();
218}
219
220void CommandEncoder::add_completed_handler(std::function<void()> task) {
221 worker_->add_task(std::move(task));

Callers

nothing calls this directly

Calls 2

stopMethod · 0.80
synchronizeFunction · 0.70

Tested by

no test coverage detected