MCPcopy Create free account
hub / github.com/apache/singa / TEST

Function TEST

test/singa/test_opencl_device.cc:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30using singa::OpenclDevice;
31
32TEST(OpenclDevice, Constructor) {
33 OpenclDevice dev;
34 EXPECT_EQ(0, dev.id());
35}
36
37TEST(OpenclDevice, MemoryMallocFree) {
38 OpenclDevice dev;

Callers

nothing calls this directly

Calls 8

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

Tested by

no test coverage detected