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

Method GetDefaultOpenclDevice

src/core/device/platform.cc:168–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168const std::shared_ptr<Device> Platform::GetDefaultOpenclDevice() {
169 return std::make_shared<OpenclDevice>();
170}
171/*
172static const std::vector<std::shared_ptr<Device>>
173Platform::CreateOpenclDevices(const size_t num_devices) {

Callers 1

create_opencl_deviceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected