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
composable_kernel
Commits
4fb42982
"git@developer.sourcefind.cn:OpenDAS/torch-spline-conv.git" did not exist on "08a517fe4d17b2fe5fc5adcd8095a9318484ed12"
Commit
4fb42982
authored
Mar 27, 2019
by
Chao Liu
Browse files
refactor
parent
b30edb4c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
2 deletions
+22
-2
build_script/cmake-hcc.sh
build_script/cmake-hcc.sh
+20
-0
build_script/cmake-hipcc.sh
build_script/cmake-hipcc.sh
+0
-0
build_script/compile-hip.sh
build_script/compile-hip.sh
+1
-1
driver/device_implicit_gemm_convolution_2_chwn_cyxk_khwn.hpp
driver/device_implicit_gemm_convolution_2_chwn_cyxk_khwn.hpp
+1
-1
No files found.
build_script/cmake-hcc.sh
0 → 100755
View file @
4fb42982
#!/bin/bash
rm
-f
CMakeCache.txt
rm
-f
*
.cmake
rm
-rf
CMakeFiles
MY_PROJECT_SOURCE
=
../../../
MY_PROJECT_INSTALL
=
../install.dir
cmake
\
-D
CMAKE_INSTALL_PREFIX
=
${
MY_PROJECT_INSTALL
}
\
-D
CMAKE_BUILD_TYPE
=
Release
\
-D
DEVICE_BACKEND
=
"HIP"
\
-D
CMAKE_CXX_COMPILER
=
hcc
\
-D
CMAKE_CXX_FLAGS
=
"-gline-tables-only
${
HCC_FLAGS
}
"
\
-D
CMAKE_EXE_LINKER_FLAGS
=
"
${
HCC_FLAGS
}
-L/opt/rocm/lib --hip-link -lhip_hcc "
\
-D
CMAKE_PREFIX_PATH
=
"/opt/rocm;/home/package/build/mlopen_dep"
\
-D
CMAKE_VERBOSE_MAKEFILE:BOOL
=
ON
\
${
MY_PROJECT_SOURCE
}
build_script/cmake-hip.sh
→
build_script/cmake-hip
cc
.sh
View file @
4fb42982
File moved
build_script/compile-hip.sh
View file @
4fb42982
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
export
KMDUMPISA
=
1
export
KMDUMPISA
=
1
make
-j
driver
make
-j
driver
/opt/rocm/hcc/bin/llvm-objdump
-mcpu
=
gfx90
0
-source
-line-numbers
driver/dump-gfx90
0
.isabin
>
driver/dump-gfx90
0
.isabin.isa
/opt/rocm/hcc/bin/llvm-objdump
-mcpu
=
gfx90
6
-source
-line-numbers
driver/dump-gfx90
6
.isabin
>
driver/dump-gfx90
6
.isabin.isa
driver/device_implicit_gemm_convolution_2_chwn_cyxk_khwn.hpp
View file @
4fb42982
...
@@ -196,7 +196,7 @@ void device_implicit_gemm_convolution_2_chwn_cyxk_khwn(InDesc,
...
@@ -196,7 +196,7 @@ void device_implicit_gemm_convolution_2_chwn_cyxk_khwn(InDesc,
for
(
index_t
i
=
0
;
i
<
nrepeat
;
++
i
)
for
(
index_t
i
=
0
;
i
<
nrepeat
;
++
i
)
{
{
float
time
=
launch_kernel
(
float
time
=
launch_kernel
(
#if
0
#if
1
gridwise_implicit_gemm_convolution_2_chwn_cyxk_khwn
gridwise_implicit_gemm_convolution_2_chwn_cyxk_khwn
#else
#else
gridwise_implicit_gemm_convolution_2_chwn_cyxk_khwn_lds_double_buffer
gridwise_implicit_gemm_convolution_2_chwn_cyxk_khwn_lds_double_buffer
...
...
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