MCPcopy Create free account
hub / github.com/Cambricon/mlu-ops / MLUOP_WIN_API mluOpSetQueue

Function MLUOP_WIN_API mluOpSetQueue

core/context.cpp:362–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362mluOpStatus_t MLUOP_WIN_API mluOpSetQueue(mluOpHandle_t handle,
363 cnrtQueue_t queue) {
364 PARAM_CHECK("[mluOpSetQueue]", handle != NULL);
365
366 // note, queue could be NULL
367 handle->queue = queue;
368
369 return MLUOP_STATUS_SUCCESS;
370}
371
372mluOpStatus_t MLUOP_WIN_API mluOpGetQueue(mluOpHandle_t handle,
373 cnrtQueue_t *queue) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected