MCPcopy 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

26using singa::Block;
27using singa::CppCPU;
28TEST(CppCPU, Constructor) {
29 CppCPU dev;
30 EXPECT_EQ(-1, dev.id());
31}
32
33TEST(CppCPU, MemoryMallocFree) {
34 CppCPU dev;

Callers

nothing calls this directly

Calls 9

NewBlockMethod · 0.80
FreeBlockMethod · 0.80
ExecMethod · 0.80
contextMethod · 0.80
idMethod · 0.45
sizeMethod · 0.45
CopyDataFromHostPtrMethod · 0.45
dataMethod · 0.45
CopyDataToFromMethod · 0.45

Tested by

no test coverage detected