Skip to content

clRNG.clh:79:34: error: variadic macros not supported in OpenCL #17

@vvoznesensky

Description

@vvoznesensky

Hello.

Both beignet and neo Intel drivers do not support variadic macros, so
#define clrngSetErrorString(err, ...) (err)
does not compile.

I suggest to introduce clrngSetErrorString2 and clrngSetErrorString3 macros to address errors with and without one extra argument. Should I prepare a merge request?

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