()
| 42 | |
| 43 | |
| 44 | def get_num_opencl_platforms(): |
| 45 | assert singa.USE_OPENCL, 'SINGA has not been compiled with OpenCL enabled.' |
| 46 | return singa.Platform.GetNumOpenclPlatforms() |
| 47 | |
| 48 | |
| 49 | def get_num_opencl_devices(): |
nothing calls this directly
no test coverage detected