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

Function MLUOP_WIN_API mluOpGetTensorDescriptorPointerMode

core/tensor.cpp:807–814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

805}
806
807mluOpStatus_t MLUOP_WIN_API mluOpGetTensorDescriptorPointerMode(
808 mluOpTensorDescriptor_t desc, mluOpPointerMode_t *pointer_mode) {
809 PARAM_CHECK("[mluOpGetTensorDescriptorPointerMode]", desc != NULL);
810 PARAM_CHECK("[mluOpGetTensorDescriptorPointerMode]", pointer_mode != NULL);
811
812 SET_PARAM_FOR_POINTER(pointer_mode, desc->getPointerMode());
813 return MLUOP_STATUS_SUCCESS;
814}
815
816mluOpStatus_t MLUOP_WIN_API
817mluOpDestroyTensorDescriptor(mluOpTensorDescriptor_t desc) {

Callers

nothing calls this directly

Calls 1

getPointerModeMethod · 0.80

Tested by

no test coverage detected