ACCL
ACCL copied to clipboard
"lvalue required as left operand of assignment" when using Coyote buffer subscript operator
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