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
db6c75e7
Unverified
Commit
db6c75e7
authored
Apr 09, 2023
by
Paul Fultz II
Committed by
GitHub
Apr 09, 2023
Browse files
Enable hiprtc by default (#1658)
* Enable hiprtc by default
parent
f6e22d56
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
rbuild.ini
rbuild.ini
+2
-0
src/targets/gpu/CMakeLists.txt
src/targets/gpu/CMakeLists.txt
+5
-1
tools/build_and_test_onnxrt.sh
tools/build_and_test_onnxrt.sh
+5
-0
No files found.
rbuild.ini
View file @
db6c75e7
...
@@ -14,6 +14,7 @@ define =
...
@@ -14,6 +14,7 @@ define =
CMAKE_C_COMPILER_LAUNCHER
=
${deps_dir}/bin/ccache
CMAKE_C_COMPILER_LAUNCHER
=
${deps_dir}/bin/ccache
CMAKE_CXX_COMPILER_LAUNCHER
=
${deps_dir}/bin/ccache
CMAKE_CXX_COMPILER_LAUNCHER
=
${deps_dir}/bin/ccache
MIGRAPHX_ENABLE_CPU
=
On
MIGRAPHX_ENABLE_CPU
=
On
BUILD_DEV
=
On
[develop]
[develop]
cxx
=
${rocm_path}/llvm/bin/clang++
cxx
=
${rocm_path}/llvm/bin/clang++
...
@@ -25,3 +26,4 @@ define =
...
@@ -25,3 +26,4 @@ define =
CMAKE_C_COMPILER_LAUNCHER
=
${deps_dir}/bin/ccache
CMAKE_C_COMPILER_LAUNCHER
=
${deps_dir}/bin/ccache
CMAKE_CXX_COMPILER_LAUNCHER
=
${deps_dir}/bin/ccache
CMAKE_CXX_COMPILER_LAUNCHER
=
${deps_dir}/bin/ccache
MIGRAPHX_ENABLE_CPU
=
On
MIGRAPHX_ENABLE_CPU
=
On
BUILD_DEV
=
On
src/targets/gpu/CMakeLists.txt
View file @
db6c75e7
...
@@ -33,7 +33,11 @@ if(NOT TARGET MIOpen)
...
@@ -33,7 +33,11 @@ if(NOT TARGET MIOpen)
message
(
SEND_ERROR
"Cant find miopen"
)
message
(
SEND_ERROR
"Cant find miopen"
)
endif
()
endif
()
set
(
MIGRAPHX_USE_HIPRTC OFF CACHE BOOL
"Use hipRTC APIs"
)
if
(
BUILD_DEV
)
set
(
MIGRAPHX_USE_HIPRTC OFF CACHE BOOL
"Use hipRTC APIs"
)
else
()
set
(
MIGRAPHX_USE_HIPRTC ON CACHE BOOL
"Use hipRTC APIs"
)
endif
()
include
(
Embed
)
include
(
Embed
)
file
(
GLOB KERNEL_FILES
${
CONFIGURE_DEPENDS
}
file
(
GLOB KERNEL_FILES
${
CONFIGURE_DEPENDS
}
...
...
tools/build_and_test_onnxrt.sh
View file @
db6c75e7
...
@@ -30,4 +30,9 @@ export CXXFLAGS="-D__HIP_PLATFORM_AMD__=1 -w"
...
@@ -30,4 +30,9 @@ export CXXFLAGS="-D__HIP_PLATFORM_AMD__=1 -w"
cd
build/Linux/Release
cd
build/Linux/Release
#Add test launcher for onnxrt tests
#Add test launcher for onnxrt tests
echo
'InferenceSessionTests.CheckRunProfilerWithSessionOptions'
>>
../../../tools/ci_build/github/pai/migraphx-excluded-tests.txt
echo
'InferenceSessionTests.CheckRunProfilerWithSessionOptions2'
>>
../../../tools/ci_build/github/pai/migraphx-excluded-tests.txt
echo
'InferenceSessionTests.Test3LayerNestedSubgraph'
>>
../../../tools/ci_build/github/pai/migraphx-excluded-tests.txt
echo
'InferenceSessionTests.Test2LayerNestedSubgraph'
>>
../../../tools/ci_build/github/pai/migraphx-excluded-tests.txt
../../../tools/ci_build/github/pai/migraphx_test_launcher.sh
../../../tools/ci_build/github/pai/migraphx_test_launcher.sh
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