SWDEV-477218 - Adding hipDeviceGetTexture1DLinearMaxWidth to the hip api header

Change-Id: Idf6ef70b20eb50f74fa51e486ff0fd44089814c3
Этот коммит содержится в:
victzhan
2024-11-04 11:12:36 -05:00
коммит произвёл Julia Jiang
родитель c908ad057a
Коммит 656bc133f2
+15
Просмотреть файл
@@ -2121,6 +2121,21 @@ hipError_t hipDeviceGetMemPool(hipMemPool_t* mem_pool, int device);
* Populates hipGetDeviceProperties with information for the specified device.
*/
hipError_t hipGetDeviceProperties(hipDeviceProp_t* prop, int deviceId);
/**
* @brief 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.
*
* @param [out] max_width Maximum width, in elements, of 1D linear textures that the device can support
* @param [in] device Device index to query for maximum 1D texture width
*
* @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidDevice
*
* @see hipDeviceGetAttribute, hipMalloc, hipTexRefSetAddressMode
*/
hipError_t hipDeviceGetTexture1DLinearMaxWidth(hipMemPool_t* mem_pool, int device);
/**
* @brief Set L1/Shared cache partition.
*