Table of Contents

Class CudaGraphKernelNodeParametersSnapshot

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Captures pointer-free scalar parameters from a CUDA graph kernel node. 捕获 CUDA graph kernel 节点中不含指针的标量参数。

public sealed class CudaGraphKernelNodeParametersSnapshot
Inheritance
CudaGraphKernelNodeParametersSnapshot
Inherited Members

Properties

BlockX

Gets the block size along X. 获取 block 的 X 维大小。

public uint BlockX { get; }

Property Value

uint

BlockY

Gets the block size along Y. 获取 block 的 Y 维大小。

public uint BlockY { get; }

Property Value

uint

BlockZ

Gets the block size along Z. 获取 block 的 Z 维大小。

public uint BlockZ { get; }

Property Value

uint

GridX

Gets the grid size along X. 获取 grid 的 X 维大小。

public uint GridX { get; }

Property Value

uint

GridY

Gets the grid size along Y. 获取 grid 的 Y 维大小。

public uint GridY { get; }

Property Value

uint

GridZ

Gets the grid size along Z. 获取 grid 的 Z 维大小。

public uint GridZ { get; }

Property Value

uint

HasExtraParameters

Gets whether the native parameters contained an extra-argument array. 获取 native 参数是否包含额外参数数组。

public bool HasExtraParameters { get; }

Property Value

bool

HasFunction

Gets whether the native parameters contained a function. 获取 native 参数是否包含函数。

public bool HasFunction { get; }

Property Value

bool

HasKernelParameters

Gets whether the native parameters contained kernel arguments. 获取 native 参数是否包含 kernel 参数。

public bool HasKernelParameters { get; }

Property Value

bool

SharedMemoryBytes

Gets the dynamic shared-memory size in bytes. 获取动态 shared memory 的字节数。

public uint SharedMemoryBytes { get; }

Property Value

uint

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.