We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b22893 commit 641143cCopy full SHA for 641143c
libc/test/integration/startup/gpu/rpc_lane_test.cpp
@@ -25,8 +25,8 @@ static void test_add() {
25
cnt = reinterpret_cast<uint64_t *>(buffer->data)[0];
26
});
27
port.close();
28
- ASSERT_TRUE(cnt == gpu::get_lane_id() + 1 && "Incorrect sum");
29
- ASSERT_TRUE(gpu::get_thread_id() == gpu::get_lane_id() && "Not in same lane");
+ EXPECT_EQ(cnt, gpu::get_lane_id() + 1);
+ EXPECT_EQ(gpu::get_thread_id(), gpu::get_lane_id());
30
}
31
32
TEST_MAIN(int argc, char **argv, char **envp) {
0 commit comments