| 559 | |
| 560 | template<size_type Size> |
| 561 | auto load_to_array_async(hipStream_t stream) const |
| 562 | { |
| 563 | std::array<value_type, Size> ret; |
| 564 | HIP_CHECK(hipMemcpyAsync(ret.data(), |
| 565 | device_raw_ptr_, |
| 566 | std::min<size_type>(number_of_ele_, Size) * value_size, |
| 567 | hipMemcpyDeviceToHost, |
| 568 | stream)); |
| 569 | return ret; |
| 570 | } |
| 571 | |
| 572 | auto load_to_unique_ptr() const |
| 573 | { |
nothing calls this directly
no outgoing calls
no test coverage detected