Correct the declaration of hipBindTexture2D()

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

Change-Id: Idde461f0f328ac87ce677b6bab3203161b514cbf
此提交包含在:
Vladislav Sytchenko
2020-03-17 16:53:54 -04:00
提交者 Vladislav Sytchenko
父節點 2d77399747
當前提交 3e460ab514
共有 2 個檔案被更改,包括 12 行新增 和 1 行删除
+1 -1
查看文件
@@ -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,