Sarek_cuda.Cuda_sharedShared kargs extension for all CUDA backends (PTX and C). Defined once so wrap/unwrap interoperates across both plugins.
type cuda_intrinsic = {intr_name : string;intr_codegen : string;intr_convergence : Spoc_framework.Framework_sig.convergence;}CUDA-specific intrinsic implementation
Shared intrinsic registry — both CUDA/PTX and CUDA/C expose the same set
val bind_args :
Spoc_framework.Framework_sig.kargs ->
Cuda_plugin_base.Cuda.Kernel.args ->
Spoc_framework.Framework_sig.run_source_arg list ->
unitTell Spoc_framework.Shared_memory_query which CUDA devices share host memory (Tegra, Jetson). A failed query raises, which the capability reads as unknown (refused, never cached).