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
gaoqiong
MIGraphX
Commits
930b147c
Commit
930b147c
authored
Oct 31, 2023
by
Manupa Karunaratne
Browse files
* cmake var to env var
parent
6b850e98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Jenkinsfile
Jenkinsfile
+2
-2
No files found.
Jenkinsfile
View file @
930b147c
...
@@ -134,7 +134,7 @@ rocmtest clang_debug: rocmnode('mi100+') { cmake_build ->
...
@@ -134,7 +134,7 @@ rocmtest clang_debug: rocmnode('mi100+') { cmake_build ->
}
}
},
mlir_debug:
rocmnode
(
'mi100+'
)
{
cmake_build
->
},
mlir_debug:
rocmnode
(
'mi100+'
)
{
cmake_build
->
stage
(
'MLIR Debug'
)
{
stage
(
'MLIR Debug'
)
{
withEnv
([
'MIGRAPHX_ENABLE_EXTRA_MLIR=1'
])
{
withEnv
([
'MIGRAPHX_ENABLE_EXTRA_MLIR=1'
,
'MIGRAPHX_MLIR_USE_SPECIFIC_OPS=fused,attention,convolution,dot'
])
{
def
sanitizers
=
"undefined"
def
sanitizers
=
"undefined"
// Note: the -fno-sanitize= is copied from upstream LLVM_UBSAN_FLAGS.
// Note: the -fno-sanitize= is copied from upstream LLVM_UBSAN_FLAGS.
def
debug_flags_cxx
=
"-g -O2 -fsanitize=${sanitizers} -fno-sanitize=vptr,function -fno-sanitize-recover=${sanitizers}"
def
debug_flags_cxx
=
"-g -O2 -fsanitize=${sanitizers} -fno-sanitize=vptr,function -fno-sanitize-recover=${sanitizers}"
...
@@ -142,7 +142,7 @@ rocmtest clang_debug: rocmnode('mi100+') { cmake_build ->
...
@@ -142,7 +142,7 @@ rocmtest clang_debug: rocmnode('mi100+') { cmake_build ->
def
gpu_targets
=
getgputargets
()
def
gpu_targets
=
getgputargets
()
// Since the purpose of this run verify all things MLIR supports,
// Since the purpose of this run verify all things MLIR supports,
// enabling all possible types of offloads
// enabling all possible types of offloads
cmake_build
(
flags:
"-DCMAKE_BUILD_TYPE=debug -DMIGRAPHX_ENABLE_PYTHON=Off -DMIGRAPHX_ENABLE_MLIR=On
-DMIGRAPHX_MLIR_USE_SPECIFIC_OPS=fused,attention,convolution,dot
-DCMAKE_CXX_FLAGS_DEBUG='${debug_flags_cxx}' -DCMAKE_C_FLAGS_DEBUG='${debug_flags}' -DGPU_TARGETS='${gpu_targets}'"
)
cmake_build
(
flags:
"-DCMAKE_BUILD_TYPE=debug -DMIGRAPHX_ENABLE_PYTHON=Off -DMIGRAPHX_ENABLE_MLIR=On -DCMAKE_CXX_FLAGS_DEBUG='${debug_flags_cxx}' -DCMAKE_C_FLAGS_DEBUG='${debug_flags}' -DGPU_TARGETS='${gpu_targets}'"
)
}
}
}
}
},
ck_hiprtc:
rocmnode
(
'mi100+'
)
{
cmake_build
->
},
ck_hiprtc:
rocmnode
(
'mi100+'
)
{
cmake_build
->
...
...
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