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
↓ 2 callers
Function
GetCapturedStream
Stops capturing the output stream and returns the captured string.
test/mlu_op_gtest/googletest/src/gtest-port.cc:1010
↓ 2 callers
Function
GetEnviron
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:1061
↓ 2 callers
Method
GetGlobalTestPartResultReporter
Returns the global test part result reporter.
test/mlu_op_gtest/googletest/src/gtest.cc:685
↓ 2 callers
Method
GetId
test/mlu_op_gtest/googletest/src/gtest.cc:1059
↓ 2 callers
Function
GetInjectableArgvs
test/mlu_op_gtest/googletest/src/gtest-port.cc:1071
↓ 2 callers
Function
HRESULTFailureHelper
Helper function for IsHRESULT{SuccessFailure} predicates
test/mlu_op_gtest/googletest/src/gtest.cc:1607
↓ 2 callers
Function
HandleSehExceptionsInMethodIfSupported
test/mlu_op_gtest/googletest/src/gtest.cc:2270
↓ 2 callers
Function
InitGoogleTestImpl
test/mlu_op_gtest/googletest/src/gtest.cc:5665
↓ 2 callers
Function
IsAsciiDigit
Returns true iff ch belongs to the given classification. Unlike similar functions in <ctype.h>, these aren't affected by the current locale.
test/mlu_op_gtest/googletest/src/gtest-port.cc:609
↓ 2 callers
Function
IsAsciiPunct
test/mlu_op_gtest/googletest/src/gtest-port.cc:612
↓ 2 callers
Function
IsAsciiWhiteSpace
test/mlu_op_gtest/googletest/src/gtest-port.cc:618
↓ 2 callers
Function
IsAsciiWordChar
test/mlu_op_gtest/googletest/src/gtest-port.cc:621
↓ 2 callers
Method
IsDirectory
Returns true if FilePath ends with a path separator, which indicates that it is intended to represent a directory. Returns false otherwise. This does
test/mlu_op_gtest/googletest/src/gtest-filepath.cc:289
↓ 2 callers
Function
IsRepeat
test/mlu_op_gtest/googletest/src/gtest-port.cc:615
↓ 2 callers
Function
IsTrue
test/mlu_op_gtest/googletest/src/gtest.cc:5209
↓ 2 callers
Method
Lock
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2220
↓ 2 callers
Function
MakeAndRegisterTestInfo
Creates a new TestInfo object and registers it with Google Test; returns the created object. Arguments: test_case_name: name of the test case name
test/mlu_op_gtest/googletest/src/gtest.cc:2428
↓ 2 callers
Function
MakeCheckOpValueString
core/logging.h:300
↓ 2 callers
Method
MakeNewHolder
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2184
↓ 2 callers
Function
MatchRegexAnywhere
Returns true iff regex matches any substring of str. regex must be a valid simple regular expression, or the result is undefined. The algorithm is r
test/mlu_op_gtest/googletest/src/gtest-port.cc:797
↓ 2 callers
Function
ParseGoogleTestFlag
test/mlu_op_gtest/googletest/src/gtest.cc:5557
↓ 2 callers
Function
ParseGoogleTestFlagsOnlyImpl
test/mlu_op_gtest/googletest/src/gtest.cc:5601
↓ 2 callers
Function
ParseInteger
core/logging.cpp:41
↓ 2 callers
Function
PartialMatch
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:1239
↓ 2 callers
Function
PortableLocaltime
test/mlu_op_gtest/pb_gtest/src/gtest/mlu_op_test_result_printer.cpp:289
↓ 2 callers
Function
PortableLocaltime
test/mlu_op_gtest/googletest/src/gtest.cc:3424
↓ 2 callers
Function
PrintFullTestCommentIfPresent
test/mlu_op_gtest/googletest/src/gtest.cc:2910
↓ 2 callers
Function
PrintOnOneLine
Prints the given C-string on a single line by replacing all '\n' characters with string "\\n". If the output takes more than max_length characters, o
test/mlu_op_gtest/googletest/src/gtest.cc:5068
↓ 2 callers
Function
PrintStringTo
test/mlu_op_gtest/googletest/src/gtest-printers.cc:413
↓ 2 callers
Function
PrintTestPartResultToString
Prints a TestPartResult to an std::string.
test/mlu_op_gtest/googletest/src/gtest.cc:2723
↓ 2 callers
Function
PrintTo
test/mlu_op_gtest/googletest/include/gtest/gtest-printers.h:482
↓ 2 callers
Function
PrintWideStringTo
test/mlu_op_gtest/googletest/src/gtest-printers.cc:432
↓ 2 callers
Function
Read
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2502
↓ 2 callers
Function
ReadEntireFile
test/mlu_op_gtest/googletest/src/gtest-port.cc:1046
↓ 2 callers
Method
RegisterTests
UnitTest class invokes this method to register tests in this test case test cases right before running tests in RUN_ALL_TESTS macro. This method shoul
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-param-util.h:516
↓ 2 callers
Method
Run
Runs the test and updates the test result.
test/mlu_op_gtest/googletest/src/gtest.cc:2350
↓ 2 callers
Method
Run
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:1718
↓ 2 callers
Method
SetDefaultXmlGenerator
Sets the default_xml_generator attribute to the provided listener. The listener is also added to the listener list and previous default_xml_generator
test/mlu_op_gtest/googletest/src/gtest.cc:4172
↓ 2 callers
Method
SetGlobalTestPartResultReporter
Sets the global test part result reporter.
test/mlu_op_gtest/googletest/src/gtest.cc:691
↓ 2 callers
Function
ShouldShard
Checks whether sharding is enabled by examining the relevant environment variable values. If the variables are present, but inconsistent (i.e., shard_
test/mlu_op_gtest/googletest/src/gtest.cc:4944
↓ 2 callers
Function
SkipComma
Skips to the first non-space char after the first comma in 'str'; returns NULL if no comma is found in 'str'.
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-internal.h:568
↓ 2 callers
Function
SplitEscapedString
The string representation of the values received in EqFailure() are already escaped. Split them on escaped '\n' boundaries. Leave all other escaped ch
test/mlu_op_gtest/googletest/src/gtest.cc:1237
↓ 2 callers
Function
SplitString
test/mlu_op_gtest/googletest/src/gtest.cc:895
↓ 2 callers
Function
Stat
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2431
↓ 2 callers
Function
StreamWideCharsToMessage
Converts an array of wide chars to a narrow string using the UTF-8 encoding, and streams the result to the given Message object.
test/mlu_op_gtest/googletest/src/gtest.cc:880
↓ 2 callers
Method
SuppressEventForwarding
test/mlu_op_gtest/googletest/src/gtest.cc:4189
↓ 2 callers
Function
ThreadLocal
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2119
↓ 2 callers
Function
TinShiftPreCheck
kernels/tin_shift/tin_shift.cpp:77
↓ 2 callers
Function
UniversalPrintCharArray
test/mlu_op_gtest/googletest/src/gtest-printers.cc:287
↓ 2 callers
Method
Unlock
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2221
↓ 2 callers
Function
WideStringToUtf8
Converts a wide string to a narrow string in UTF-8 encoding. The wide string is assumed to have the following encoding: UTF-16 if sizeof(wchar_t) == 2
test/mlu_op_gtest/googletest/src/gtest.cc:1759
↓ 2 callers
Function
__mluop_arange_by_expand_
kernels/utils/common.h:596
↓ 2 callers
Function
__mluop_arange_vv_
kernels/utils/common.h:528
↓ 2 callers
Function
__mluop_recip
kernels/utils/common.h:158
↓ 2 callers
Method
appendOpParam
core/gen_case.h:249
↓ 2 callers
Method
appendOpParamSub
core/gen_case.h:274
↓ 2 callers
Function
arrayCastBF16ToFloat
Note: here uint16_t is acutally bf16
test/mlu_op_gtest/pb_gtest/src/tools.cpp:722
↓ 2 callers
Function
arrayCastFloatAndNormalDispatch
support uint8, uint16, uint32, uint64, int8, int16, int32, int64, bool
test/mlu_op_gtest/pb_gtest/src/tools.cpp:731
↓ 2 callers
Function
arrayCastFloatToBF16
Note: here uint16_t is acutally bf16
test/mlu_op_gtest/pb_gtest/src/tools.cpp:691
↓ 2 callers
Method
asUInt
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3165
↓ 2 callers
Function
baseParamCheck
kernels/sparse_conv/indice_convolution_backward_filter/indice_convolution_backward_filter.cpp:172
↓ 2 callers
Function
binaryOpParamCheck
kernels/binary_op/binary_op_host.cpp:107
↓ 2 callers
Function
binaryOpPolicyFunc
kernels/binary_op/binary_op_host.cpp:38
↓ 2 callers
Function
calIntersectIou
kernels/box_iou_rotated/box_iou_rotated_utils.h:836
↓ 2 callers
Function
calMaxArea
kernels/generate_proposals_v2/generate_proposals_v2_nms_utils.h:118
↓ 2 callers
Function
castCnKernelClassToCnrtFuncType
* MLUOP FUNC: castCnKernelClassToCnrtFuncType * cast KernelClass type into cnrtFunctionType_t * param 'jobType' is job type of KernelClass. *******
core/runtime/device.h:119
↓ 2 callers
Function
castFloat32ToFixed
core/tool.h:174
↓ 2 callers
Function
checkParams
kernels/psamask/psamask.cpp:159
↓ 2 callers
Function
check_context
(line)
test/mlu_op_gtest/tools/gtest_style.py:58
↓ 2 callers
Function
clearEnter
* @brief: clear endl in param string. */
core/cnlog.cpp:212
↓ 2 callers
Function
cloneUnique
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:2488
↓ 2 callers
Function
codePointToUTF8
Converts a unicode code-point to UTF-8.
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:125
↓ 2 callers
Method
computeEfficiency
test/mlu_op_gtest/pb_gtest/src/evaluator.cpp:332
↓ 2 callers
Function
computeFFT2dMatMulColumn
kernels/fft/c2c_fft/c2c_fft_host.cpp:2406
↓ 2 callers
Function
computeFFT2dMatMulRow
kernels/fft/c2c_fft/c2c_fft_host.cpp:2540
↓ 2 callers
Function
computeGenericButterflyOtherstagesMatR2C
kernels/fft/fft_optm_device/fft_generic_butterfly.h:462
↓ 2 callers
Function
convexHullGraham
kernels/box_iou_rotated/box_iou_rotated_utils.h:444
↓ 2 callers
Function
cpuSyncBNElemt
test/mlu_op_gtest/pb_gtest/src/zoo/sync_batchnorm_elemt/sync_batchnorm_elemt.cpp:67
↓ 2 callers
Function
create_engine
(db_name: DBConfig.DB_Name)
tools/perf_analyse/analysis_suite/database/db_op.py:18
↓ 2 callers
Function
cross
kernels/poly_nms/intersect_area.h:131
↓ 2 callers
Function
cvtBF16ToFloat
the actual dtype of src is bf16
test/mlu_op_gtest/pb_gtest/src/tools.cpp:711
↓ 2 callers
Function
cvtMluOpDtypeToCnrt_V2
test/mlu_op_gtest/pb_gtest/src/tools.cpp:350
↓ 2 callers
Function
descToString
core/gen_case.cpp:767
↓ 2 callers
Method
destroy
all member variable are shared_ptr.
test/mlu_op_gtest/pb_gtest/src/runtime.cpp:42
↓ 2 callers
Function
dfs_to_excel
(dfs, sheet_names, xlsx_path)
tools/perf_analyse/analysis_suite/core/perf_analyser/perf/perf_utils.py:34
↓ 2 callers
Method
disableKernelTracing
test/mlu_op_gtest/pb_gtest/src/executor.cpp:247
↓ 2 callers
Function
dumpCaseKernelInfoJson
test/mlu_op_gtest/pb_gtest/src/gtest/mlu_op_gtest.cpp:566
↓ 2 callers
Function
extract_headers
( json_file_path, common_flag=True, header_flag=True, sources_flag=True )
scripts/kernels_light_config/utils.py:85
↓ 2 callers
Function
findCooleyTukey
kernels/fft/common/fft_basic_ops.cpp:761
↓ 2 callers
Function
findLimit
kernels/psamask/psamask.cpp:94
↓ 2 callers
Function
findMaxScore
test/mlu_op_gtest/pb_gtest/src/zoo/generate_proposals_v2/generate_proposals_v2_impl.cpp:173
↓ 2 callers
Function
find_brace
(msg, index)
tools/check_log_error.py:88
↓ 2 callers
Function
find_json_files
(absolute_path)
scripts/kernels_light_config/utils.py:48
↓ 2 callers
Function
float_add
test/mlu_op_gtest/pb_gtest/src/tools.cpp:1213
↓ 2 callers
Function
float_add_regular
test/mlu_op_gtest/pb_gtest/src/tools.cpp:972
↓ 2 callers
Function
float_mult_regular
test/mlu_op_gtest/pb_gtest/src/tools.cpp:1221
↓ 2 callers
Function
foolCheckNoPtr
kernels/sparse_conv/indice_convolution_backward_data/indice_convolution_backward_data.cpp:34
↓ 2 callers
Function
foolProof
kernels/sparse_conv/indice_convolution_forward/indice_convolution_forward.cpp:37
↓ 2 callers
Function
formatSeverityName
core/cnlog.cpp:353
↓ 2 callers
Function
gather_file
(path)
test/mlu_op_gtest/tools/gtest_style.py:49
← previous
next →
401–500 of 4,409, ranked by callers