Skip to content

Commit aa4ff00

Browse files
committed
[L0 provider] disable post initialize
1 parent d9b59a6 commit aa4ff00

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/provider/provider_level_zero.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -649,12 +649,6 @@ static umf_result_t ze_memory_provider_initialize(const void *params,
649649
return UMF_RESULT_SUCCESS;
650650
}
651651

652-
static umf_result_t ze_memory_provider_post_initialize(void *provider) {
653-
(void)provider;
654-
// For initial version, just return success
655-
return UMF_RESULT_SUCCESS;
656-
}
657-
658652
static umf_result_t
659653
ze_memory_provider_get_last_native_error(void *provider, const char **ppMessage,
660654
int32_t *pError) {
@@ -960,7 +954,7 @@ static umf_memory_provider_ops_t UMF_LEVEL_ZERO_MEMORY_PROVIDER_OPS = {
960954
ze_memory_provider_get_allocation_properties,
961955
.ext_get_allocation_properties_size =
962956
ze_memory_provider_get_allocation_properties_size,
963-
.ext_post_initialize = ze_memory_provider_post_initialize,
957+
.ext_post_initialize = NULL,
964958
};
965959

966960
const umf_memory_provider_ops_t *umfLevelZeroMemoryProviderOps(void) {

0 commit comments

Comments
 (0)