hipExtDynDataPrefetchRegion Struct Reference

hipExtDynDataPrefetchRegion Struct Reference#

HIP Runtime API Reference: hipExtDynDataPrefetchRegion Struct Reference
hipExtDynDataPrefetchRegion Struct Reference

Describes one 2D memory region to prefetch into L2 cache. More...

#include <hip_runtime_api.h>

Data Fields

void * address
 Base address (must be cache-line aligned)
 
size_t stride
 Stride between row starts in bytes.
 
size_t width
 Width of each row in bytes (must be a multiple of cache line size)
 
size_t height
 Number of rows to prefetch.
 

Detailed Description

Describes one 2D memory region to prefetch into L2 cache.

address must be aligned to the device's L2 cache line size. width is measured in bytes and must be a multiple of the cache line size. height is the number of rows to prefetch. stride is the byte stride between the start of consecutive rows.

Field Documentation

◆ address

void* hipExtDynDataPrefetchRegion::address

Base address (must be cache-line aligned)

◆ height

size_t hipExtDynDataPrefetchRegion::height

Number of rows to prefetch.

◆ stride

size_t hipExtDynDataPrefetchRegion::stride

Stride between row starts in bytes.

◆ width

size_t hipExtDynDataPrefetchRegion::width

Width of each row in bytes (must be a multiple of cache line size)


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