FIXME: This should do a copy if it is not owner. You do not want to overwrite parents data
| 246 | // FIXME: This should do a copy if it is not owner. You do not want to |
| 247 | // overwrite parents data |
| 248 | cl::Buffer *get() { |
| 249 | if (!isReady()) eval(); |
| 250 | return data.get(); |
| 251 | } |
| 252 | |
| 253 | const cl::Buffer *get() const { |
| 254 | if (!isReady()) eval(); |
no test coverage detected