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
c2b24de5
"docs/vscode:/vscode.git/clone" did not exist on "055b42c097eb1f44c5cc8e44664d16e0dc5f42d5"
Commit
c2b24de5
authored
Jul 18, 2018
by
wsttiger
Browse files
Added rocblas to requirements and formatting
parent
09d332d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
requirements.txt
requirements.txt
+1
-0
src/targets/miopen/miopen_lowering.cpp
src/targets/miopen/miopen_lowering.cpp
+1
-2
src/targets/miopen/miopen_target.cpp
src/targets/miopen/miopen_target.cpp
+2
-1
No files found.
requirements.txt
View file @
c2b24de5
google/protobuf
-DCMAKE_POSITION_INDEPENDENT_CODE=On
RadeonOpenCompute/rocm-cmake@3f43e2d493f24abbab4dc189a9ab12cc3ad33baf
--build
ROCmSoftwarePlatform/MIOpen,http://gitlab1.amd.com/pfultz/miopen/-/archive/57dd8372fa043f4bb500ac297f2c479e1c819e89/miopen-57dd8372fa043f4bb500ac297f2c479e1c819e89.tar.bz2
-DMIOPEN_CACHE_DIR=""
ROCmSoftwarePlatform/rocBLAS@v14.0.1
src/targets/miopen/miopen_lowering.cpp
View file @
c2b24de5
...
...
@@ -159,8 +159,7 @@ struct miopen_gemm
}
argument
compute
(
migraph
::
context
&
gctx
,
shape
output_shape
,
std
::
vector
<
argument
>
args
)
const
{
// rocblas_handle_ptr handle_ptr = create_rocblas_handle_ptr();
auto
&
ctx
=
any_cast
<
miopen_context
>
(
gctx
);
auto
&
ctx
=
any_cast
<
miopen_context
>
(
gctx
);
float
alpha
=
1.0
f
;
float
beta
=
0.0
f
;
rocblas_int
lda
=
args
[
0
].
get_shape
().
lens
()[
1
];
...
...
src/targets/miopen/miopen_target.cpp
View file @
c2b24de5
...
...
@@ -15,7 +15,8 @@ std::string miopen_target::name() const { return "miopen"; }
context
miopen_target
::
get_context
()
const
{
return
miopen_context
{
share
(
make_obj
<
miopen_handle
>
(
&
miopenCreate
)),
share
(
create_rocblas_handle_ptr
())};
return
miopen_context
{
share
(
make_obj
<
miopen_handle
>
(
&
miopenCreate
)),
share
(
create_rocblas_handle_ptr
())};
}
}
// namespace miopen
...
...
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