Correct the declaration of hipBindTexture2D()

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

Change-Id: Idde461f0f328ac87ce677b6bab3203161b514cbf


[ROCm/hip commit: 3e460ab514]
Αυτή η υποβολή περιλαμβάνεται σε:
Vladislav Sytchenko authored and Vladislav Sytchenko committed 2020-03-18 18:08:23 -04:00
1 γονέας 4723ceced8
υποβολή b61a7da1ec
2 files changed
+12 -1

No files matched your search

@@ -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,