From 22f891d56c9af492a7e54295ab9c5175a92534a5 Mon Sep 17 00:00:00 2001 From: Sichao He <1310722434@qq.com> Date: Wed, 14 Aug 2024 11:28:53 +0800 Subject: [PATCH] Update c_api_interop_test.cpp --- c_api/tests/c_api_interop_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c_api/tests/c_api_interop_test.cpp b/c_api/tests/c_api_interop_test.cpp index fdf700911f328..16bae248dbb90 100644 --- a/c_api/tests/c_api_interop_test.cpp +++ b/c_api/tests/c_api_interop_test.cpp @@ -165,7 +165,8 @@ TEST_F(CapiTest, TestCUDAImport) { TEST_F(CapiTest, TestCUDAStreamSet) { void *temp_stream = nullptr; - ti_get_cuda_stream(&temp_stream) EXPECT_EQ(temp_stream, nullptr); + ti_get_cuda_stream(&temp_stream); + EXPECT_EQ(temp_stream, nullptr); void *stream1 = reinterpret_cast(0x12345678); void *stream2 = reinterpret_cast(0x87654321);