From 55de1fb95e3227d761f9fe24e72ed8ed60c9ac12 Mon Sep 17 00:00:00 2001 From: "Zhao, Yang2" Date: Thu, 9 Jan 2025 07:32:45 +0100 Subject: [PATCH] fix ddi --- source/loader/layers/sanitizer/msan/msan_ddi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/loader/layers/sanitizer/msan/msan_ddi.cpp b/source/loader/layers/sanitizer/msan/msan_ddi.cpp index 3dc9630b38..cc2341fc55 100644 --- a/source/loader/layers/sanitizer/msan/msan_ddi.cpp +++ b/source/loader/layers/sanitizer/msan/msan_ddi.cpp @@ -1700,6 +1700,8 @@ ur_result_t urGetUSMProcAddrTable( ur_result_t result = UR_RESULT_SUCCESS; pDdiTable->pfnDeviceAlloc = ur_sanitizer_layer::msan::urUSMDeviceAlloc; + pDdiTable->pfnHostAlloc = ur_sanitizer_layer::msan::urUSMHostAlloc; + pDdiTable->pfnSharedAlloc = ur_sanitizer_layer::msan::urUSMSharedAlloc; pDdiTable->pfnFree = ur_sanitizer_layer::msan::urUSMFree; return result;