Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
a4f69a01
Unverified
Commit
a4f69a01
authored
Feb 13, 2025
by
Jeffrey Morgan
Committed by
GitHub
Feb 13, 2025
Browse files
build: add -DGGML_CUDA_NO_PEER_COPY=ON for rocm builds on windows (#9060)
parent
82658c3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
CMakeLists.txt
CMakeLists.txt
+4
-0
No files found.
CMakeLists.txt
View file @
a4f69a01
...
...
@@ -104,6 +104,10 @@ if(CMAKE_HIP_COMPILER)
if
(
AMDGPU_TARGETS
)
add_subdirectory
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/ml/backend/ggml/ggml/src/ggml-hip
)
if
(
WIN32
)
target_compile_definitions
(
ggml-hip PRIVATE GGML_CUDA_NO_PEER_COPY=1
)
endif
()
set
(
OLLAMA_HIP_INSTALL_DIR
${
OLLAMA_INSTALL_DIR
}
/rocm
)
install
(
TARGETS ggml-hip
RUNTIME_DEPENDENCIES
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment