hipdrvmemdiscardandprefetchbatchasync Interface Reference#
hipfort::hipdrvmemdiscardandprefetchbatchasync Interface Reference
Discards and prefetches a batch of memory ranges asynchronously (driver API variant). More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipdrvmemdiscardandprefetchbatchasync_ (dptrs, sizes, count, prefetchlocs, prefetchlocidxs, numprefetchlocs, flags, stream) |
Detailed Description
Discards and prefetches a batch of memory ranges asynchronously (driver API variant).
- Parameters
-
[in] dptrs pointers to the memory ranges [in] sizes sizes in bytes of the memory ranges [in] count number of memory ranges [in] prefetchLocs array of target locations for prefetching [in] prefetchLocIdxs indices mapping each range to a prefetch location [in] numPrefetchLocs number of unique prefetch locations [in] flags flags for future use, must be zero now. [in] stream stream to enqueue the operation
- Returns
hipSuccess,hipErrorInvalidValue,hipErrorNotSupported
- Note
- This is the driver API variant that uses hipDeviceptr_t instead of void*.
- See also
- hipMemDiscardAndPrefetchBatchAsync, hipMemDiscardBatchAsync, hipMemPrefetchBatchAsync
Member Function/Subroutine Documentation
◆ hipdrvmemdiscardandprefetchbatchasync_()
| integer(kind(hipsuccess)) function hipfort::hipdrvmemdiscardandprefetchbatchasync::hipdrvmemdiscardandprefetchbatchasync_ | ( | type(c_ptr) | dptrs, |
| type(c_ptr), value | sizes, | ||
| integer(c_size_t), value | count, | ||
| type(hipmemlocation) | prefetchlocs, | ||
| type(c_ptr), value | prefetchlocidxs, | ||
| integer(c_size_t), value | numprefetchlocs, | ||
| integer(c_int64_t), value | flags, | ||
| type(c_ptr), value | stream | ||
| ) |
The documentation for this interface was generated from the following file: