Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/provider/provider_cuda.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2024 Intel Corporation
* Copyright (C) 2024-2025 Intel Corporation
*
* Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Expand Down Expand Up @@ -313,7 +313,7 @@ static umf_result_t cu_memory_provider_initialize(void *params,
CUmemAllocationProp allocProps = {0};
allocProps.location.type = CU_MEM_LOCATION_TYPE_DEVICE;
allocProps.type = CU_MEM_ALLOCATION_TYPE_PINNED;
allocProps.location.id = cu_provider->device;
allocProps.location.id = cu_params->cuda_device_handle;
CUresult cu_result = g_cu_ops.cuMemGetAllocationGranularity(
&min_alignment, &allocProps, CU_MEM_ALLOC_GRANULARITY_MINIMUM);
if (cu_result != CUDA_SUCCESS) {
Expand Down
Loading