HIP: Heterogenous-computing Interface for Portability: HIP_RESOURCE_VIEW_DESC_st Struct Reference

HIP: Heterogenous-computing Interface for Portability

Public Attributes | List of all members
HIP_RESOURCE_VIEW_DESC_st Struct Reference

`#include <driver_types.h>`

## Public Attributes
HIPresourceViewFormat | format
size_t | width
size_t | height
size_t | depth
unsigned int | firstMipmapLevel
unsigned int | lastMipmapLevel
unsigned int | firstLayer
unsigned int | lastLayer
unsigned int | reserved [16]

## Detailed Description

Resource view descriptor

## Member Data Documentation

## ◆ depth

size_t HIP_RESOURCE_VIEW_DESC_st::depth

Depth of the resource view

## ◆ firstLayer

unsigned int HIP_RESOURCE_VIEW_DESC_st::firstLayer

First layer index

## ◆ firstMipmapLevel

unsigned int HIP_RESOURCE_VIEW_DESC_st::firstMipmapLevel

First defined mipmap level

## ◆ format

HIPresourceViewFormat HIP_RESOURCE_VIEW_DESC_st::format

Resource view format

## ◆ height

size_t HIP_RESOURCE_VIEW_DESC_st::height

Height of the resource view

## ◆ lastLayer

unsigned int HIP_RESOURCE_VIEW_DESC_st::lastLayer

Last layer index

## ◆ lastMipmapLevel

unsigned int HIP_RESOURCE_VIEW_DESC_st::lastMipmapLevel

Last defined mipmap level

## ◆ width

size_t HIP_RESOURCE_VIEW_DESC_st::width

Width of the resource view

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

- /long_pathname_so_that_rpms_can_package_the_debug_info/src/external/hip-on-vdi/include/hip/driver_types.h