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
9e83e550
Unverified
Commit
9e83e550
authored
Nov 07, 2024
by
Daniel Hiltgen
Committed by
GitHub
Nov 07, 2024
Browse files
Align rocm compiler flags (#7467)
Bring consistency with the old generate script behavior
parent
fc2a0715
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
llama/make/Makefile.rocm
llama/make/Makefile.rocm
+5
-0
No files found.
llama/make/Makefile.rocm
View file @
9e83e550
...
...
@@ -58,6 +58,8 @@ endif
GPU_COMPILER_CUFLAGS
=
\
$(GPU_COMPILER_FPIC)
\
$(
addprefix
-m
,
$(GPU_RUNNER_CPU_FLAGS)
)
\
-mf16c
\
-mfma
\
-parallel-jobs
=
2
\
-c
\
-O3
\
...
...
@@ -77,6 +79,9 @@ GPU_COMPILER_CUFLAGS = \
-D_CRT_SECURE_NO_WARNINGS
\
-D_GNU_SOURCE
\
-D_XOPEN_SOURCE
=
600
\
-DUSE_PROF_API
=
1
\
-std
=
gnu++14
\
-x
hip
\
-mllvm
=
-amdgpu-early-inline-all
=
true
\
-mllvm
=
-amdgpu-function-calls
=
false
\
-Wno-expansion-to-defined
\
...
...
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