Skip to content

Query Underlying Implementation for Info of Variable Length #13

@Kerilk

Description

@Kerilk

For Infos that return a variable amount of data, we should be querying the underlying driver for the size of the data.

Example: with clGetDeviceInfo and CL_DEVICE_NAME for now the layer is comparing the size of the provided buffer with sizeof(char[1]). To be valid, the buffer should be of at least the size the underlying implementation is requesting, obtained through the param_value_size_ret.

This problem is different than the one mentioned in #12 and does not require as much tooling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions