Skip to content

Commit

Permalink
update the name to uninitialized_buffer::get_resource
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler committed Sep 18, 2024
1 parent 1adbfd7 commit abe9a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cudax/test/memory_resource/shared_resource.cu
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ TEMPLATE_TEST_CASE_METHOD(test_fixture, "shared_resource", "[container][resource
{
// accounting for new storage
bytes(1337 * sizeof(int));
cudax::uninitialized_buffer<int> other_buffer{buffer.resource(), 1337};
cudax::uninitialized_buffer<int> other_buffer{buffer.get_resource(), 1337};
++expected.allocate_count;
CHECK(this->counts == expected);
}
Expand Down

0 comments on commit abe9a9a

Please sign in to comment.