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_ptrs pointers to the memory ranges to prefetch [in] sizes sizes in bytes of the memory ranges to prefetch [in] count number of memory ranges to prefetch [in] prefetch_locs locations to prefetch the memory ranges to [in] prefetch_loc_idxs indices of the memory ranges to prefetch [in] num_prefetch_locs number of locations to prefetch [in] flags flags for future use, must be zero now. [in] stream stream 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: