Correct the declaration of hipBindTexture2D()

The texture reference needs to be passed as a constant pointer.

Change-Id: Idde461f0f328ac87ce677b6bab3203161b514cbf


[ROCm/hip commit: 3e460ab514]
This commit is contained in:
Vladislav Sytchenko authored and Vladislav Sytchenko committed 2020-03-18 18:08:23 -04:00
1 parent 4723ceced8
commit b61a7da1ec
2 file changed
+12 -1

No files matched your search

+1 -1
View File
@@ -457,7 +457,7 @@ hipError_t ihipBindTexture2D(size_t* offset,
}
hipError_t hipBindTexture2D(size_t* offset,
textureReference* texref,
const textureReference* texref,
const void* devPtr,
const hipChannelFormatDesc* desc,
size_t width,