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
efa05704
Commit
efa05704
authored
Nov 03, 2023
by
Paul
Browse files
Remove comments
parent
7eb45111
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
src/targets/gpu/gemm_impl.cpp
src/targets/gpu/gemm_impl.cpp
+0
-12
src/targets/gpu/include/migraphx/gpu/rocblas.hpp
src/targets/gpu/include/migraphx/gpu/rocblas.hpp
+0
-1
No files found.
src/targets/gpu/gemm_impl.cpp
View file @
efa05704
...
@@ -22,12 +22,6 @@
...
@@ -22,12 +22,6 @@
* THE SOFTWARE.
* THE SOFTWARE.
*/
*/
/**
* Contains a templated struct implementation that wraps several rocBLAS API calls
* used by the GEMM operator. These are accessed by methods declared in gemm_impl.hpp
*
*/
#include <rocblas/rocblas.h>
#include <rocblas/rocblas.h>
#include <migraphx/gpu/gemm_impl.hpp>
#include <migraphx/gpu/gemm_impl.hpp>
#include <migraphx/reduce_dims.hpp>
#include <migraphx/reduce_dims.hpp>
...
@@ -446,9 +440,6 @@ struct gemm_impl
...
@@ -446,9 +440,6 @@ struct gemm_impl
ctx
.
finish
();
ctx
.
finish
();
});
});
// todo: Measured time dropped from 20 us to about 6.7 us when I raised hot_calls from
// 1 to 11. The higher the hot_calls value, the faster per-call time up to at least 25,
// and increasing cold_calls makes little or no difference. Why?
host_time
/=
hot_calls
;
host_time
/=
hot_calls
;
// dev/evaluation only: track time for first solution.
// dev/evaluation only: track time for first solution.
...
@@ -579,9 +570,6 @@ int32_t gemm_finalize(context& ctx,
...
@@ -579,9 +570,6 @@ int32_t gemm_finalize(context& ctx,
int32_t
solution_idx
)
int32_t
solution_idx
)
{
{
#ifdef MIGRAPHX_USE_ROCBLAS_TUNING_API
#ifdef MIGRAPHX_USE_ROCBLAS_TUNING_API
// This code should be called only if either the environment var.
// MIGRAPHX_ENABLE_GEMM_TUNING, or option --exhaustive-tune, is set
if
(
solution_idx
==
0
)
if
(
solution_idx
==
0
)
{
{
auto
gemm_item
=
gemm_impl
<
int32_t
>
(
output_shape
,
input_shapes
,
alpha
,
beta
,
compute_fp32
);
auto
gemm_item
=
gemm_impl
<
int32_t
>
(
output_shape
,
input_shapes
,
alpha
,
beta
,
compute_fp32
);
...
...
src/targets/gpu/include/migraphx/gpu/rocblas.hpp
View file @
efa05704
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#define MIGRAPHX_GUARD_MIGRAPHLIB_ROCBLAS_HPP
#define MIGRAPHX_GUARD_MIGRAPHLIB_ROCBLAS_HPP
#include <migraphx/manage_ptr.hpp>
#include <migraphx/manage_ptr.hpp>
#include <migraphx/gpu/config.hpp>
#include <migraphx/gpu/config.hpp>
// ROCBLAS_BETA_FEATURES_API is defined by CMake, if available.
#include <rocblas/rocblas.h>
#include <rocblas/rocblas.h>
namespace
migraphx
{
namespace
migraphx
{
...
...
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