Skip to content

"lvalue required as left operand of assignment" when using Coyote buffer subscript operator #168

@mar-ven

Description

@mar-ven

Given a pointer to Coyote buffer called buf, created via:
auto buf = accl.create_coyotebuffer<float>(count, dataType::float32);
the following operation:
(*buf)[i] = <any value>;
gives the following error:
lvalue required as left operand of assignment

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