Skip to content

Commit

Permalink
[Build] Fix cuda link target of cumem_allocator in CPU env (vllm-proj…
Browse files Browse the repository at this point in the history
…ect#12863)

Signed-off-by: YuhongGuo <[email protected]>
Co-authored-by: Tyler Michael Smith <[email protected]>
  • Loading branch information
guoyuhong and tlrmchlsmth authored Feb 11, 2025
1 parent 7539bbc commit da31719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ set_gencode_flags_for_srcs(
if(VLLM_GPU_LANG STREQUAL "CUDA")
message(STATUS "Enabling cumem allocator extension.")
# link against cuda driver library
list(APPEND CUMEM_LIBS cuda)
list(APPEND CUMEM_LIBS CUDA::cuda_driver)
define_gpu_extension_target(
cumem_allocator
DESTINATION vllm
Expand Down

0 comments on commit da31719

Please sign in to comment.