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:
1 parent
4723ceced8
commit
b61a7da1ec
2 file 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,
|
||||
|
||||
Reference in new issue
Block a user