Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
30
using singa::OpenclDevice;
31
32
TEST(OpenclDevice, Constructor) {
33
OpenclDevice dev;
34
EXPECT_EQ(0, dev.id());
35
}
36
37
TEST(OpenclDevice, MemoryMallocFree) {
38
OpenclDevice dev;
Callers
nothing calls this directly
Calls
8
NewBlock
Method · 0.80
FreeBlock
Method · 0.80
Exec
Method · 0.80
id
Method · 0.45
size
Method · 0.45
CopyDataFromHostPtr
Method · 0.45
CopyDataToFrom
Method · 0.45
data
Method · 0.45
Tested by
no test coverage detected