hipmemprefetchbatchasync Interface Reference

hipmemprefetchbatchasync Interface Reference#

HIPFORT API Reference: hipfort::hipmemprefetchbatchasync Interface Reference
hipfort::hipmemprefetchbatchasync Interface Reference

Prefetches a batch of memory ranges to the specified locations using HIP. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemprefetchbatchasync_ (dev_ptrs, sizes, count, prefetch_locs, prefetch_loc_idxs, num_prefetch_locs, flags, stream)
 

Detailed Description

Prefetches a batch of memory ranges to the specified locations using HIP.

Parameters
[in]dev_ptrspointers to the memory ranges to prefetch
[in]sizessizes in bytes of the memory ranges to prefetch
[in]countnumber of memory ranges to prefetch
[in]prefetch_locslocations to prefetch the memory ranges to
[in]prefetch_loc_idxsindices of the memory ranges to prefetch
[in]num_prefetch_locsnumber of locations to prefetch
[in]flagsflags for future use, must be zero now.
[in]streamstream to enqueue the prefetch operation
Returns
hipSuccess, hipErrorInvalidValue
Note
This API is implemented on Linux and is under development on Microsoft Windows.

Member Function/Subroutine Documentation

◆ hipmemprefetchbatchasync_()

integer(kind(hipsuccess)) function hipfort::hipmemprefetchbatchasync::hipmemprefetchbatchasync_ ( type(c_ptr)  dev_ptrs,
type(c_ptr), value  sizes,
integer(c_size_t), value  count,
type(hipmemlocation prefetch_locs,
type(c_ptr), value  prefetch_loc_idxs,
integer(c_size_t), value  num_prefetch_locs,
integer(c_int64_t), value  flags,
type(c_ptr), value  stream 
)

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