MCPcopy Create free account
hub / github.com/ROCm/rocPRIM / load_async

Method load_async

common/utils_device_ptr.hpp:538–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536 }
537
538 auto load_async(hipStream_t stream) const
539 {
540 std::vector<value_type> ret(number_of_ele_);
541 HIP_CHECK(hipMemcpyAsync(ret.data(),
542 device_raw_ptr_,
543 number_of_ele_ * value_size,
544 hipMemcpyDeviceToHost,
545 stream));
546 return ret;
547 }
548
549 template<size_type Size>
550 auto load_to_array() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected