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

Function get_gpu_mem_size

python/singa/device.py:39–41  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

37
38
39def get_gpu_mem_size(id):
40 assert singa.USE_CUDA, 'SINGA has not been compiled with CUDA enabled.'
41 return singa.Platform.GetGPUMemSize(id)
42
43
44def get_num_opencl_platforms():

Callers

nothing calls this directly

Calls 1

GetGPUMemSizeMethod · 0.80

Tested by

no test coverage detected