Skip to content

Commit

Permalink
Fix unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonbok committed Sep 20, 2023
1 parent 8192029 commit cf7bab5
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,13 @@ class check_hash_value: public ::testing::Test {

const auto primitive_hash = primitve->hash();
const auto params_hash = primitve->type->get_fake_aligned_params(*prim_inst->get_impl_params()).hash();

ASSERT_EQ(primitive_hash, 6924775129729406941UL);
ASSERT_EQ(params_hash, 15366394052020805414UL);
if (!engine.get_device_info().supports_immad) {
ASSERT_EQ(primitive_hash, 6924775129729406941UL);
ASSERT_EQ(params_hash, 15366394052020805414UL);
} else {
ASSERT_EQ(primitive_hash, 6924775129729406941UL);
ASSERT_EQ(params_hash, 8552673460001178483UL);
}
}

void test_gather_basic(bool is_caching_test) {
Expand Down

0 comments on commit cf7bab5

Please sign in to comment.