hipMemcpy3DOperand Struct Reference

hipMemcpy3DOperand Struct Reference#

HIP Runtime API Reference: hipMemcpy3DOperand Struct Reference
hipMemcpy3DOperand Struct Reference

#include <driver_types.h>

Collaboration diagram for hipMemcpy3DOperand:
[legend]

Data Fields

hipMemcpy3DOperandType type
 
union { 
 
   struct { 
 
      void *   ptr 
 
      size_t   rowLength 
 Length of each row in elements. More...
 
      size_t   layerHeight 
 Height of each layer in elements. More...
 
      hipMemLocation   locHint 
 Location Hint for the operand. More...
 
   }   ptr 
 
   struct { 
 
      hipArray_t   array 
 Array struct for hipMemcpyOperandTypeArray. More...
 
      hipOffset3D   offset 
 Offset into array in elements. More...
 
   }   array 
 
op 
 

Detailed Description

Struct representing an operand for copy with hipMemcpy3DBatchAsync.

Field Documentation

◆ array [1/2]

hipArray_t hipMemcpy3DOperand::array

Array struct for hipMemcpyOperandTypeArray.

◆ [struct] [2/2]

struct { ... } hipMemcpy3DOperand::array

◆ layerHeight

size_t hipMemcpy3DOperand::layerHeight

Height of each layer in elements.

◆ locHint

hipMemLocation hipMemcpy3DOperand::locHint

Location Hint for the operand.

◆ offset

hipOffset3D hipMemcpy3DOperand::offset

Offset into array in elements.

◆ [union]

union { ... } hipMemcpy3DOperand::op

◆ ptr [1/2]

void* hipMemcpy3DOperand::ptr

◆ [struct] [2/2]

struct { ... } hipMemcpy3DOperand::ptr

◆ rowLength

size_t hipMemcpy3DOperand::rowLength

Length of each row in elements.

◆ type

hipMemcpy3DOperandType hipMemcpy3DOperand::type

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