hipdevicegettexture1dlinearmaxwidth Interface Reference#
hipfort::hipdevicegettexture1dlinearmaxwidth Interface Reference
Gets the maximum width for 1D linear textures on the specified device. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipdevicegettexture1dlinearmaxwidth_ (max_width, desc, device) |
Detailed Description
Gets the maximum width for 1D linear textures on the specified device.
This function queries the maximum width, in elements, of 1D linear textures that can be allocated on the specified device. The maximum width depends on the texture element size and the hardware limitations of the device.
- Parameters
-
[out] max_width Maximum width, in elements, of 1D linear textures that the device can support [in] desc Requested channel format [in] device Device index to query for maximum 1D texture width
- Returns
hipSuccess,hipErrorInvalidValue,hipErrorInvalidDevice
- See also
- hipDeviceGetAttribute, hipMalloc, hipTexRefSetAddressMode
Member Function/Subroutine Documentation
◆ hipdevicegettexture1dlinearmaxwidth_()
| integer(kind(hipsuccess)) function hipfort::hipdevicegettexture1dlinearmaxwidth::hipdevicegettexture1dlinearmaxwidth_ | ( | type(c_ptr), value | max_width, |
| type(hipchannelformatdesc) | desc, | ||
| integer(c_int), value | device | ||
| ) |
The documentation for this interface was generated from the following file: