SWDEV-439637 - Fix undefined symbol error hipTexRefGetArray & hipTexRefGetBorderColor (github id- #3382)

Change-Id: Iae1956779e84759f23011151b60a01cef0d0ef32
Šī revīzija ir iekļauta:
Anusha GodavarthySurya
2024-01-03 14:43:45 +00:00
revīziju iesūtīja Anusha Godavarthy Surya
vecāks 32d49d55ec
revīzija 5303cd2740
3 mainīti faili ar 16 papildinājumiem un 1 dzēšanām
+4
Parādīt failu
@@ -759,6 +759,8 @@ hipError_t hipGraphExternalSemaphoresWaitNodeSetParams(
hipError_t hipModuleLaunchCooperativeKernelMultiDevice(hipFunctionLaunchParams* launchParamsList,
unsigned int numDevices, unsigned int flags);
hipError_t hipExtGetLastError();
hipError_t hipTexRefGetBorderColor(float* pBorderColor, const textureReference* texRef);
hipError_t hipTexRefGetArray(hipArray_t* pArray, const textureReference* texRef);
} // namespace hip
namespace hip {
@@ -1230,6 +1232,8 @@ void UpdateDispatchTable(HipDispatchTable* ptrDispatchTable) {
ptrDispatchTable->hipDrvGraphAddMemsetNode_fn = hip::hipDrvGraphAddMemsetNode;
ptrDispatchTable->hipGetDevicePropertiesR0000_fn = hip::hipGetDevicePropertiesR0000;
ptrDispatchTable->hipExtGetLastError_fn = hip::hipExtGetLastError;
ptrDispatchTable->hipTexRefGetBorderColor_fn = hip::hipTexRefGetBorderColor;
ptrDispatchTable->hipTexRefGetArray_fn = hip::hipTexRefGetArray;
}
#if HIP_ROCPROFILER_REGISTER > 0