8000 If no devices on one OpenCL platform, check others · Issue #46 · SpectralPack/Immolate · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
If no devices on one OpenCL platform, check others #46
Open
@lexidevs

Description

@lexidevs

Currently, the program will get the list of OpenCL platforms, and check the first one (id 0) by default for devices. If no devices are found, the program exits.

However, it's possible (and I have encountered this) that there will be no devices on platform 0, but there will be devices on platform 1, for example. Of course, the user could specify this using the -p argument, but I think it is a sane default to check other platforms if there is no device found on the first one. I do not think we should override a user's preference when they explicitly specify a platform ID, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0