Skip to content

Incorrect checking for the float type support #5

@jungpark-mlir

Description

@jungpark-mlir

This is duplication of #4
I'm opening a new one because it doesn't allow reopening the issue.

And, no, I don't agree to your answer.
cl_khr_fp16/64 are the correct flags to reflect data type support in vendor's OpenCL implementation by the specification.
CL_DEVICE_NATIVE_VECTOR_WIDTH_* are just hints given from compiler/HW capability.
Intel's implementation seems to have a bug in it and you're currently propagating the bug into your code.

``For Intel Arc GPUs I had to add an additional failsafe:`
If it's a WA for the Intel's bug, you'd better check either one of them not both of them.

Regards,
Jungwook

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions