You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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));
The text was updated successfully, but these errors were encountered:
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));
The text was updated successfully, but these errors were encountered: