hipResourceDesc Struct Reference

hipResourceDesc Struct Reference#

HIP Runtime API Reference: hipResourceDesc Struct Reference
hipResourceDesc Struct Reference

#include <driver_types.h>

Collaboration diagram for hipResourceDesc:
[legend]

Data Fields

enum hipResourceType resType
 
union { 
 
   struct { 
 
      hipArray_t   array 
 
   }   array 
 
   struct { 
 
      hipMipmappedArray_t   mipmap 
 
   }   mipmap 
 
   struct { 
 
      void *   devPtr 
 
      struct hipChannelFormatDesc   desc 
 
      size_t   sizeInBytes 
 
   }   linear 
 
   struct { 
 
      void *   devPtr 
 
      struct hipChannelFormatDesc   desc 
 
      size_t   width 
 
      size_t   height 
 
      size_t   pitchInBytes 
 
   }   pitch2D 
 
res 
 

Detailed Description

HIP resource descriptor

Field Documentation

◆ array [1/2]

hipArray_t hipResourceDesc::array

◆ [struct] [2/2]

struct { ... } hipResourceDesc::array

◆ desc

struct hipChannelFormatDesc hipResourceDesc::desc

◆ devPtr

void* hipResourceDesc::devPtr

◆ height

size_t hipResourceDesc::height

◆ [struct]

struct { ... } hipResourceDesc::linear

◆ mipmap [1/2]

hipMipmappedArray_t hipResourceDesc::mipmap

◆ [struct] [2/2]

struct { ... } hipResourceDesc::mipmap

◆ [struct]

struct { ... } hipResourceDesc::pitch2D

◆ pitchInBytes

size_t hipResourceDesc::pitchInBytes

◆ [union]

union { ... } hipResourceDesc::res

◆ resType

enum hipResourceType hipResourceDesc::resType

◆ sizeInBytes

size_t hipResourceDesc::sizeInBytes

◆ width

size_t hipResourceDesc::width

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-6.2.0/include/hip/driver_types.h