Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
yshekel committed Aug 21, 2024
1 parent d6ca533 commit b363be7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Run C++ curve Tests
working-directory: ./icicle_v3/build/tests
if: needs.check-changed-files.outputs.cpp_cuda == 'true'
run: ctest --verbose
run: ctest

test-linux-field:
name: Test on Linux
Expand Down Expand Up @@ -123,4 +123,4 @@ jobs:
- name: Run C++ field Tests
working-directory: ./icicle_v3/build/tests
if: needs.check-changed-files.outputs.cpp_cuda == 'true'
run: ctest --verbose
run: ctest
9 changes: 6 additions & 3 deletions icicle_v3/tests/test_curve_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,17 @@ TEST_F(CurveApiTest, ecntt)
icicle_set_device(dev);

auto init_domain_config = default_ntt_init_domain_config();
ntt_init_domain(scalar_t::omega(logn), init_domain_config);
ICICLE_CHECK(ntt_init_domain(scalar_t::omega(logn), init_domain_config));

std::ostringstream oss;
oss << dev_type << " " << msg;

auto config = default_ntt_config<scalar_t>();

START_TIMER(NTT_sync)
for (int i = 0; i < iters; ++i)
ntt(input.get(), N, NTTDir::kForward, config, out);
END_TIMER(NTT_sync, msg, measure);
ICICLE_CHECK(ntt(input.get(), N, NTTDir::kForward, config, out));
END_TIMER(NTT_sync, oss.str().c_str(), measure);

ntt_release_domain<scalar_t>();
};
Expand Down

0 comments on commit b363be7

Please sign in to comment.