"tests/vscode:/vscode.git/clone" did not exist on "686623c5e7a0ee0c7679c052ced565dd83055709"
Unverified Commit 80e25483 authored by James Whedbee's avatar James Whedbee Committed by GitHub
Browse files

[Bugfix] Fix ROCm support in CMakeLists.txt (#3534)

parent ba8ae1d8
...@@ -51,7 +51,7 @@ append_cmake_prefix_path("torch" "torch.utils.cmake_prefix_path") ...@@ -51,7 +51,7 @@ append_cmake_prefix_path("torch" "torch.utils.cmake_prefix_path")
# Ensure the 'nvcc' command is in the PATH # Ensure the 'nvcc' command is in the PATH
find_program(NVCC_EXECUTABLE nvcc) find_program(NVCC_EXECUTABLE nvcc)
if (NOT NVCC_EXECUTABLE) if (CUDA_FOUND AND NOT NVCC_EXECUTABLE)
message(FATAL_ERROR "nvcc not found") message(FATAL_ERROR "nvcc not found")
endif() endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment