SWDEV-545245 - Fix hipDeviceGetTexture1DLinearMaxWidth declaration (#280)

The hipDeviceGetTexture1DLinearMaxWidth declaration is incorrect.  It
has the wrong arguments.  This commit fixes it.
Цей коміт міститься в:
Alves, Pedro authored and GitHub committed 2025-08-04 15:35:03 +05:30
1 джерело a7f453c5b1
коміт e74b05a7bd
1 file changed
+4 -1
+4 -1
Переглянути файл
@@ -2245,13 +2245,16 @@ hipError_t hipGetDeviceProperties(hipDeviceProp_t* prop, int deviceId);
* limitations of the device.
*
* @param [out] max_width Maximum width, in elements, of 1D linear textures that the device can support
* @param [in] desc Requested channel format
* @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);
hipError_t hipDeviceGetTexture1DLinearMaxWidth(size_t* max_width,
const hipChannelFormatDesc* desc,
int device);
/**
* @brief Set L1/Shared cache partition.
*