(id, verbose=False)
| 52 | |
| 53 | |
| 54 | def device_query(id, verbose=False): |
| 55 | assert singa.USE_CUDA, 'SINGA has not been compiled with CUDA enabled.' |
| 56 | return singa.Platform.DeviceQuery(id, verbose) |
| 57 | |
| 58 | |
| 59 | def create_cpu_device(): |
nothing calls this directly
no test coverage detected