• bdenhollander's avatar
    Add OpenCLPlatformIndex to benchmark.py (#3976) · aa363660
    bdenhollander authored
    Fix specifying a device will fail to run when multiple OpenCL platforms are available. Specifying `--verbose` prints the following exception:
    ```
    Specified DeviceIndex but not OpenCLPlatformIndex. When multiple platforms are available, a platform index is needed to specify a device.
    ```
    aa363660
benchmark.py 24.8 KB