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
c7c47fd7
Commit
c7c47fd7
authored
Aug 10, 2023
by
Bartlomiej Wroblewski
Browse files
Merge branch 'develop' into bwroblew/dpp8
parents
f8eb91d7
578142db
Changes
183
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
test/pool_fwd/test_max_pool3d_fwd.cpp
test/pool_fwd/test_max_pool3d_fwd.cpp
+5
-1
test/softmax/test_softmax_rank3.cpp
test/softmax/test_softmax_rank3.cpp
+4
-1
test/softmax/test_softmax_rank4.cpp
test/softmax/test_softmax_rank4.cpp
+4
-1
No files found.
test/pool_fwd/test_max_pool3d_fwd.cpp
View file @
c7c47fd7
...
...
@@ -60,8 +60,12 @@ class TestMaxPool3dFwd : public ::testing::Test
}
};
#ifdef __fp16__
using
KernelTypes
=
::
testing
::
Types
<
std
::
tuple
<
F16
,
F16
,
F16
,
I32
>
,
std
::
tuple
<
F32
,
F32
,
F32
,
I32
>>
;
::
testing
::
Types
<
std
::
tuple
<
F16
,
F16
,
F32
,
I32
>
,
std
::
tuple
<
F32
,
F32
,
F32
,
I32
>>
;
#else
using
KernelTypes
=
::
testing
::
Types
<
std
::
tuple
<
F32
,
F32
,
F32
,
I32
>>
;
#endif
TYPED_TEST_SUITE
(
TestMaxPool3dFwd
,
KernelTypes
);
TYPED_TEST
(
TestMaxPool3dFwd
,
Test_Pool
)
...
...
test/softmax/test_softmax_rank3.cpp
View file @
c7c47fd7
...
...
@@ -10,8 +10,9 @@
template
<
ck
::
index_t
N
>
using
I
=
ck
::
Number
<
N
>
;
#ifdef __fp16__
using
F16
=
ck
::
half_t
;
#endif
using
F32
=
float
;
template
<
typename
Tuple
>
...
...
@@ -22,7 +23,9 @@ class TestSoftmax : public ck::TestSoftmax<Tuple>
// clang-format off
using
KernelTypes
=
::
testing
::
Types
<
// InDataType, AccDataType, OutDataType, Rank
#ifdef __fp16__
std
::
tuple
<
F16
,
F32
,
F16
,
I
<
3
>>
,
#endif
std
::
tuple
<
F32
,
F32
,
F32
,
I
<
3
>>
>
;
// clang-format on
...
...
test/softmax/test_softmax_rank4.cpp
View file @
c7c47fd7
...
...
@@ -10,8 +10,9 @@
template
<
ck
::
index_t
N
>
using
I
=
ck
::
Number
<
N
>
;
#ifdef __fp16__
using
F16
=
ck
::
half_t
;
#endif
using
F32
=
float
;
template
<
typename
Tuple
>
...
...
@@ -22,7 +23,9 @@ class TestSoftmax : public ck::TestSoftmax<Tuple>
// clang-format off
using
KernelTypes
=
::
testing
::
Types
<
// InDataType, AccDataType, OutDataType, Rank
#ifdef __fp16__
std
::
tuple
<
F16
,
F32
,
F16
,
I
<
4
>>
,
#endif
std
::
tuple
<
F32
,
F32
,
F32
,
I
<
4
>>
>
;
// clang-format on
...
...
Prev
1
…
6
7
8
9
10
Next
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