Skip to content

Commit

Permalink
Fix mismatched parentheses (#903)
Browse files Browse the repository at this point in the history
  • Loading branch information
eirrgang authored Aug 30, 2024
1 parent 7d667b2 commit bf2df8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sphinx/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ you will want to access data:
auto& rm = umpire::ResourceManager::getInstance();
umpire::Allocator allocator = rm.getAllocator("HOST");
float* my_data = static_cast<float*>(allocator.allocate(100*sizeof(float));
float* my_data = static_cast<float*>(allocator.allocate(100*sizeof(float)));
This code grabs the default allocator for the host memory, and uses it to
Expand Down

0 comments on commit bf2df8d

Please sign in to comment.