(id)
| 37 | |
| 38 | |
| 39 | def 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 | |
| 44 | def get_num_opencl_platforms(): |
nothing calls this directly
no test coverage detected