Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

clGetDeviceIDs throws error instead of returning [] #49

@bergey

Description

@bergey

The docs for clGetDeviceIDs say

-- | Obtain the list of devices available on a platform. Returns the list if
-- the function is executed successfully. Otherwise it returns the empty list
-- if platform is not a valid platform or no OpenCL devices that matched
-- device_type were found.

The implementation calls whenSuccess, and throws CLError if no matching devices are found.

Should the implementation or the documentation be changed?

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