This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipmemprefetchasync Interface Reference

hipmemprefetchasync Interface Reference#

HIPFORT API Reference: hipfort::hipmemprefetchasync Interface Reference
hipfort::hipmemprefetchasync Interface Reference

Prefetches memory to the specified destination device using HIP. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemprefetchasync_ (dev_ptr, count, device, stream)
 

Detailed Description

Prefetches memory to the specified destination device using HIP.

Parameters
[in]dev_ptrpointer to be prefetched
[in]countsize in bytes for prefetching
[in]devicedestination device to prefetch to
[in]streamstream to enqueue prefetch operation
Returns
hipSuccess, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipmemprefetchasync_()

integer(kind(hipsuccess)) function hipfort::hipmemprefetchasync::hipmemprefetchasync_ ( type(c_ptr), value  dev_ptr,
integer(c_size_t), value  count,
integer(c_int), value  device,
type(c_ptr), value  stream 
)

The documentation for this interface was generated from the following file: