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
Этот коммит содержится в:
@@ -176,6 +176,7 @@ hipBindTexture2D
|
||||
hipBindTextureToArray
|
||||
hipBindTextureToMipmappedArray
|
||||
hipUnbindTexture
|
||||
ihipUnbindTextureImpl
|
||||
hipGetChannelDesc
|
||||
hipGetTextureAlignmentOffset
|
||||
hipGetTextureReference
|
||||
|
||||
@@ -189,6 +189,7 @@ global:
|
||||
hipBindTextureToArray*;
|
||||
hipBindTextureToMipmappedArray*;
|
||||
hipUnbindTexture*;
|
||||
ihipUnbindTextureImpl*;
|
||||
hipGetChannelDesc*;
|
||||
hipGetTextureAlignmentOffset*;
|
||||
hipGetTextureReference*;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user