diff --git a/lib/kernels/test/src/test_managed_ff_stream.cc b/lib/kernels/test/src/test_managed_ff_stream.cc index 1dc40f0a92..1dedb0c41d 100644 --- a/lib/kernels/test/src/test_managed_ff_stream.cc +++ b/lib/kernels/test/src/test_managed_ff_stream.cc @@ -5,11 +5,11 @@ using namespace ::FlexFlow; TEST_SUITE(FF_TEST_SUITE) { TEST_CASE("Test Managed FF Stream") { - ManagedFFStream base_stream{}; + ManagedFFStream base_stream{}; SUBCASE("Test ManagedFFStream Move Constructor") { ffStream_t const *base_stream_ptr = &base_stream.raw_stream(); - + ManagedFFStream new_stream(std::move(base_stream)); CHECK(&base_stream.raw_stream() == nullptr); @@ -21,7 +21,7 @@ TEST_SUITE(FF_TEST_SUITE) { ManagedFFStream new_stream{}; new_stream = std::move(base_stream); - + CHECK(&base_stream.raw_stream() == nullptr); CHECK(&new_stream.raw_stream() == base_stream_ptr); } diff --git a/lib/kernels/test/src/test_managed_per_device_ff_handle.cc b/lib/kernels/test/src/test_managed_per_device_ff_handle.cc index d99d375a7c..e85cfd61c7 100644 --- a/lib/kernels/test/src/test_managed_per_device_ff_handle.cc +++ b/lib/kernels/test/src/test_managed_per_device_ff_handle.cc @@ -5,7 +5,7 @@ using namespace ::FlexFlow; TEST_SUITE(FF_TEST_SUITE) { TEST_CASE("Test Managed Per Device FF Handle") { - ManagedPerDeviceFFHandle base_handle{}; + ManagedPerDeviceFFHandle base_handle{}; SUBCASE("Test ManagedPerDeviceFFHandle Constructor") { CHECK(base_handle.raw_handle().workSpaceSize == 1024 * 1024); @@ -14,7 +14,7 @@ TEST_SUITE(FF_TEST_SUITE) { SUBCASE("Test ManagedPerDeviceFFHandle Move Constructor") { PerDeviceFFHandle const *base_handle_ptr = &base_handle.raw_handle(); - + ManagedPerDeviceFFHandle new_handle(std::move(base_handle)); CHECK(&base_handle.raw_handle() == nullptr); @@ -26,7 +26,7 @@ TEST_SUITE(FF_TEST_SUITE) { ManagedPerDeviceFFHandle new_handle{}; new_handle = std::move(base_handle); - + CHECK(&base_handle.raw_handle() == nullptr); CHECK(&new_handle.raw_handle() == base_handle_ptr); }