Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ TEST
Function
TEST
test/singa/test_cpp_cpu.cc:28–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
using singa::Block;
27
using singa::CppCPU;
28
TEST(CppCPU, Constructor) {
29
CppCPU dev;
30
EXPECT_EQ(-1, dev.id());
31
}
32
33
TEST(CppCPU, MemoryMallocFree) {
34
CppCPU dev;
Callers
nothing calls this directly
Calls
9
NewBlock
Method · 0.80
FreeBlock
Method · 0.80
Exec
Method · 0.80
context
Method · 0.80
id
Method · 0.45
size
Method · 0.45
CopyDataFromHostPtr
Method · 0.45
data
Method · 0.45
CopyDataToFrom
Method · 0.45
Tested by
no test coverage detected