hello world example update
Open
- Dominant language
- C++
- Stars
- 154
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Description
Can you please update the hello world example if destroying surfaces, kernels, tasks, thread spaces, and queues are needed in the hello world example ? The following function seems to imply that users can just destroy a device, and others will be destroyed implicitly. I hope that a hello world example serves as a gold example for beginners.
Thanks
// Destroys the CmDevice.
// Also destroys surfaces, kernels, tasks, thread spaces, and queues that
// were created using this device instance that have not explicitly been
// destroyed by calling the respective destroy functions.
cm_result_check(::DestroyCmDevice(p_cm_device));
Contributor guide
Assessment
This issue has not been assessed yet.