Skip to content

Commit

Permalink
revise for align problems
Browse files Browse the repository at this point in the history
  • Loading branch information
guodongliang committed Nov 21, 2024
1 parent fa177bc commit 40b44b0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ntt/test/ctest/test_ntt_clamp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ using namespace nncase;
using namespace ortki;

TEST(ClampTestFloat, NoPack) {
constexpr size_t M = 1024;
constexpr size_t N = 1024;
constexpr size_t M = 32;
constexpr size_t N = 32;
float min_input = static_cast<float>(-10);
float max_input = static_cast<float>(10);
float min_clamp = static_cast<float>(-6);
Expand Down Expand Up @@ -57,8 +57,8 @@ TEST(ClampTestFloat, NoPack) {
}

TEST(ClampTestFloat, PackM) {
constexpr size_t M = 1024;
constexpr size_t N = 1024;
constexpr size_t M = 32;
constexpr size_t N = 32;
constexpr size_t P = NTT_VLEN / (sizeof(float) * 8);
float min_input = static_cast<float>(-10);
float max_input = static_cast<float>(10);
Expand Down Expand Up @@ -98,8 +98,8 @@ TEST(ClampTestFloat, PackM) {
}

TEST(ClampTestFloat, PackN) {
constexpr size_t M = 1024;
constexpr size_t N = 1024;
constexpr size_t M = 32;
constexpr size_t N = 32;
constexpr size_t P = NTT_VLEN / (sizeof(float) * 8);
float min_input = static_cast<float>(-10);
float max_input = static_cast<float>(10);
Expand Down

0 comments on commit 40b44b0

Please sign in to comment.