Enum CudaKernelAttribute
Selects a CUDA kernel attribute that cudaKernelSetAttributeForDevice permits callers to modify. 选择 cudaKernelSetAttributeForDevice 允许调用方修改的 CUDA kernel 属性。
public enum CudaKernelAttribute
Fields
ClusterSchedulingPolicyPreference = 15Sets the cluster scheduling-policy preference. 设置 cluster scheduling policy 倾向。
Sets the maximum dynamic shared-memory size in bytes. 设置最大动态 shared memory 字节数。
NonPortableClusterSizeAllowed = 14Controls whether non-portable cluster sizes are allowed. 控制是否允许 non-portable cluster size。
Sets the preferred shared-memory carveout percentage. 设置首选 shared-memory carveout 百分比。
RequiredClusterDepth = 13Sets the required cluster depth. 设置必需的 cluster depth。
RequiredClusterHeight = 12Sets the required cluster height. 设置必需的 cluster height。
RequiredClusterWidth = 11Sets the required cluster width. 设置必需的 cluster width。