destroyDeviceObject — stdgpu Latest documentation (original) (raw)
| allocator_type createDeviceObject createDeviceObject destroyDeviceObject destroyDeviceObject empty get_allocator mutex_array operator[] operator[] size valid valid | ◆ destroyDeviceObject() [1/2] template<typename Block = mutex_default_type, typename Allocator = safe_device_allocator> template<typename ExecutionPolicy , STDGPU_DETAIL_OVERLOAD_IF(is_execution_policy_v< remove_cvref_t< ExecutionPolicy > >) > static void stdgpu::mutex_array< Block, Allocator >::destroyDeviceObject ( ExecutionPolicy && policy, mutex_array< Block, Allocator > & device_object ) static Destroys the given object of this class on the GPU (device) Template Parameters ExecutionPolicyThe type of the execution policy Parameters [in]policyThe execution policy, e.g. host or device, corresponding to the allocator [in]device_objectThe object allocated on the GPU (device) |
|---|