HIP: Heterogenous-computing Interface for Portability
Loading...
Searching...
No Matches
Public Attributes | List of all members
hipResourceDesc Struct Reference

#include <driver_types.h>

Collaboration diagram for hipResourceDesc:
Collaboration graph
[legend]

Public Attributes

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


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