#[repr(transparent)]pub struct cudaSharedMemoryMode(pub c_uint);Expand description
Shared memory related attributes for use with cuLaunchKernelEx.
Tuple Fields§
§0: c_uintImplementations§
The default to use for allowing non-portable shared memory size on launch - uses current function attributes for cudaFuncAttribute::CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES.
Specifies that the shared memory size requested must be a portable size within cudaDeviceAttr::CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK.
Specifies that the shared memory size requested may be a non-portable size up to cudaDeviceAttr::CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN.
Specifies that oversized shared memory configurations may be used (with the limitation of only 8kB L1 cache).
Specifies that oversized shared memory configurations may be used (with the limitation of only 8kB L1 cache), and prefer an oversized shared memory configuration.