Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cambricon/mlu-ops
/ functions
Functions
4,409 in github.com/Cambricon/mlu-ops
⨍
Functions
4,409
◇
Types & classes
1,080
↓ 6 callers
Function
cpuCompute
samples/mlu-ops/abs_sample/abs_sample.cc:105
↓ 6 callers
Method
enqueue
test/mlu_op_gtest/pb_gtest/include/thread_pool.h:50
↓ 6 callers
Function
fftGetMatMulWorkspaceSize
kernels/fft/common/fft_basic_ops.cpp:38
↓ 6 callers
Function
getEnv
test/mlu_op_gtest/pb_gtest/include/basic_tools.h:49
↓ 6 callers
Method
getMemberNames
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3723
↓ 6 callers
Method
getOutputTensorValue
return value's dtype is according to value type. if value type is value_*, return dtype is dtype in proto. if value type is random, return dtype is fp
test/mlu_op_gtest/pb_gtest/src/parser.cpp:444
↓ 6 callers
Function
getTensorShape
From tensor_desc get tensor's dims and strides.
kernels/tensor_stride_process/tensor_stride_process_host.cpp:239
↓ 6 callers
Function
isInner
kernels/poly_nms/intersect_area.h:68
↓ 6 callers
Method
key
Gets the user supplied key.
test/mlu_op_gtest/googletest/include/gtest/gtest.h:516
↓ 6 callers
Function
launchFillOp
kernels/sparse_conv/get_indice_pairs/normal_get_indice_pairs.cpp:612
↓ 6 callers
Method
parse
test/mlu_op_gtest/pb_gtest/src/parser.cpp:86
↓ 6 callers
Method
setComment
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3931
↓ 6 callers
Function
to_hex_str
test/mlu_op_gtest/pb_gtest/src/gtest/test_self.cpp:41
↓ 5 callers
Method
CreateDirectoriesRecursively
Create directories so that path exists. Returns true if successful or if the directories already exist; returns false if unable to create directories
test/mlu_op_gtest/googletest/src/gtest-filepath.cc:296
↓ 5 callers
Function
EqFailure
Constructs and returns the message for an equality assertion (e.g. ASSERT_EQ, EXPECT_STREQ, etc) failure. The first four parameters are the expressio
test/mlu_op_gtest/googletest/src/gtest.cc:1277
↓ 5 callers
Method
Failed
Returns true iff the test failed.
test/mlu_op_gtest/googletest/src/gtest.cc:2073
↓ 5 callers
Function
FormatDeathTestOutput
Returns an indented copy of stderr output for a death test. This makes distinguishing death test output lines from regular log lines much easier.
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:507
↓ 5 callers
Function
GetLastErrnoDescription
Returns the message describing the last system error in errno.
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:316
↓ 5 callers
Function
Int32FromEnvOrDie
Parses the environment variable var as an Int32. If it is unset, returns default_val. If it is not an Int32, prints an error and aborts.
test/mlu_op_gtest/googletest/src/gtest.cc:4986
↓ 5 callers
Function
bilinear_interpolate
test/mlu_op_gtest/pb_gtest/src/zoo/border_align_forward/border_align_forward.cpp:68
↓ 5 callers
Function
cvtHalfToFloat
test/mlu_op_gtest/pb_gtest/src/tools.cpp:507
↓ 5 callers
Function
duplicateAndPrefixStringValue
Record the length as a prefix. */
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:2587
↓ 5 callers
Method
get
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-linked_ptr.h:183
↓ 5 callers
Function
getCoreNumOfJobLimitCapability
* MLUOP FUNC: getCoreNumOfJobLimitCapability * get mlu core number of every single CNRT_FUNC_TYPE with maximum job capacity. * param 'handle' is the
core/runtime/device.h:70
↓ 5 callers
Function
getFileSize
test/mlu_op_gtest/pb_gtest/include/basic_tools.h:73
↓ 5 callers
Function
getNameOfDataType
core/type.cpp:79
↓ 5 callers
Function
getPadN
kernels/fft/fft.cpp:29
↓ 5 callers
Function
get_future_lst_result_and_clear
(no_return_future_lst)
tools/perf_analyse/analysis_suite/core/perf_analyser/scheduler.py:42
↓ 5 callers
Function
mluOpSetTensorDescriptorZeroDim
mluOpTensorStruct */
core/tensor.cpp:43
↓ 5 callers
Method
original_working_dir
Returns the working directory when the first TEST() or TEST_F() was executed.
test/mlu_op_gtest/googletest/src/gtest.cc:4502
↓ 5 callers
Method
random_seed
Returns the random seed used at the start of the current test run.
test/mlu_op_gtest/googletest/src/gtest.cc:4521
↓ 5 callers
Function
saveDataToFile
test/mlu_op_gtest/pb_gtest/src/tools.cpp:100
↓ 5 callers
Method
swap
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:2723
↓ 5 callers
Method
total_test_case_count
Gets the number of all test cases.
test/mlu_op_gtest/googletest/src/gtest.cc:718
↓ 5 callers
Method
total_test_count
Gets the number of all tests.
test/mlu_op_gtest/googletest/src/gtest.cc:754
↓ 4 callers
Method
AddArgument
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:807
↓ 4 callers
Method
Argv
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:816
↓ 4 callers
Function
CaptureStderr
Starts capturing stderr.
test/mlu_op_gtest/googletest/src/gtest-port.cc:1025
↓ 4 callers
Function
CmpHelperEQ
test/mlu_op_gtest/googletest/include/gtest/gtest.h:1380
↓ 4 callers
Function
FlushInfoLog
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:1322
↓ 4 callers
Function
FormatCompilerIndependentFileLocation
Formats a file location for compiler-independent XML output. Although this function is not platform dependent, we put it next to FormatFileLocation in
test/mlu_op_gtest/googletest/src/gtest-port.cc:888
↓ 4 callers
Function
FormatCountableNoun
Formats a countable noun. Depending on its quantity, either the singular form or the plural form is used. e.g. FormatCountableNoun(1, "formula", "fo
test/mlu_op_gtest/googletest/src/gtest.cc:2683
↓ 4 callers
Function
FormatTestCount
Formats the count of tests.
test/mlu_op_gtest/googletest/src/gtest.cc:2690
↓ 4 callers
Function
GetArgvs
test/mlu_op_gtest/googletest/src/gtest.cc:377
↓ 4 callers
Function
GetElementOr
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:295
↓ 4 callers
Function
GetOrCreateValue
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2158
↓ 4 callers
Function
GetReferenceableValue
core/logging.h:435
↓ 4 callers
Function
GetReservedAttributesForElement
test/mlu_op_gtest/googletest/src/gtest.cc:2017
↓ 4 callers
Function
IsSpace
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2351
↓ 4 callers
Method
SetTestPartResultReporterForCurrentThread
Sets the test part result reporter for the current thread.
test/mlu_op_gtest/googletest/src/gtest.cc:702
↓ 4 callers
Function
__mluop_exp
kernels/utils/common.h:186
↓ 4 callers
Method
alsoServeAsVolatile
test/mlu_op_gtest/pb_gtest/src/executor.cpp:60
↓ 4 callers
Function
arrayCastHalfToFloat
test/mlu_op_gtest/pb_gtest/src/tools.cpp:631
↓ 4 callers
Method
asLargestInt
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3232
↓ 4 callers
Method
asLargestUInt
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3240
↓ 4 callers
Function
bilinear_interpolate_gradient
test/mlu_op_gtest/pb_gtest/src/zoo/border_align_backward/border_align_backward.cpp:63
↓ 4 callers
Function
c_str
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-filepath.h:73
↓ 4 callers
Function
castFixedToFloat32
core/tool.h:224
↓ 4 callers
Method
clearRandomSpaceBigChunk
test/mlu_op_gtest/pb_gtest/src/memory_pool.cpp:199
↓ 4 callers
Function
getLineOffsetIndexArrayInternel
kernels/tensor_stride_process/tensor_stride_process_common.h:310
↓ 4 callers
Function
getMaxNumInArray
kernels/sparse_conv/indice_convolution_backward_data/indice_convolution_backward_data.h:28
↓ 4 callers
Method
getPointerMode
core/tensor.h:140
↓ 4 callers
Function
getRotatedVertices
kernels/box_iou_rotated/box_iou_rotated_utils.h:58
↓ 4 callers
Method
getString
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3096
↓ 4 callers
Method
getTensor
core/tensor.h:281
↓ 4 callers
Function
getTensorShapeString
kernels/sparse_conv/indice_convolution_backward_filter/indice_convolution_backward_filter.cpp:65
↓ 4 callers
Method
init
test/mlu_op_gtest/pb_gtest/src/gtest/mlu_op_gtest.cpp:189
↓ 4 callers
Method
inputIsNull
test/mlu_op_gtest/pb_gtest/include/parser.h:169
↓ 4 callers
Function
integerToDouble
if !defined(JSON_USE_INT64_DOUBLE_CONVERSION)
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:2547
↓ 4 callers
Function
isDir
return true, is dir and can be visited else return false
test/mlu_op_gtest/tools/prototxt2pb.cpp:78
↓ 4 callers
Function
isDir
return true, is dir and can be visited else return false
test/mlu_op_gtest/tools/pb2prototxt.cpp:77
↓ 4 callers
Function
isFloatDtype
kernels/sparse_conv/indice_convolution_backward_filter/indice_convolution_backward_filter.cpp:35
↓ 4 callers
Function
isUse64Bit
kernels/tensor_stride_process/tensor_stride_process_common.h:271
↓ 4 callers
Function
loadGpr
kernels/nms_rotated/nms_utils.h:47
↓ 4 callers
Function
mkdirIfNotExist
core/tool.cpp:401
↓ 4 callers
Function
pointer
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2131
↓ 4 callers
Method
pointer
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:1942
↓ 4 callers
Function
policyFunc
kernels/fft/rfft/rfft_host.cpp:884
↓ 4 callers
Function
releasePrint
core/cnlog.cpp:170
↓ 4 callers
Method
repeater
Returns repeater that broadcasts the TestEventListener events to all subscribers.
test/mlu_op_gtest/googletest/src/gtest.cc:4147
↓ 4 callers
Function
selectFFTStrategy
Calculate whether the optimization strategy can be entered(CNFFT_FUNC_STOCKHAM and CNFFT_FUNC_COOLEY_TUKEY). If it can enter, select the optimal strat
kernels/fft/fft.cpp:71
↓ 4 callers
Method
setBasicInfo
used for client
test/mlu_op_gtest/pb_gtest/include/socket_comm.h:73
↓ 4 callers
Method
setTensorDescriptorDimBase
core/tensor.cpp:245
↓ 4 callers
Method
size
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:818
↓ 4 callers
Method
start_timestamp
Gets the time of the test program start, in ms from the start of the UNIX epoch.
test/mlu_op_gtest/googletest/src/gtest.cc:4281
↓ 4 callers
Method
test_to_run_count
Gets the number of tests that should run.
test/mlu_op_gtest/googletest/src/gtest.cc:759
↓ 4 callers
Method
total_part_count
Gets the number of all test parts. This is the sum of the number of successful test parts and the number of failed test parts.
test/mlu_op_gtest/googletest/src/gtest.cc:2103
↓ 4 callers
Function
uintToString
Converts an unsigned integer to string. * @param value Unsigned integer to convert to string * @param current Input/Output string buffer. *
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:167
↓ 4 callers
Function
unaryOpParamCheck
kernels/unary_op/unary_op_host.cpp:123
↓ 4 callers
Method
what
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:2660
↓ 4 callers
Function
wrapRtConvertFloatToHalf
test/mlu_op_gtest/pb_gtest/src/tools.cpp:49
↓ 4 callers
Function
wrapRtConvertHalfToFloat
test/mlu_op_gtest/pb_gtest/src/tools.cpp:54
↓ 3 callers
Function
Abort
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2538
↓ 3 callers
Method
AddTestPartResult
Adds a test part result to the list.
test/mlu_op_gtest/googletest/src/gtest.cc:1976
↓ 3 callers
Function
ArrayAsVector
test/mlu_op_gtest/pb_gtest/src/gtest/mlu_op_test_result_printer.cpp:152
↓ 3 callers
Function
ArrayAsVector
test/mlu_op_gtest/googletest/src/gtest.cc:2013
↓ 3 callers
Function
AssertionResult
test/mlu_op_gtest/googletest/include/gtest/gtest.h:285
↓ 3 callers
Method
Clear
Clears the object.
test/mlu_op_gtest/googletest/src/gtest.cc:2065
↓ 3 callers
Method
Clone
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-param-util.h:222
↓ 3 callers
Function
FlagToEnvVar
Returns the name of the environment variable corresponding to the given flag. For example, FlagToEnvVar("foo") will return "GTEST_FOO" in the open-so
test/mlu_op_gtest/googletest/src/gtest-port.cc:1112
← previous
next →
201–300 of 4,409, ranked by callers