hipExtDynDataPrefetchConfig Struct Reference#
hipExtDynDataPrefetchConfig Struct Reference
Configuration for dynamic data prefetch. More...
#include <hip_runtime_api.h>
Collaboration diagram for hipExtDynDataPrefetchConfig:
Data Fields | |
| unsigned int | numRegions |
| Number of valid regions (1-max) | |
| hipExtDynDataPrefetchTemporal | temporal |
| Cache retention policy for prefetched data. | |
| hipExtDynDataPrefetchRegion | regions [HIP_EXT_DYN_DATA_PREFETCH_MAX_REGIONS] |
| Prefetch regions. | |
Detailed Description
Configuration for dynamic data prefetch.
Pointed to by a launch attribute via hipLaunchAttributeExtDynDataPrefetch. numRegions must not exceed the device limit queried via hipDeviceAttributeMaxDynDataPrefetchRegions (use hipDeviceGetAttribute).
Cooperative prefetch is always enabled internally; the user only controls the temporal policy.
Field Documentation
◆ numRegions
| unsigned int hipExtDynDataPrefetchConfig::numRegions |
Number of valid regions (1-max)
◆ regions
| hipExtDynDataPrefetchRegion hipExtDynDataPrefetchConfig::regions[HIP_EXT_DYN_DATA_PREFETCH_MAX_REGIONS] |
Prefetch regions.
◆ temporal
| hipExtDynDataPrefetchTemporal hipExtDynDataPrefetchConfig::temporal |
Cache retention policy for prefetched data.
The documentation for this struct was generated from the following file:
- include/hip/hip_runtime_api.h