Class CudaDriverKernelLaunch
Owns one asynchronous CUDA Driver kernel launch and its participating owners. 拥有一次异步 CUDA Driver kernel launch 及其参与的所有 owner。
public sealed class CudaDriverKernelLaunch : IDisposable
- Inheritance
-
CudaDriverKernelLaunch
- Implements
- Inherited Members
Properties
ArgumentCount
Gets the number of packed arguments. 获取打包后的参数数量。
public int ArgumentCount { get; }
Property Value
Configuration
Gets the copied launch configuration. 获取复制后的 launch configuration。
public CudaKernelLaunchConfiguration Configuration { get; }
Property Value
IsCompleted
Gets whether the Driver completion event has finished. 获取 Driver completion event 是否完成。
public bool IsCompleted { get; }
Property Value
KernelName
Gets the copied function name. 获取复制后的 function name。
public string KernelName { get; }
Property Value
Methods
Dispose()
Synchronizes pending work, destroys the Driver launch owner, and releases all leases. 同步未完成工作、销毁 Driver launch owner 并释放全部租约。
public void Dispose()
~CudaDriverKernelLaunch()
Releases the Driver completion owner and its SafeHandle leases. 释放 Driver completion owner 及其 SafeHandle 租约。
protected ~CudaDriverKernelLaunch()
Synchronize()
Waits for Driver kernel completion and surfaces asynchronous errors. 等待 Driver kernel 完成并报告异步错误。
public void Synchronize()