()
| 47 | |
| 48 | |
| 49 | def get_num_opencl_devices(): |
| 50 | assert singa.USE_OPENCL, 'SINGA has not been compiled with OpenCL enabled.' |
| 51 | return singa.Platform.GetNumOpenclDevices() |
| 52 | |
| 53 | |
| 54 | def device_query(id, verbose=False): |
nothing calls this directly
no test coverage detected