KhronosGroup / OpenCL-SDK

OpenCL SDK
Apache License 2.0
577 stars 121 forks source link

Pipe Constructor fails #49

Open nicholaskomsa opened 2 years ago

nicholaskomsa commented 2 years ago

In the cl::pipe constructor, "flags = CL_MEM_READ_WRITE | CL_MEM_HOST_NO_ACCESS;" results in error -30. Changing it to merely "CL_MEM_READ_WRITE" causes it to work fine. I saw this was an open issue in another, I think more outdated, repo. Actually, in that issue, someone suggested that =201 works. I do not understand the source of 201 as it does not fit the enumeration.