HIP_MEMSET_NODE_PARAMS Struct Reference#
HIP_MEMSET_NODE_PARAMS Struct Reference
#include <hip_runtime_api.h>
Data Fields | |
| hipDeviceptr_t | dst |
| Destination pointer on device. | |
| size_t | pitch |
| Destination device pointer pitch. Unused if height equals 1. | |
| unsigned int | value |
| Value of memset to be set. | |
| unsigned int | elementSize |
| Element in bytes. Must be 1, 2, or 4. | |
| size_t | width |
| Width of a row. | |
| size_t | height |
| Number of rows. | |
Detailed Description
Memset node params
Field Documentation
◆ dst
| hipDeviceptr_t HIP_MEMSET_NODE_PARAMS::dst |
Destination pointer on device.
◆ elementSize
| unsigned int HIP_MEMSET_NODE_PARAMS::elementSize |
Element in bytes. Must be 1, 2, or 4.
◆ height
| size_t HIP_MEMSET_NODE_PARAMS::height |
Number of rows.
◆ pitch
| size_t HIP_MEMSET_NODE_PARAMS::pitch |
Destination device pointer pitch. Unused if height equals 1.
◆ value
| unsigned int HIP_MEMSET_NODE_PARAMS::value |
Value of memset to be set.
◆ width
| size_t HIP_MEMSET_NODE_PARAMS::width |
Width of a row.
The documentation for this struct was generated from the following file:
- include/hip/hip_runtime_api.h