Table of Contents

Class CudaSurfaceObject

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Owns a CUDA surface object backed by a managed CUDA array owner. 拥有由托管 CUDA array owner 支撑的 CUDA surface object。

public sealed class CudaSurfaceObject : IDisposable
Inheritance
CudaSurfaceObject
Implements
Inherited Members

Constructors

CudaSurfaceObject(CudaArray)

Creates a CUDA surface object for an array owner. 为 array owner 创建 CUDA surface object。

public CudaSurfaceObject(CudaArray array)

Parameters

array CudaArray

Properties

OwnerArray

Gets the managed array owner retained for this surface. 获取此 surface 保留的托管 array owner。

public CudaArray OwnerArray { get; }

Property Value

CudaArray

Resource

Gets a pointer-free resource descriptor snapshot. 获取无指针的 resource descriptor 快照。

public CudaResourceDescriptorSnapshot Resource { get; }

Property Value

CudaResourceDescriptorSnapshot

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()