Correct the declaration of hipBindTextureToArray()
The texture reference needs to be passed as a constant pointer.
Change-Id: Iff171626536071fb2020cfff7132ec930577b1b9
[ROCm/hip commit: 2d77399747]
Este commit está contenido en:
cometido por
Vladislav Sytchenko
padre
efca40a693
commit
4723ceced8
@@ -3443,8 +3443,15 @@ hipError_t hipBindTexture2D(size_t* offset, struct texture<T, dim, readMode>& te
|
||||
}
|
||||
|
||||
// C API
|
||||
#if __HIP_VDI__
|
||||
hipError_t hipBindTextureToArray(
|
||||
const textureReference* tex,
|
||||
hipArray_const_t array,
|
||||
const hipChannelFormatDesc* desc);
|
||||
#else
|
||||
hipError_t hipBindTextureToArray(textureReference* tex, hipArray_const_t array,
|
||||
const hipChannelFormatDesc* desc);
|
||||
#endif
|
||||
|
||||
hipError_t ihipBindTextureToArrayImpl(TlsData *tls, int dim, enum hipTextureReadMode readMode,
|
||||
hipArray_const_t array,
|
||||
|
||||
Referencia en una nueva incidencia
Block a user