P4 to Git Change 2029899 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/13 12:29:19

SWDEV-144570 - Implementing ihipUnbindTextureImpl API.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#35 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#33 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#27 edit
Этот коммит содержится в:
foreman
2019-11-13 12:34:13 -05:00
родитель ceebda15ef
Коммит c4e4e370a9
3 изменённых файлов: 9 добавлений и 0 удалений
+7
Просмотреть файл
@@ -526,6 +526,13 @@ hipError_t hipBindTextureToMipmappedArray(textureReference* tex,
HIP_RETURN(hipErrorNotSupported);
}
hipError_t ihipUnbindTextureImpl(const hipTextureObject_t& textureObject) {
ihipDestroyTextureObject(reinterpret_cast<hip::TextureObject*>(textureObject));
return hipSuccess;
}
hipError_t hipUnbindTexture(const textureReference* tex) {
HIP_INIT_API(NONE, tex);