Skip to content

Commit

Permalink
added check for doubles
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyfe1 committed Sep 30, 2024
1 parent b897436 commit 21dd603
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit_tests/rng/device/moments/moments.cpp
Original file line number Diff line number Diff line change
@@ -110,6 +110,8 @@ TEST_P(Philox4x32x10UniformStdDeviceMomentsTests, UnsignedIntegerPrecision) {
}

TEST_P(Philox4x32x10UniformStdDeviceMomentsTests, Integer64Precision) {
CHECK_DOUBLE_ON_DEVICE(GetParam());

rng_device_test<
moments_test<oneapi::mkl::rng::device::philox4x32x10<1>,
oneapi::mkl::rng::device::uniform<
@@ -131,6 +133,8 @@ TEST_P(Philox4x32x10UniformStdDeviceMomentsTests, Integer64Precision) {
}

TEST_P(Philox4x32x10UniformStdDeviceMomentsTests, UnsignedInteger64Precision) {
CHECK_DOUBLE_ON_DEVICE(GetParam());

rng_device_test<
moments_test<oneapi::mkl::rng::device::philox4x32x10<1>,
oneapi::mkl::rng::device::uniform<

0 comments on commit 21dd603

Please sign in to comment.