HIP_MEMSET_NODE_PARAMS Struct Reference#

HIP Runtime API Reference: 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. More...
 
size_t pitch
 Destination device pointer pitch. Unused if height equals 1. More...
 
unsigned int value
 Value of memset to be set. More...
 
unsigned int elementSize
 Element in bytes. Must be 1, 2, or 4. More...
 
size_t width
 Width of a row. More...
 
size_t height
 Number of rows. More...
 

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:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/latest/include/hip/hip_runtime_api.h