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
4a20c076
"...resnet50_tensorflow.git" did not exist on "5d6212c8ca3ad9ef3f9522a01eb2652942f3261e"
Commit
4a20c076
authored
Nov 01, 2023
by
Astha Rai
Browse files
updated test/profiler files
parent
baaad9ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
profiler/include/profiler/profile_transpose_impl.hpp
profiler/include/profiler/profile_transpose_impl.hpp
+11
-5
test/transpose/test_transpose.cpp
test/transpose/test_transpose.cpp
+1
-1
No files found.
profiler/include/profiler/profile_transpose_impl.hpp
View file @
4a20c076
...
@@ -43,14 +43,20 @@ bool profile_transpose_impl(int do_verification,
...
@@ -43,14 +43,20 @@ bool profile_transpose_impl(int do_verification,
int
init_method
,
int
init_method
,
bool
do_log
,
bool
do_log
,
bool
time_kernel
,
bool
time_kernel
,
ck
::
index_t
N
,
index_t
N
,
ck
::
index_t
C
,
index_t
C
,
ck
::
index_t
D
,
index_t
D
,
ck
::
index_t
H
,
index_t
H
,
ck
::
index_t
W
)
index_t
W
)
{
{
bool
pass
=
true
;
bool
pass
=
true
;
/**index_t N = lengths[0];
index_t C = lengths[1];
index_t D = lengths[2];
index_t H = lengths[3];
index_t W = lengths[4];**/
std
::
vector
<
ck
::
index_t
>
ncdhw
=
{
N
,
C
,
D
,
H
,
W
};
std
::
vector
<
ck
::
index_t
>
ncdhw
=
{
N
,
C
,
D
,
H
,
W
};
std
::
vector
<
ck
::
index_t
>
ndhwc
=
{
N
,
D
,
H
,
W
,
C
};
std
::
vector
<
ck
::
index_t
>
ndhwc
=
{
N
,
D
,
H
,
W
,
C
};
Tensor
<
ADataType
>
a
(
ncdhw
);
Tensor
<
ADataType
>
a
(
ncdhw
);
...
...
test/transpose/test_transpose.cpp
View file @
4a20c076
...
@@ -11,7 +11,7 @@ using F16 = ck::half_t;
...
@@ -11,7 +11,7 @@ using F16 = ck::half_t;
using
F32
=
float
;
using
F32
=
float
;
template
<
typename
Tuple
>
template
<
typename
Tuple
>
class
TestTranspose
:
public
ck
::
test
::
Test
Transpose
<
Tuple
>
class
TestTranspose
:
public
::
test
ing
::
Test
{
{
};
};
...
...
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