Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modernize samples code #3175

Open
paroj opened this issue Jul 27, 2024 · 0 comments
Open

modernize samples code #3175

paroj opened this issue Jul 27, 2024 · 0 comments
Labels
🧭 Samples good first issue help needed We cannot resolve this by ourselves

Comments

@paroj
Copy link
Member

paroj commented Jul 27, 2024

the samples code could be improved by

  • using range based for loops
  • using RGN_DEFAULT instead of DEFAULT_RESOURCE_GROUP_NAME
  • using HBU_CPU_TO_GPU instead of HBU_DYNAMIC_WRITE_ONLY
  • using std::vector or std::unique_ptr instead of raw new & delete
@paroj paroj added 🧭 Samples good first issue help needed We cannot resolve this by ourselves labels Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧭 Samples good first issue help needed We cannot resolve this by ourselves
Projects
None yet
Development

No branches or pull requests

1 participant