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
9ef124cc
"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "537aaad5d13837a8ba7675fa3f7227115dcaf444"
Commit
9ef124cc
authored
May 30, 2019
by
Chao Liu
Browse files
fix build issue
parent
ad5db169
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
src/include/blockwise_generic_tensor_slice_op.hip.hpp
src/include/blockwise_generic_tensor_slice_op.hip.hpp
+6
-6
src/include/gridwise_convolution_implicit_gemm_v3_lds_double_buffer_nchw_cyxk_nkhw.hip.hpp
...implicit_gemm_v3_lds_double_buffer_nchw_cyxk_nkhw.hip.hpp
+1
-1
src/include/gridwise_convolution_implicit_gemm_v4_lds_double_buffer_nchw_kcyx_nkhw.hip.hpp
...implicit_gemm_v4_lds_double_buffer_nchw_kcyx_nkhw.hip.hpp
+1
-1
No files found.
src/include/blockwise_generic_tensor_slice_op.hip.hpp
View file @
9ef124cc
...
@@ -332,7 +332,7 @@ struct BlockwiseGenericTensorSliceCopy_v1
...
@@ -332,7 +332,7 @@ struct BlockwiseGenericTensorSliceCopy_v1
#endif
#endif
// update "mThreadSrcOriginalMultiId"
// update "mThreadSrcOriginalMultiId"
static_for
<
0
,
src_partial_original_dims
.
GetSize
(),
1
>
{}([
&
](
auto
I_
)
{
static_for
<
0
,
decltype
(
src_partial_original_dims
)
::
GetSize
(),
1
>
{}([
&
](
auto
I_
)
{
constexpr
auto
I
=
decltype
(
I_
){};
constexpr
auto
I
=
decltype
(
I_
){};
constexpr
index_t
idim_original
=
src_partial_original_dims
.
Get
(
I
);
constexpr
index_t
idim_original
=
src_partial_original_dims
.
Get
(
I
);
...
@@ -365,18 +365,18 @@ struct BlockwiseGenericTensorSliceCopy_v1
...
@@ -365,18 +365,18 @@ struct BlockwiseGenericTensorSliceCopy_v1
constexpr
index_t
idim_original
=
SrcDesc
::
GetContainedOriginalDimensions
(
IDim
).
Front
();
constexpr
index_t
idim_original
=
SrcDesc
::
GetContainedOriginalDimensions
(
IDim
).
Front
();
static_if
<
PositiveDirection
>
{}([
&
](
auto
)
{
static_if
<
PositiveDirection
>
{}([
&
](
auto
fwd
)
{
mThreadSrcOffset
+=
StepSize
*
SrcDesc
::
GetStride
(
IDim
);
mThreadSrcOffset
+=
StepSize
*
fwd
(
SrcDesc
{}).
GetStride
(
IDim
);
mThreadSrcOriginalMultiId
[
idim_original
]
+=
StepSize
;
mThreadSrcOriginalMultiId
[
idim_original
]
+=
StepSize
;
mThreadSrcPartialOffsets
[
idim
]
+=
StepSize
*
SrcDesc
::
GetStride
(
IDim
);
mThreadSrcPartialOffsets
[
idim
]
+=
StepSize
*
fwd
(
SrcDesc
{}).
GetStride
(
IDim
);
}).
Else
([
&
](
auto
)
{
}).
Else
([
&
](
auto
)
{
mThreadSrcOffset
-=
StepSize
*
SrcDesc
::
GetStride
(
IDim
);
mThreadSrcOffset
-=
StepSize
*
fwd
(
SrcDesc
{}).
GetStride
(
IDim
);
mThreadSrcOriginalMultiId
[
idim_original
]
-=
StepSize
;
mThreadSrcOriginalMultiId
[
idim_original
]
-=
StepSize
;
mThreadSrcPartialOffsets
[
idim
]
-=
StepSize
*
SrcDesc
::
GetStride
(
IDim
);
mThreadSrcPartialOffsets
[
idim
]
-=
StepSize
*
fwd
(
SrcDesc
{}).
GetStride
(
IDim
);
});
});
});
});
}
}
...
...
src/include/gridwise_convolution_implicit_gemm_v3_lds_double_buffer_nchw_cyxk_nkhw.hip.hpp
View file @
9ef124cc
...
@@ -223,7 +223,7 @@ struct GridwiseConvolutionImplicitGemm_v3_lds_double_buffer_nchw_cyxk_nkhw
...
@@ -223,7 +223,7 @@ struct GridwiseConvolutionImplicitGemm_v3_lds_double_buffer_nchw_cyxk_nkhw
const
auto
run_blockwise_gemm
=
[
&
](
auto
...
Xs
)
{
const
auto
run_blockwise_gemm
=
[
&
](
auto
...
Xs
)
{
#if 1
#if 1
return
blockwise_gemm
.
Run
(
Xs
...);
return
blockwise_gemm
.
Run
(
Xs
...);
#el
if 0
#el
se
return
blockwise_gemm
.
Run_asm
(
Xs
...);
return
blockwise_gemm
.
Run_asm
(
Xs
...);
#endif
#endif
};
};
...
...
src/include/gridwise_convolution_implicit_gemm_v4_lds_double_buffer_nchw_kcyx_nkhw.hip.hpp
View file @
9ef124cc
...
@@ -235,7 +235,7 @@ struct GridwiseConvolutionImplicitGemm_v4_lds_double_buffer_nchw_kcyx_nkhw
...
@@ -235,7 +235,7 @@ struct GridwiseConvolutionImplicitGemm_v4_lds_double_buffer_nchw_kcyx_nkhw
const
auto
run_blockwise_gemm
=
[
&
](
auto
...
Xs
)
{
const
auto
run_blockwise_gemm
=
[
&
](
auto
...
Xs
)
{
#if 1
#if 1
return
blockwise_gemm
.
Run
(
Xs
...);
return
blockwise_gemm
.
Run
(
Xs
...);
#el
if 0
#el
se
return
blockwise_gemm
.
Run_asm
(
Xs
...);
return
blockwise_gemm
.
Run_asm
(
Xs
...);
#endif
#endif
};
};
...
...
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