constructs a buffer of the specified size, using the host pointer as specified by the flags
| 188 | |
| 189 | //! constructs a buffer of the specified size, using the host pointer as specified by the flags |
| 190 | device_buffer(const device_queue& cqueue, |
| 191 | std::span<uint8_t> host_data_, |
| 192 | const MEMORY_FLAG flags_ = (MEMORY_FLAG::READ_WRITE | |
| 193 | MEMORY_FLAG::HOST_READ_WRITE), |
| 194 | device_buffer* shared_buffer_ = nullptr) : |
| 195 | device_buffer(cqueue, host_data_.size_bytes(), host_data_, flags_, shared_buffer_) {} |
| 196 | |
| 197 | //! constructs an uninitialized buffer of the specified size |
| 198 | device_buffer(const device_queue& cqueue, |
nothing calls this directly
no outgoing calls
no test coverage detected