hipResourceViewDesc Struct Reference

hipResourceViewDesc Struct Reference#

HIP Runtime API Reference: hipResourceViewDesc Struct Reference
hipResourceViewDesc Struct Reference

#include <driver_types.h>

Data Fields

enum hipResourceViewFormat format
 Resource view format.
 
size_t width
 Width of the resource view.
 
size_t height
 Height of the resource view.
 
size_t depth
 Depth of the resource view.
 
unsigned int firstMipmapLevel
 First defined mipmap level.
 
unsigned int lastMipmapLevel
 Last defined mipmap level.
 
unsigned int firstLayer
 First layer index.
 
unsigned int lastLayer
 Last layer index.
 

Detailed Description

HIP resource view descriptor

Field Documentation

◆ depth

size_t hipResourceViewDesc::depth

Depth of the resource view.

◆ firstLayer

unsigned int hipResourceViewDesc::firstLayer

First layer index.

◆ firstMipmapLevel

unsigned int hipResourceViewDesc::firstMipmapLevel

First defined mipmap level.

◆ format

enum hipResourceViewFormat hipResourceViewDesc::format

Resource view format.

◆ height

size_t hipResourceViewDesc::height

Height of the resource view.

◆ lastLayer

unsigned int hipResourceViewDesc::lastLayer

Last layer index.

◆ lastMipmapLevel

unsigned int hipResourceViewDesc::lastMipmapLevel

Last defined mipmap level.

◆ width

size_t hipResourceViewDesc::width

Width of the resource view.


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.2/include/hip/driver_types.h