Skip to content

Commit

Permalink
Revert "tests: gtests: bn: disable int8 tests on gpu"
Browse files Browse the repository at this point in the history
This reverts commit a04cedb.
  • Loading branch information
echeresh committed Apr 21, 2020
1 parent b8e68b8 commit e7d95ab
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/gtests/test_batch_normalization_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,6 @@ class bnorm_test_common : public ::testing::TestWithParam<test_bnorm_params_t> {

protected:
virtual void SetUp() {
data_type = data_traits<data_t>::data_type;

SKIP_IF(data_type == memory::data_type::s8
&& get_test_engine_kind() == engine::kind::gpu,
"GPU does not support int8 data type.");

p = ::testing::TestWithParam<decltype(p)>::GetParam();
catch_expected_failures(
[=]() { Test(); }, p.expect_to_fail, p.expected_status);
Expand All @@ -92,6 +86,7 @@ class bnorm_test_common : public ::testing::TestWithParam<test_bnorm_params_t> {
eng = get_test_engine();
strm = make_stream(eng);

memory::data_type data_type = data_traits<data_t>::data_type;
ASSERT_TRUE(isF32(data_type) || isS8(data_type));

test_bnorm_sizes_t bs = p.sizes;
Expand Down

0 comments on commit e7d95ab

Please sign in to comment.