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

Function MLUOP_WIN_API mluOpGetDevice

core/context.cpp:382–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382mluOpStatus_t MLUOP_WIN_API mluOpGetDevice(mluOpHandle_t handle,
383 CNdev *device) {
384 PARAM_CHECK("[mluOpGetDevice]", handle != NULL);
385 PARAM_CHECK("[mluOpGetDevice]", device != NULL);
386
387 *device = handle->device;
388
389 return MLUOP_STATUS_SUCCESS;
390}
391
392mluOpStatus_t MLUOP_WIN_API mluOpSetQuantizeRoundMode(
393 mluOpHandle_t handle, mluOpQuantizeRoundMode_t round_mode) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected