hipPitchedPtr Struct Reference#
hipPitchedPtr Struct Reference
#include <driver_types.h>
| Data Fields | |
| void * | ptr | 
| Pointer to the allocated memory. | |
| size_t | pitch | 
| Pitch in bytes. | |
| size_t | xsize | 
| Logical size of the first dimension of allocation in elements. | |
| size_t | ysize | 
| Logical size of the second dimension of allocation in elements. | |
Detailed Description
HIP pithed pointer
Field Documentation
◆ pitch
| size_t hipPitchedPtr::pitch | 
Pitch in bytes.
◆ ptr
| void* hipPitchedPtr::ptr | 
Pointer to the allocated memory.
◆ xsize
| size_t hipPitchedPtr::xsize | 
Logical size of the first dimension of allocation in elements.
◆ ysize
| size_t hipPitchedPtr::ysize | 
Logical size of the second dimension of allocation in elements.
The documentation for this struct was generated from the following file:
- include/hip/driver_types.h