Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SAITPublic/PIMSimulator
/ functions
Functions
526 in github.com/SAITPublic/PIMSimulator
⨍
Functions
526
◇
Types & classes
110
↓ 51 callers
Function
signal
Signal and silence signaling NaN. \param nan half-precision NaN value \return quiet NaN \exception FE_INVALID if \a nan is signaling NaN
lib/half.h:715
↓ 27 callers
Function
invalid
Raise domain error and return NaN. return quiet NaN \exception FE_INVALID
lib/half.h:764
↓ 26 callers
Function
raise
Raise floating-point exception. \param flags exceptions to raise \param cond condition to raise exceptions for
lib/half.h:651
↓ 19 callers
Function
isnan
Check for NaN. See also:** Documentation for [std::isnan](https://en.cppreference.com/w/cpp/numeric/math/isnan). \param arg number to check \retval tr
lib/half.h:4597
↓ 17 callers
Function
uLog2
src/Utils.h:22
↓ 16 callers
Method
addTransaction
src/MemorySystem.cpp:175
↓ 16 callers
Method
find
src/ConfigurationDB.h:53
↓ 16 callers
Method
str
lib/npy.h:93
↓ 14 callers
Function
convertH2F
src/FP16.cpp:15
↓ 14 callers
Method
loadFp16
src/Burst.h:395
↓ 14 callers
Method
toInt
src/PIMCmd.cpp:100
↓ 13 callers
Function
select
Select value or signaling NaN. \param x preferred half-precision value \param y ignored half-precision value except for signaling NaN \return \a y if
lib/half.h:753
↓ 11 callers
Method
clear
src/tests/KernelTestCases.h:69
↓ 11 callers
Method
getTotalDim
src/Burst.h:472
↓ 11 callers
Function
pole
Raise pole error and return infinity. \param sign half-precision value with sign bit only \return half-precision infinity with sign of \a sign \except
lib/half.h:775
↓ 11 callers
Method
print
src/PIMBlock.cpp:109
↓ 11 callers
Method
write
src/Bank.cpp:92
↓ 10 callers
Function
ceil
Nearest integer not less than half value. See also:** Documentation for [std::ceil](https://en.cppreference.com/w/cpp/numeric/math/ceil). \param arg h
lib/half.h:4271
↓ 10 callers
Method
dimTobShape
src/tests/TestCases.h:375
↓ 10 callers
Function
log2
Fixed point binary logarithm. This uses the BKM algorithm in L-mode. \param m mantissa in [1,2) as Q1.30 \param n number of iterations (at most 32) \r
lib/half.h:1656
↓ 10 callers
Method
read
src/Bank.cpp:79
↓ 9 callers
Function
sign_mask
Platform-independent sign mask. \param arg integer value in two's complement \retval -1 if \a arg negative \retval 0 if \a arg positive
lib/half.h:615
↓ 8 callers
Function
divide64
64-bit division. \param x upper 32 bit of dividend \param y divisor \param s variable to store sticky bit for rounding \return (\a x << 32) / \a y
lib/half.h:1521
↓ 8 callers
Function
exp2
Fixed point binary exponential. This uses the BKM algorithm in E-mode. \param m exponent in [0,1) as Q0.31 \param n number of iterations (at most 32)
lib/half.h:1632
↓ 8 callers
Method
getDataSize
src/tests/TestCases.h:328
↓ 8 callers
Function
multiply64
64-bit multiplication. \param x first factor \param y second factor \return upper 32 bit of \a x * \a y rounded to nearest
lib/half.h:1507
↓ 8 callers
Method
runPIM
src/tests/PIMKernel.cpp:21
↓ 6 callers
Function
abs
Absolute value. See also:** Documentation for [std::abs](https://en.cppreference.com/w/cpp/numeric/math/fabs). \param arg operand \return absolute val
lib/half.h:2875
↓ 6 callers
Function
compsignal
Check and signal for any NaN. \param x first half-precision value to check \param y second half-precision value to check \retval true if either \a x o
lib/half.h:704
↓ 6 callers
Method
printDim
src/tests/TestCases.h:333
↓ 5 callers
Method
WillAcceptTransaction
src/MemorySystem.cpp:269
↓ 5 callers
Method
addrGenSafe
src/tests/KernelAddrGen.cpp:57
↓ 5 callers
Method
addressMapping
src/AddressMapping.cpp:74
↓ 5 callers
Method
getValue
src/SystemConfiguration.h:245
↓ 5 callers
Method
setValue
src/SystemConfiguration.h:161
↓ 5 callers
Method
step
src/SimulatorObject.cpp:36
↓ 5 callers
Method
update
src/Rank.cpp:478
↓ 4 callers
Method
addrGen
src/tests/KernelAddrGen.cpp:25
↓ 4 callers
Function
angle_arg
Reduce argument for trigonometric functions. \param abs half-precision floating-point value \param k value to take quarter period \return \a abs reduc
lib/half.h:1726
↓ 4 callers
Function
arithmetic_shift
Platform-independent arithmetic right shift. \param arg integer value in two's complement \param i shift amount (at most 31) \return \a arg right shif
lib/half.h:628
↓ 4 callers
Function
atan2
Fixed point arc tangent. This uses the CORDIC algorithm in vectoring mode. \param my y coordinate as Q0.30 \param mx x coordinate as Q0.30 \param n nu
lib/half.h:1704
↓ 4 callers
Method
executeEltwise
src/tests/PIMKernel.cpp:499
↓ 4 callers
Function
fp16Equal
src/FP16.cpp:27
↓ 4 callers
Method
hasPendingTransactions
src/MultiChannelMemorySystem.cpp:579
↓ 4 callers
Method
isReservedRA
src/PIMRank.h:108
↓ 4 callers
Method
isSameBankgroup
src/AddressMapping.cpp:69
↓ 4 callers
Function
ldexp
Multiply by power of two. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::ldexp](https://en.cppreferen
lib/half.h:4424
↓ 4 callers
Method
loadTobShape
src/Burst.h:372
↓ 4 callers
Method
readResult
src/tests/PIMKernel.cpp:473
↓ 4 callers
Function
set
src/Burst.h:74
↓ 4 callers
Function
sincos
Fixed point sine and cosine. This uses the CORDIC algorithm in rotation mode. \param mz angle in [-pi/2,pi/2] as Q1.30 \param n number of iterations (
lib/half.h:1680
↓ 4 callers
Function
trim
Removes leading and trailing whitespaces */
lib/npy.h:146
↓ 3 callers
Function
LoadArrayFromNumpy
lib/npy.h:478
↓ 3 callers
Function
check_underflow
Check value for underflow. \param arg non-zero half-precision value to check \return \a arg \exception FE_UNDERFLOW if arg is subnormal
lib/half.h:786
↓ 3 callers
Method
executeGemv
void PIMKernel::preloadEltwise(NumpyBurstType* operand, pimBankType pb_type, unsigned starting_row, unsigned starting_co
src/tests/PIMKernel.cpp:364
↓ 3 callers
Method
getCycle
src/tests/PIMKernel.cpp:30
↓ 3 callers
Function
hyperbolic_args
Get exponentials for hyperbolic computation \param abs half-precision floating-point value \param exp variable to take unbiased exponent of larger res
lib/half.h:1779
↓ 3 callers
Method
preloadNoReplacement
src/tests/PIMKernel.cpp:325
↓ 3 callers
Function
sqrt
lib/half.h:1611
↓ 2 callers
Method
adderTree
src/tests/PIMKernel.cpp:599
↓ 2 callers
Function
atan2_args
Get arguments for atan2 function. \param abs half-precision floating-point value \return \a abs and sqrt(1 - \a abs^2) as Q0.30
lib/half.h:1753
↓ 2 callers
Function
builtin_isnan
lib/half.h:588
↓ 2 callers
Function
builtin_signbit
lib/half.h:603
↓ 2 callers
Function
comp_size
lib/npy.h:450
↓ 2 callers
Function
convertF2H
src/FP16.cpp:21
↓ 2 callers
Method
doPIM
src/PIMRank.cpp:323
↓ 2 callers
Function
fileExists
src/MultiChannelMemorySystem.cpp:110
↓ 2 callers
Method
finalize
Functions
src/CSVWriter.h:143
↓ 2 callers
Method
fromInt
src/PIMCmd.cpp:27
↓ 2 callers
Method
getResultColGemv
src/tests/PIMKernel.cpp:249
↓ 2 callers
Function
isPowerOfTwo
src/Utils.h:37
↓ 2 callers
Method
isToggleCond
src/PIMRank.cpp:116
↓ 2 callers
Method
measureCycle
src/tests/PIMBenchTestCases.h:164
↓ 2 callers
Method
preloadGemv
src/tests/PIMKernel.cpp:283
↓ 2 callers
Method
printStats
src/tests/PIMBenchTestCases.h:304
↓ 2 callers
Method
printTestMessage
src/tests/PIMBenchTestCases.h:299
↓ 2 callers
Method
readData
src/tests/PIMKernel.cpp:588
↓ 2 callers
Method
receiveFromBus
get a bus packet from either data or cmd bus
src/MemoryController.cpp:103
↓ 2 callers
Function
scalbln
Multiply by power of two. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::scalbln](https://en.cpprefer
lib/half.h:4386
↓ 2 callers
Method
setChanId
src/Rank.cpp:64
↓ 2 callers
Method
setRankId
src/Rank.cpp:69
↓ 2 callers
Method
toStr
src/PIMCmd.cpp:149
↓ 2 callers
Method
updatefromFile
src/ConfigurationDB.h:86
↓ 1 callers
Function
FilenameWithNumberSuffix
src/MultiChannelMemorySystem.cpp:124
↓ 1 callers
Function
ReLU
(x)
data/relu/gen_np_relu.py:17
↓ 1 callers
Method
add
src/PIMBlock.cpp:24
↓ 1 callers
Method
addBarrier
src/MemorySystem.cpp:190
↓ 1 callers
Method
addBarrier
src/tests/PIMKernel.cpp:116
↓ 1 callers
Method
attachMemoryController
attachMemoryController() must be called before any other Rank functions are called
src/Rank.cpp:85
↓ 1 callers
Method
attachRank
src/PIMRank.cpp:41
↓ 1 callers
Method
attachRanks
gives the memory controller a handle on the rank objects
src/MemoryController.cpp:146
↓ 1 callers
Method
bankgroupId
src/AddressMapping.cpp:63
↓ 1 callers
Function
builtin_isinf
lib/half.h:573
↓ 1 callers
Function
cos
Cosine function. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::cos](https://en.cppreference.com/w/cp
lib/half.h:3754
↓ 1 callers
Method
dump
src/ConfigurationDB.h:92
↓ 1 callers
Method
enqueue
Adds a command to appropriate queue
src/CommandQueue.cpp:134
↓ 1 callers
Function
fabs
Absolute value. See also:** Documentation for [std::fabs](https://en.cppreference.com/w/cpp/numeric/math/fabs). \param arg operand \return absolute va
lib/half.h:2869
↓ 1 callers
Function
feraiseexcept
Raise exception flags. This raises the specified floating point exceptions and also invokes any additional automatic exception handling as configured
lib/half.h:4761
↓ 1 callers
Function
floor
Nearest integer not greater than half value. See also:** Documentation for [std::floor](https://en.cppreference.com/w/cpp/numeric/math/floor). \param
lib/half.h:4281
↓ 1 callers
Function
frexp
Decompress floating-point number. See also:** Documentation for [std::frexp](https://en.cppreference.com/w/cpp/numeric/math/frexp). \param arg number
lib/half.h:4366
next →
1–100 of 526, ranked by callers