Skip to content

Commit

Permalink
Merge branch 'branch-24.08' into bump-cccl
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeepyjack authored Jun 13, 2024
2 parents 3d25010 + b66b269 commit a4fa124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/test/core/memory_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ TEST(MemoryTypeFromPointer, Host)
auto ptr1 = static_cast<void*>(nullptr);
cudaMallocHost(&ptr1, 1);
EXPECT_EQ(memory_type_from_pointer(ptr1), memory_type::host);
cudaFree(ptr1);
cudaFreeHost(ptr1);
auto ptr2 = static_cast<void*>(nullptr);
EXPECT_EQ(memory_type_from_pointer(ptr2), memory_type::host);
}
Expand Down

0 comments on commit a4fa124

Please sign in to comment.