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

Method load_value_at_async

common/utils_device_ptr.hpp:600–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598 }
599
600 auto load_value_at_async(size_type pos, hipStream_t stream) const
601 {
602 value_type ret;
603 HIP_CHECK(
604 hipMemcpyAsync(&ret, device_raw_ptr_ + pos, value_size, hipMemcpyDeviceToHost, stream));
605 return ret;
606 }
607
608private:
609 value_type* device_raw_ptr_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected